VirtualBox

Ignore:
Timestamp:
Jan 8, 2016 12:23:32 AM (9 years ago)
Author:
vboxsync
Message:

bs3kit: 32-bit tss, idt and system call. started on 64-bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-first-pe16.asm

    r59245 r59286  
    6666EXTERN Bs3InitMemory_rm
    6767BS3_EXTERN_CMN Bs3Shutdown
     68BS3_EXTERN_CMN Bs3Trap32Init
    6869
    69 extern _Bs3Printf_c32
    70 extern Bs3Printf_c64
     70extern _Bs3PrintChr_c32
     71extern Bs3PrintChr_c64
    7172
    7273BS3_BEGIN_TEXT16
     
    7576    ;
    7677    call    NAME(Bs3InitMemory_rm)      ; Initialize the memory (must be done from real mode).
     78    call    Bs3Trap32Init
    7779    call    NAME(Bs3SwitchToPE16_rm)
    7880
     
    9698    call    NAME(Bs3SwitchToPP32_rm)
    9799    BS3_SET_BITS 32
     100    push    '!'
     101    call    NAME(Bs3PrintChr_c32)
    98102    call    NAME(Bs3SwitchToRM_pp32)
    99103    BS3_SET_BITS 16
     
    101105    call    NAME(Bs3SwitchToPAE32_rm)
    102106    BS3_SET_BITS 32
     107    push    '~'
     108    call    NAME(Bs3PrintChr_c32)
    103109    call    NAME(Bs3SwitchToRM_pae32)
    104110    BS3_SET_BITS 16
     
    111117    call    NAME(Bs3SwitchToLM64_rm)
    112118    BS3_SET_BITS 64
     119;; todo:    push    '~'
     120;; todo:    call    Bs3PrintChr_c64
    113121    call    Bs3SwitchToRM_lm64
    114122    BS3_SET_BITS 16
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