Changeset 13382 in vbox for trunk/src/recompiler_new/target-i386/cpu.h
- Timestamp:
- Oct 19, 2008 8:45:30 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 38111
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler_new/target-i386/cpu.h
r13337 r13382 569 569 union { 570 570 #ifdef USE_X86LDOUBLE 571 #ifndef VBOX 571 572 CPU86_LDouble d __attribute__((aligned(16))); 573 #else 574 ALIGNED_MEMBER(CPU86_LDouble, d, 16); 575 #endif 572 576 #else 573 577 CPU86_LDouble d; … … 729 733 union { 730 734 #ifdef USE_X86LDOUBLE 735 #ifndef VBOX 731 736 CPU86_LDouble d __attribute__((aligned(16))); 737 #else 738 ALIGNED_MEMBER(CPU86_LDouble, d, 16); 739 #endif 732 740 #else 733 741 CPU86_LDouble d; … … 805 813 /* this function must always be used to load data in the segment 806 814 cache: it synchronizes the hflags with the segment cache values */ 815 #ifndef VBOX 807 816 static inline void cpu_x86_load_seg_cache(CPUX86State *env, 808 817 int seg_reg, unsigned int selector, … … 810 819 unsigned int limit, 811 820 unsigned int flags) 821 #else 822 DECLINLINE(void) cpu_x86_load_seg_cache(CPUX86State *env, 823 int seg_reg, unsigned int selector, 824 target_ulong base, 825 unsigned int limit, 826 unsigned int flags) 827 828 #endif 812 829 { 813 830 SegmentCache *sc; … … 866 883 867 884 /* wrapper, just in case memory mappings must be changed */ 885 #ifndef VBOX 868 886 static inline void cpu_x86_set_cpl(CPUX86State *s, int cpl) 887 #else 888 DECLINLINE(void) cpu_x86_set_cpl(CPUX86State *s, int cpl) 889 #endif 869 890 { 870 891 #if HF_CPL_MASK == 3 … … 956 977 #define MMU_MODE1_SUFFIX _user 957 978 #define MMU_USER_IDX 1 979 #ifndef VBOX 958 980 static inline int cpu_mmu_index (CPUState *env) 981 #else 982 DECLINLINE(int) cpu_mmu_index (CPUState *env) 983 #endif 959 984 { 960 985 return (env->hflags & HF_CPL_MASK) == 3 ? 1 : 0;
Note:
See TracChangeset
for help on using the changeset viewer.