From cc551468f897ee8c4e98c032132beaede232cb2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 19 Apr 2004 22:38:30 +0000 Subject: [PATCH] Added some constants that define scratch buffers in the data and extra segment that can be used for BIOS calls. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7246 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/boot/platform/bios_ia32/bios.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/kernel/boot/platform/bios_ia32/bios.h b/src/kernel/boot/platform/bios_ia32/bios.h index 531ee628f5..c5f122b1c7 100644 --- a/src/kernel/boot/platform/bios_ia32/bios.h +++ b/src/kernel/boot/platform/bios_ia32/bios.h @@ -25,6 +25,10 @@ struct bios_regs { #define CARRY_FLAG 0x01 +static const addr_t kDataSegmentScratch = 0x10020; // about 768 bytes +static const addr_t kDataSegmentBase = 0x10000; +static const addr_t kExtraSegmentScratch = 0x2000; // about 24 kB + extern #ifdef __cplusplus "C"