Changeset 94908 in vbox
- Timestamp:
- May 7, 2022 7:25:46 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r94900 r94908 1899 1899 DEFS.x86 = RT_ARCH_X86 __X86__ 1900 1900 DEFS.amd64 = RT_ARCH_AMD64 __AMD64__ 1901 DEFS.arm64 = RT_ARCH_ARM64 1901 1902 DEFS.sparc32 = RT_ARCH_SPARC 1902 1903 DEFS.sparc64 = RT_ARCH_SPARC64 -
trunk/src/VBox/Runtime/common/misc/zero-alt.S
r93288 r94908 31 31 .section __TEXT,__const 32 32 # define NAME(a) _##a 33 #elif defined(ASM_FORMAT_ELF) && (defined(RT_ARCH_ SPARC) || defined(RT_ARCH_SPARC64))34 ! Putting it in the rodata segment/section for now. 33 #elif defined(ASM_FORMAT_ELF) && (defined(RT_ARCH_ARM64) || defined(RT_ARCH_SPARC) || defined(RT_ARCH_SPARC64)) 34 /* Putting it in the rodata segment/section for now. */ 35 35 .file "zero-alt.S" 36 36 .section ".rodata" 37 37 # define NAME(a) a 38 # define NEED_HIDDEN 38 39 #else 39 40 # error "PORT ME!" … … 43 44 .globl NAME(g_abRTZeroPage) 44 45 #ifdef ASM_FORMAT_ELF 45 # if defined(RT_ARCH_SPARC) || defined(RT_ARCH_SPARC64)46 # ifdef NEED_HIDDEN 46 47 .hidden NAME(g_abRTZeroPage) 47 48 # endif … … 56 57 .globl NAME(g_abRTZero4K) 57 58 #ifdef ASM_FORMAT_ELF 58 # if defined(RT_ARCH_SPARC) || defined(RT_ARCH_SPARC64)59 # ifdef NEED_HIDDEN 59 60 .hidden NAME(g_abRTZero4K) 60 61 # endif … … 65 66 .globl NAME(g_abRTZero8K) 66 67 #ifdef ASM_FORMAT_ELF 67 # if defined(RT_ARCH_SPARC) || defined(RT_ARCH_SPARC64)68 # ifdef NEED_HIDDEN 68 69 .hidden NAME(g_abRTZero8K) 69 70 # endif … … 74 75 .globl NAME(g_abRTZero16K) 75 76 #ifdef ASM_FORMAT_ELF 76 # if defined(RT_ARCH_SPARC) || defined(RT_ARCH_SPARC64)77 # ifdef NEED_HIDDEN 77 78 .hidden NAME(g_abRTZero16K) 78 79 # endif … … 83 84 .globl NAME(g_abRTZero32K) 84 85 #ifdef ASM_FORMAT_ELF 85 # if defined(RT_ARCH_SPARC) || defined(RT_ARCH_SPARC64)86 # ifdef NEED_HIDDEN 86 87 .hidden NAME(g_abRTZero32K) 87 88 # endif … … 92 93 .globl NAME(g_abRTZero64K) 93 94 #ifdef ASM_FORMAT_ELF 94 # if defined(RT_ARCH_SPARC) || defined(RT_ARCH_SPARC64)95 # ifdef NEED_HIDDEN 95 96 .hidden NAME(g_abRTZero64K) 96 97 # endif … … 102 103 #ifdef ASM_FORMAT_MACHO 103 104 .space 65536 104 #elif defined(ASM_FORMAT_ELF) && (defined(RT_ARCH_SPARC) || defined(RT_ARCH_SPARC64))105 #elif defined(ASM_FORMAT_ELF) 105 106 .skip 65536 106 107 #endif -
trunk/src/VBox/Runtime/r3/linux/fileaio-linux.cpp
r93115 r94908 113 113 #endif 114 114 /** How many bytes to transfer. */ 115 #if def RT_ARCH_X86115 #if ARCH_BITS == 32 116 116 uint32_t cbTransfer; 117 117 uint32_t u32Padding2; 118 #elif defined(RT_ARCH_AMD64)118 #elif ARCH_BITS == 64 119 119 uint64_t cbTransfer; 120 120 #else … … 139 139 /** The pvUser field from the iocb. */ 140 140 void *pvUser; 141 #if def RT_ARCH_X86141 #if ARCH_BITS == 32 142 142 uint32_t u32Padding0; 143 143 #endif 144 144 /** The LNXKAIOIOCB object this event is for. */ 145 145 PLNXKAIOIOCB *pIoCB; 146 #if def RT_ARCH_X86146 #if ARCH_BITS == 32 147 147 uint32_t u32Padding1; 148 148 #endif 149 149 /** The result code of the operation .*/ 150 #if def RT_ARCH_X86150 #if ARCH_BITS == 32 151 151 int32_t rc; 152 152 uint32_t u32Padding2; 153 #elif defined(RT_ARCH_AMD64)153 #elif ARCH_BITS == 64 154 154 int64_t rc; 155 155 #else … … 157 157 #endif 158 158 /** Secondary result code. */ 159 #if def RT_ARCH_X86159 #if ARCH_BITS == 32 160 160 int32_t rc2; 161 161 uint32_t u32Padding3; 162 #elif defined(RT_ARCH_AMD64)162 #elif ARCH_BITS == 64 163 163 int64_t rc2; 164 164 #else
Note:
See TracChangeset
for help on using the changeset viewer.