Changeset 5690 in vbox for trunk/include/iprt
- Timestamp:
- Nov 11, 2007 5:38:03 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/asmdefs.mac
r5605 r5690 138 138 ;; 139 139 ; Begins 16-bit data 140 141 142 140 %macro BEGINDATA16 0 141 segment DATA16 142 %endmacro 143 143 144 144 ;; 145 145 ; Begins 16-bit init data 146 147 148 146 %macro BEGINDATA16INIT 0 147 segment DATA16_INIT 148 %endmacro 149 149 150 150 segment CODE16 public CLASS=FAR_CODE align=16 use16 … … 154 154 ;; 155 155 ; Begins 16-bit code 156 157 158 156 %macro BEGINCODE16 0 157 segment CODE16 158 %endmacro 159 159 160 160 ;; 161 161 ; Begins 16-bit init code 162 163 164 162 %macro BEGINCODE16INIT 0 163 segment CODE16_INIT 164 %endmacro 165 165 166 166 %endif … … 195 195 %endif 196 196 197 ;; 198 ; Begins constant (read-only) data 199 ; 200 ; @remarks This is mapped to the CODE section/segment when there isn't 201 ; any dedicated const section/segment. (There is code that 202 ; assumes this, so don't try change it.) 203 %ifdef ASM_FORMAT_OMF 204 %macro BEGINCONST 0 205 segment TEXT32 206 %endmacro 207 %else 208 %macro BEGINCONST 0 209 %ifdef ASM_FORMAT_MACHO ;; @todo check the other guys too. 210 [section .rodata] 211 %else 212 [section .text] 213 %endif 214 %endmacro 215 %endif 197 216 198 217 ;;
Note:
See TracChangeset
for help on using the changeset viewer.