Changeset 60595 in vbox for trunk/src/VBox/ValidationKit/bootsectors/bs3kit
- Timestamp:
- Apr 20, 2016 11:39:40 AM (9 years ago)
- Location:
- trunk/src/VBox/ValidationKit/bootsectors/bs3kit
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-system-data.asm
r60557 r60595 390 390 391 391 ; 392 ; 1000h - the real mode segment number for BS3TEXT16. DPL=0 . BASE=0x10000h392 ; 1000h - the real mode segment number for BS3TEXT16. DPL=0, BASE=0x10000h, conforming, exec, read. 393 393 ; 394 394 BS3GdtAssertOffset 01000h 395 395 BS3_GLOBAL_DATA Bs3Gdte_CODE16, 8h 396 dw 0ffffh, 00000h, 09 b01h, 00000h396 dw 0ffffh, 00000h, 09f01h, 00000h 397 397 398 398 ; -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-wc16-I4D.asm
r58809 r60595 63 63 shr edx, 10h 64 64 65 %ifdef ASM_MODEL_FAR_CODE 66 retf 67 %else 65 68 ret 69 %endif 66 70 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-wc16-I8DQ.asm
r58809 r60595 44 44 push ss 45 45 pop es 46 %ifdef ASM_MODEL_FAR_CODE 47 push cs 48 %endif 46 49 call $_?I8DQE 47 50 pop es 51 %ifdef ASM_MODEL_FAR_CODE 52 retf 53 %else 48 54 ret 55 %endif 49 56 50 57 ;; … … 97 104 pop es 98 105 pop ds 106 %ifdef ASM_MODEL_FAR_CODE 107 retf 108 %else 99 109 ret 110 %endif 100 111 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-wc16-I8DR.asm
r58809 r60595 44 44 push ss 45 45 pop es 46 %ifdef ASM_MODEL_FAR_CODE 47 push cs 48 %endif 46 49 call $_?I8DRE 47 50 pop es 51 %ifdef ASM_MODEL_FAR_CODE 52 retf 53 %else 48 54 ret 55 %endif 49 56 50 57 ;; … … 97 104 pop es 98 105 pop ds 106 %ifdef ASM_MODEL_FAR_CODE 107 retf 108 %else 99 109 ret 110 %endif 100 111 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-wc16-I8RS.asm
r58809 r60595 61 61 .return: 62 62 pop si 63 %ifdef ASM_MODEL_FAR_CODE 64 retf 65 %else 63 66 ret 67 %endif 64 68 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-wc16-U4D.asm
r60485 r60595 103 103 104 104 %endif 105 %ifdef ASM_MODEL_FAR_CODE 106 retf 107 %else 105 108 ret 109 %endif 106 110 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-wc16-U8DQ.asm
r60485 r60595 44 44 push ss 45 45 pop es 46 %ifdef BS3_MODEL_FAR_CODE 47 push cs 48 %endif 46 49 call $_?U8DQE 47 50 pop es 51 %ifdef BS3_MODEL_FAR_CODE 52 retf 53 %else 48 54 ret 55 %endif 49 56 50 57 ;; … … 100 107 pop es 101 108 pop ds 109 %ifdef ASM_MODEL_FAR_CODE 110 retf 111 %else 102 112 ret 113 %endif 103 114 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-wc16-U8DR.asm
r60485 r60595 44 44 push ss 45 45 pop es 46 %ifdef ASM_MODEL_FAR_CODE 47 push cs 48 %endif 46 49 call $_?U8DRE 47 50 pop es 51 %ifdef ASM_MODEL_FAR_CODE 52 retf 53 %else 48 54 ret 55 %endif 49 56 50 57 ;; … … 100 107 pop es 101 108 pop ds 109 %ifdef ASM_MODEL_FAR_CODE 110 retf 111 %else 102 112 ret 113 %endif 103 114 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-wc16-U8LS.asm
r58809 r60595 63 63 .return: 64 64 pop si 65 %ifdef ASM_MODEL_FAR_CODE 66 retf 67 %else 65 68 ret 69 %endif 66 70 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-wc16-U8RS.asm
r58809 r60595 61 61 .return: 62 62 pop si 63 %ifdef ASM_MODEL_FAR_CODE 64 retf 65 %else 63 66 ret 67 %endif 64 68 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit.h
r60585 r60595 50 50 51 51 /** @def BS3_USE_ALT_16BIT_TEXT_SEG 52 * @addtogroup grp_bs3kit 52 53 * Combines the BS3_USE_RM_TEXT_SEG, BS3_USE_X0_TEXT_SEG, and 53 * BS3_USE_X1_TEXT_SEG indicators into a single one. */ 54 * BS3_USE_X1_TEXT_SEG indicators into a single one. 55 */ 54 56 #if defined(BS3_USE_RM_TEXT_SEG) || defined(BS3_USE_X0_TEXT_SEG) || defined(BS3_USE_X1_TEXT_SEG) 55 57 # define BS3_USE_ALT_16BIT_TEXT_SEG … … 57 59 # undef BS3_USE_ALT_16BIT_TEXT_SEG 58 60 #endif 61 62 /** @def BS3_MODEL_FAR_CODE 63 * @addtogroup grp_bs3kit 64 * Default compiler model indicates far code. 65 */ 66 #ifdef DOXYGEN_RUNNING 67 # define BS3_MODEL_FAR_CODE 68 #elif !defined(BS3_MODEL_FAR_CODE) && (defined(__LARGE__) || defined(__MEDIUM__) || defined(__HUGE__)) && ARCH_BITS == 16 69 # define BS3_MODEL_FAR_CODE 70 #endif 71 59 72 60 73 /* … … 64 77 * declarations before we can define it. Thus the duplciate effort.) 65 78 */ 66 #if ARCH_BITS != 16 || !defined(BS3_USE_ALT_16BIT_TEXT_SEG) 67 # define RT_MANGLER(a_Name) RT_CONCAT3(a_Name,_c,ARCH_BITS) 79 #if ARCH_BITS == 16 80 # undef RTCALL 81 # if defined(BS3_USE_ALT_16BIT_TEXT_SEG) 82 # define RTCALL __cdecl __far 83 # define RT_MANGLER(a_Name) RT_CONCAT(a_Name,_f16) 84 # else 85 # define RTCALL __cdecl __near 86 # define RT_MANGLER(a_Name) RT_CONCAT(a_Name,_c16) 87 # endif 68 88 #else 69 # define RT_MANGLER(a_Name) RT_CONCAT(a_Name,_f16) 70 # undef RTCALL 71 # define RTCALL __cdecl __far 89 # define RT_MANGLER(a_Name) RT_CONCAT3(a_Name,_c,ARCH_BITS) 72 90 #endif 73 91 #include <iprt/mangling.h>
Note:
See TracChangeset
for help on using the changeset viewer.