Changeset 66154 in vbox
- Timestamp:
- Mar 17, 2017 11:15:51 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
include/VBox/bios.h (modified) (1 diff)
-
src/VBox/Devices/PC/BIOS/apm.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/bios.h
r66149 r66154 29 29 #define ___VBox_bios_h 30 30 31 #include <VBox/cdefs.h>32 33 31 /** The BIOS shutdown port. 34 32 * You write "Shutdown" byte by byte to shutdown the VM. -
trunk/src/VBox/Devices/PC/BIOS/apm.c
r66130 r66154 20 20 #include "biosint.h" 21 21 #include "inlines.h" 22 #include "VBox/bios.h" 22 23 23 24 #if DEBUG_APM … … 77 78 }; 78 79 79 #define APM_PORT 0x040f /* Relocated Bochs power control port, original value of 0x9800 causes potential trouble with PCI resource allocation. */80 81 80 /// @todo merge with system.c 82 81 #define AX r.gr.u.r16.ax … … 196 195 switch (CX) { 197 196 case APM_PS_STANDBY: 198 apm_out_str("Standby", APM_PORT);197 apm_out_str("Standby", VBOX_BIOS_SHUTDOWN_PORT); 199 198 break; 200 199 case APM_PS_SUSPEND: 201 apm_out_str("Suspend", APM_PORT);200 apm_out_str("Suspend", VBOX_BIOS_SHUTDOWN_PORT); 202 201 break; 203 202 case APM_PS_OFF: 204 apm_out_str("Shutdown", APM_PORT); /* Should not return. */203 apm_out_str("Shutdown", VBOX_BIOS_SHUTDOWN_PORT); /* Should not return. */ 205 204 break; 206 205 default:
Note:
See TracChangeset
for help on using the changeset viewer.

