Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62918
b: refs/heads/master
c: 4bf3b0b
h: refs/heads/master
v: v3
  • Loading branch information
H. Peter Anvin committed Jul 25, 2007
1 parent a86fa2f commit f5b41f2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 238b706da1c6ebacc55986ac8668f3ede4621f2c
refs/heads/master: 4bf3b0bc3e98f77de88b336fd8d673649601b557
20 changes: 11 additions & 9 deletions trunk/include/linux/apm_bios.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,22 @@ typedef unsigned short apm_eventinfo_t;

#ifdef __KERNEL__

#include <linux/types.h>

#define APM_CS (GDT_ENTRY_APMBIOS_BASE * 8)
#define APM_CS_16 (APM_CS + 8)
#define APM_DS (APM_CS_16 + 8)

struct apm_bios_info {
unsigned short version;
unsigned short cseg;
unsigned long offset;
unsigned short cseg_16;
unsigned short dseg;
unsigned short flags;
unsigned short cseg_len;
unsigned short cseg_16_len;
unsigned short dseg_len;
u16 version;
u16 cseg;
u32 offset;
u16 cseg_16;
u16 dseg;
u16 flags;
u16 cseg_len;
u16 cseg_16_len;
u16 dseg_len;
};

/* Results of APM Installation Check */
Expand Down

0 comments on commit f5b41f2

Please sign in to comment.