Changeset 66149 in vbox for trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-Shutdown.asm
- Timestamp:
- Mar 16, 2017 10:41:19 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-Shutdown.asm
r66145 r66149 26 26 27 27 %include "bs3kit-template-header.mac" 28 %include "VBox/bios.mac" 28 29 29 30 BS3_EXTERN_CMN Bs3Panic … … 31 32 BS3_PROC_BEGIN_CMN Bs3Shutdown, BS3_PBC_HYBRID_0_ARGS 32 33 cli 33 mov bl, 6434 mov dx, SHUTDOWN_PORT35 34 %ifdef TMPL_16BIT 36 35 mov ax, cs 37 36 mov ds, ax 38 37 %endif 38 mov bl, 64 39 mov dx, VBOX_BIOS_SHUTDOWN_PORT 40 mov ax, VBOX_BIOS_OLD_SHUTDOWN_PORT 39 41 .retry: 40 42 mov ecx, 8 41 43 mov esi, .s_szShutdown 42 44 rep outsb 45 xchg ax, dx ; alternate between the new (VBox) and old (Bochs) ports. 43 46 dec bl 44 47 jnz .retry
Note:
See TracChangeset
for help on using the changeset viewer.