diff options
author | cl349@freefall.cl.cam.ac.uk <cl349@freefall.cl.cam.ac.uk> | 2004-10-25 17:24:26 +0000 |
---|---|---|
committer | cl349@freefall.cl.cam.ac.uk <cl349@freefall.cl.cam.ac.uk> | 2004-10-25 17:24:26 +0000 |
commit | 4535adf5137f85f40d08cbba560eec484d7049ee (patch) | |
tree | e82d1aec92e2a3ef34810c29f4c69c4b187cff96 /linux-2.6.9-xen-sparse | |
parent | 45ee46cd82dc5bcd0a42835e2d68ab09f3e99279 (diff) | |
download | xen-4535adf5137f85f40d08cbba560eec484d7049ee.tar.gz xen-4535adf5137f85f40d08cbba560eec484d7049ee.tar.bz2 xen-4535adf5137f85f40d08cbba560eec484d7049ee.zip |
bitkeeper revision 1.1159.1.273 (417d36caN439v0H29iR_yjTvAOKJ1A)
Update to Linux 2.6.9.
Diffstat (limited to 'linux-2.6.9-xen-sparse')
-rw-r--r-- | linux-2.6.9-xen-sparse/include/asm-xen/asm-i386/mach-xen/bios_ebda.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/linux-2.6.9-xen-sparse/include/asm-xen/asm-i386/mach-xen/bios_ebda.h b/linux-2.6.9-xen-sparse/include/asm-xen/asm-i386/mach-xen/bios_ebda.h new file mode 100644 index 0000000000..9cbd9a668a --- /dev/null +++ b/linux-2.6.9-xen-sparse/include/asm-xen/asm-i386/mach-xen/bios_ebda.h @@ -0,0 +1,15 @@ +#ifndef _MACH_BIOS_EBDA_H +#define _MACH_BIOS_EBDA_H + +/* + * there is a real-mode segmented pointer pointing to the + * 4K EBDA area at 0x40E. + */ +static inline unsigned int get_bios_ebda(void) +{ + unsigned int address = *(unsigned short *)phys_to_virt(0x40E); + address <<= 4; + return address; /* 0 means none */ +} + +#endif /* _MACH_BIOS_EBDA_H */ |