Changeset 58785 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Nov 19, 2015 11:30:50 PM (9 years ago)
- Location:
- trunk/src/VBox/ValidationKit/bootsectors/bs3kit
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/Makefile.kmk
r58777 r58785 396 396 bs3kit-common-16_ASDEFS = RT_ASMDEFS_INC_FIRST_FILE 397 397 bs3kit-common-16_SOURCES = $(VBOX_BS3KIT_COMMON_SOURCES) \ 398 bs3-system-data.asm 398 bs3-system-data.asm \ 399 bs3-rm-InitMemory.c 399 400 400 401 # The 32-bit BS3Kit library. -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-first-rm.asm
r58694 r58785 44 44 section BS3TEXT16_END align=2 CLASS=BS3CODE16 PUBLIC USE16 45 45 %endif 46 47 BS3_GLOBAL_DATA Bs3Text16_Size, 2 48 dw BS3_DATA_NM(Bs3Text16_EndOfSegment) wrt BS3TEXT16 46 49 BS3_GLOBAL_DATA Bs3Text16_EndOfSegment, 0 47 50 … … 65 68 section BS3DATA16_END align=2 CLASS=FAR_DATA PUBLIC USE16 66 69 %endif 70 67 71 BS3_GLOBAL_DATA Bs3Data16_EndOfSegment, 0 68 72 … … 81 85 section BS3TEXT32_END align=1 CLASS=BS3CODE32 PUBLIC USE32 FLAT 82 86 %endif 87 BS3_GLOBAL_DATA Bs3Data16_Size, 4 88 dd BS3_DATA_NM(Bs3Data16_EndOfSegment) wrt BS3DATA16 83 89 BS3_GLOBAL_DATA Bs3Text32_EndOfSegment, 0 84 90 … … 115 121 section BS3DATA64_END align=16 CLASS=DATA PUBLIC USE32 FLAT 116 122 %endif 123 124 ALIGNDATA(16) 125 db 10,13,'eye-catcher: sizes ',10,13 126 BS3_GLOBAL_DATA Bs3Data16Thru64Text32And64_TotalSize, 4 127 dd BS3_DATA_NM(Bs3Data64_EndOfSegment) wrt BS3DATA16 128 BS3_GLOBAL_DATA Bs3TotalImageSize, 4 129 dd BS3_DATA_NM(Bs3Data64_EndOfSegment) wrt BS3TEXT16 117 130 BS3_GLOBAL_DATA Bs3Data64_EndOfSegment, 0 118 131 … … 140 153 db 10,13,'eye-catcher: BS3TEXT16',10,13 141 154 .after_eye_catcher: 142 mov ax, BS3SYSTEM16143 mov ds, ax144 lgdt [BS3_DATA_NM(Bs3Lgdt_Gdt)]145 mov ax, X86_CR0_PE146 lmsw ax147 cli148 hlt149 150 155 mov ax, BS3DATA16 151 156 mov es, ax -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-shutdown.c
r58714 r58785 11 11 BS3_DECL(void) Main_rm(void) 12 12 { 13 Bs3InitMemory_rm(); 14 13 15 Bs3TestInit("bs3-shutdown"); 14 16 17 Bs3Panic(); 15 18 Bs3Shutdown(); 16 19 return; -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit.h
r58777 r58785 596 596 597 597 598 /** @name Segment start and end markers, sizes. 599 * @{ */ 600 /** Start of the BS3TEXT16 segment. */ 601 extern uint8_t BS3_DATA_NM(Bs3Text16_StartOfSegment); 602 /** End of the BS3TEXT16 segment. */ 603 extern uint8_t BS3_DATA_NM(Bs3Text16_EndOfSegment); 604 /** The size of the BS3TEXT16 segment. */ 605 extern uint8_t BS3_DATA_NM(Bs3Text16_Size); 606 607 /** Start of the BS3SYSTEM16 segment. */ 608 extern uint8_t BS3_DATA_NM(Bs3System16_StartOfSegment); 609 /** End of the BS3SYSTEM16 segment. */ 610 extern uint8_t BS3_DATA_NM(Bs3System16_EndOfSegment); 611 612 /** Start of the BS3DATA16 segment. */ 613 extern uint8_t BS3_DATA_NM(Bs3Data16_StartOfSegment); 614 /** End of the BS3DATA16 segment. */ 615 extern uint8_t BS3_DATA_NM(Bs3Data16_EndOfSegment); 616 617 /** Start of the BS3TEXT32 segment. */ 618 extern uint8_t BS3_DATA_NM(Bs3Text32_StartOfSegment); 619 /** Start of the BS3TEXT32 segment. */ 620 extern uint8_t BS3_DATA_NM(Bs3Text32_EndOfSegment); 621 622 /** Start of the BS3DATA32 segment. */ 623 extern uint8_t BS3_DATA_NM(Bs3Data32_StartOfSegment); 624 /** Start of the BS3DATA32 segment. */ 625 extern uint8_t BS3_DATA_NM(Bs3Data32_EndOfSegment); 626 627 /** Start of the BS3TEXT64 segment. */ 628 extern uint8_t BS3_DATA_NM(Bs3Text64_StartOfSegment); 629 /** Start of the BS3TEXT64 segment. */ 630 extern uint8_t BS3_DATA_NM(Bs3Text64_EndOfSegment); 631 632 /** Start of the BS3DATA64 segment. */ 633 extern uint8_t BS3_DATA_NM(Bs3Data64_StartOfSegment); 634 /** Start of the BS3DATA64 segment. */ 635 extern uint8_t BS3_DATA_NM(Bs3Data64_EndOfSegment); 636 637 /** The size of the Data16, Text32, Text64, Data32 and Data64 blob. */ 638 extern uint8_t BS3_DATA_NM(Bs3Data16Thru64Text32And64_TotalSize); 639 /** The total image size (from Text16 thu Data64). */ 640 extern uint8_t BS3_DATA_NM(Bs3TotalImageSize); 641 /** @} */ 642 643 598 644 #ifdef __WATCOMC__ 599 645 /** … … 1234 1280 1235 1281 1282 /** 1283 * Initializes the REAL and TILED memory pools. 1284 */ 1285 BS3_DECL(void) Bs3InitMemory_rm(void); 1286 1236 1287 1237 1288 /** @defgroup grp_bs3kit_mode Mode Specific Functions and Data
Note:
See TracChangeset
for help on using the changeset viewer.