Beginnings of APM support: we now connect to the APM BIOS in 32 bit protected mode.

We don't do anything with it yet, though, so the BIOS will probably ignore us since
we are supposed to poll for events.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15900 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-01-10 22:54:36 +00:00
parent 5143d99bb0
commit ba61df6d0b
7 changed files with 151 additions and 6 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef KERNEL_APM_H
#define KERNEL_APM_H
#include <SupportDefs.h>
typedef struct apm_info {
uint16 version;
uint16 flags;
uint16 code32_segment_base;
uint32 code32_segment_offset;
uint16 code32_segment_length;
uint16 code16_segment_base;
uint16 code16_segment_length;
uint16 data_segment_base;
uint16 data_segment_length;
} apm_info;
#endif /* KERNEL_APM_H */