?? vm_types_linux32.h
字號:
/* ///////////////////////////////////////////////////////////////////////////////// INTEL CORPORATION PROPRIETARY INFORMATION// This software is supplied under the terms of a license agreement or// nondisclosure agreement with Intel Corporation and may not be copied// or disclosed except in accordance with the terms of that agreement.// Copyright(c) 2003 Intel Corporation. All Rights Reserved.//// Cross-architecture support tool. // Linux types header. */#ifdef LINUX32#ifdef __cplusplusextern "C" {#endiftypedef unsigned long vm_var32;typedef unsigned long long vm_var64;typedef char vm_char;#define VM_ALIGN_DECL(X,Y) Y __attribute__ ((aligned(X)))#include <pthread.h>#include <sys/types.h>#include <semaphore.h>/* vm_thread.h */typedef struct { pthread_t handle; int is_valid;} vm_thread;/* vm_event.h */typedef struct { pthread_cond_t cond; pthread_mutex_t mutex; int manual; int state;} vm_event;/* vm_mmap.h */typedef struct { int fd; void *address; size_t sizet;} vm_mmap;/* vm_mutex.h */typedef struct { pthread_mutex_t handle; int is_valid;} vm_mutex;/* vm_semaphore.h */typedef struct { pthread_cond_t cond; pthread_mutex_t mutex; int count;} vm_semaphore;#ifdef __cplusplus};#endif#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -