Changeset 66154 in vbox for trunk/src/VBox/Devices/PC/BIOS
- Timestamp:
- Mar 17, 2017 11:15:51 AM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 114060
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.