Changeset 61533 in vbox for trunk/src/VBox
- Timestamp:
- Jun 7, 2016 11:59:56 AM (9 years ago)
- Location:
- trunk/src/VBox/ValidationKit/bootsectors/bs3kit
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/Makefile.kmk
r61389 r61533 337 337 bs3kit-pe32_INSTTYPE = none 338 338 bs3kit-pe32_DEFS = TMPL_MODE=BS3_MODE_PE32 339 bs3kit-pe32_SOURCES = $(VBOX_BS3KIT_MODE_SOURCES) 339 bs3kit-pe32_SOURCES = $(VBOX_BS3KIT_MODE_SOURCES) \ 340 bs3-first-init-all-pe32.asm 340 341 341 342 # The 16-bit BS3Kit library for 32-bit protected kernel+tss. -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-first-init-all-pe32.asm
r61523 r61533 1 1 ; $Id$ 2 2 ;; @file 3 ; BS3Kit - First Object, calling real-mode main().3 ; BS3Kit - First Object, calling 32-bit protected mode main() after full init. 4 4 ; 5 5 6 6 ; 7 ; Copyright (C) 2007-201 5Oracle Corporation7 ; Copyright (C) 2007-2016 Oracle Corporation 8 8 ; 9 9 ; This file is part of VirtualBox Open Source Edition (OSE), as … … 32 32 %include "bs3-first-common.mac" 33 33 34 extern NAME(Bs3InitAll_rm) 35 extern NAME(Bs3SwitchToPE32_rm) 36 34 37 35 38 EXTERN Main_rm 36 BS3_EXTERN_CMN Bs3Shutdown37 39 push word 0 ; zero return address. 38 40 push word 0 ; zero caller BP … … 40 42 41 43 ; 42 ; Nothing to init here, just call main and shutdown if it returns.44 ; Init all while we're in real mode. 43 45 ; 44 46 mov ax, BS3_SEL_DATA16 45 47 mov es, ax 46 48 mov ds, ax 47 call NAME(Main_rm) 49 call NAME(Bs3InitAll_rm) 50 51 ; 52 ; Switch to 32-bit protected mode and call main. 53 ; 54 call NAME(Bs3SwitchToPE32_rm) 55 BS3_SET_BITS 32 56 call _Main_pe32 57 extern _Main_pe32 58 BS3_EXTERN_CMN Bs3Shutdown 48 59 call Bs3Shutdown 49 60
Note:
See TracChangeset
for help on using the changeset viewer.