VirtualBox

Changeset 83003 in vbox for trunk


Ignore:
Timestamp:
Feb 6, 2020 10:19:48 AM (5 years ago)
Author:
vboxsync
Message:

bs3kit: Added bs3-first-init-all-lm64.asm for writing tests with 64-bit test drivers.

Location:
trunk/src/VBox/ValidationKit/bootsectors/bs3kit
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/Makefile.kmk

    r82972 r83003  
    545545bs3kit-lm64_INSTTYPE = none
    546546bs3kit-lm64_DEFS     = TMPL_MODE=BS3_MODE_LM64
    547 bs3kit-lm64_SOURCES  = $(VBOX_BS3KIT_MODE_SOURCES)
     547bs3kit-lm64_SOURCES  = $(VBOX_BS3KIT_MODE_SOURCES) \
     548        bs3-first-init-all-lm64.asm
    548549
    549550
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-first-init-all-lm64.asm

    r82991 r83003  
    3333
    3434extern NAME(Bs3InitAll_rm)
    35 extern NAME(Bs3SwitchToPP32_rm)
     35extern NAME(Bs3SwitchToLM64_rm)
     36extern NAME(Main_lm64)
     37extern NAME(Bs3Shutdown_c64)
    3638
    3739;; Entry point.
     
    4951
    5052        ;
    51         ; Switch to 32-bit protected mode and call main.
     53        ; Switch to LM64 and call main.
    5254        ;
    53         call    NAME(Bs3SwitchToPP32_rm)
    54         BS3_SET_BITS 32
    55         call    _Main_pp32
    56 extern _Main_pp32
    57 BS3_EXTERN_CMN Bs3Shutdown
    58         call    Bs3Shutdown
     55        call    _Bs3SwitchToLM64_rm
     56        BITS 64
     57        call    NAME(Main_lm64)
    5958
     59        ; Try shutdown if it returns.
     60        call    NAME(Bs3Shutdown_c64)
     61
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette