vbox的更動 36140 路徑 trunk/src/recompiler/softmmu_exec.h
- 時間撮記:
- 2011-3-3 下午01:48:16 (14 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/recompiler/softmmu_exec.h
r17040 r36140 1 1 /* Common softmmu definitions and inline routines. */ 2 2 3 #define ldul_user ldl_user 4 #define ldul_kernel ldl_kernel 3 #define ldul_user ldl_user 4 #define ldul_kernel ldl_kernel 5 #define ldul_hypv ldl_hypv 6 #define ldul_executive ldl_executive 7 #define ldul_supervisor ldl_supervisor 8 9 #include "softmmu_defs.h" 5 10 6 11 #define ACCESS_TYPE 0 7 #define MEMSUFFIX _kernel12 #define MEMSUFFIX MMU_MODE0_SUFFIX 8 13 #define DATA_SIZE 1 9 14 #include "softmmu_header.h" … … 21 26 22 27 #define ACCESS_TYPE 1 23 #define MEMSUFFIX _user28 #define MEMSUFFIX MMU_MODE1_SUFFIX 24 29 #define DATA_SIZE 1 25 30 #include "softmmu_header.h" … … 36 41 #undef MEMSUFFIX 37 42 43 #if (NB_MMU_MODES >= 3) 44 45 #define ACCESS_TYPE 2 46 #define MEMSUFFIX MMU_MODE2_SUFFIX 47 #define DATA_SIZE 1 48 #include "softmmu_header.h" 49 50 #define DATA_SIZE 2 51 #include "softmmu_header.h" 52 53 #define DATA_SIZE 4 54 #include "softmmu_header.h" 55 56 #define DATA_SIZE 8 57 #include "softmmu_header.h" 58 #undef ACCESS_TYPE 59 #undef MEMSUFFIX 60 61 #if (NB_MMU_MODES >= 4) 62 63 #define ACCESS_TYPE 3 64 #define MEMSUFFIX MMU_MODE3_SUFFIX 65 #define DATA_SIZE 1 66 #include "softmmu_header.h" 67 68 #define DATA_SIZE 2 69 #include "softmmu_header.h" 70 71 #define DATA_SIZE 4 72 #include "softmmu_header.h" 73 74 #define DATA_SIZE 8 75 #include "softmmu_header.h" 76 #undef ACCESS_TYPE 77 #undef MEMSUFFIX 78 79 #if (NB_MMU_MODES > 4) 80 #error "NB_MMU_MODES > 4 is not supported for now" 81 #endif /* (NB_MMU_MODES > 4) */ 82 #endif /* (NB_MMU_MODES == 4) */ 83 #endif /* (NB_MMU_MODES >= 3) */ 84 38 85 /* these access are slower, they must be as rare as possible */ 39 #define ACCESS_TYPE 286 #define ACCESS_TYPE (NB_MMU_MODES) 40 87 #define MEMSUFFIX _data 41 88 #define DATA_SIZE 1
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器