From da720168c19262051bc4323d12a355c36996c3d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sat, 4 Oct 2008 07:45:15 +0000 Subject: [PATCH] =?UTF-8?q?*=20Applied=20a=20patch=20by=20Jan=20Kl=C3=B6tz?= =?UTF-8?q?ke:=20added=20a=20description=20for=20buffers=20passed=20=20=20?= =?UTF-8?q?to=20the=20function.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27862 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/arch/x86/vm86.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/system/kernel/arch/x86/vm86.cpp b/src/system/kernel/arch/x86/vm86.cpp index 778472e15e..27bd53b0a5 100644 --- a/src/system/kernel/arch/x86/vm86.cpp +++ b/src/system/kernel/arch/x86/vm86.cpp @@ -612,6 +612,11 @@ vm86_cleanup(struct vm86_state *state) The function will return B_OK if the BIOS was called successfully, otherwise an apropriate error code. After the call the registers are copied back to \a state to reflect the status after the BIOS returned. + + Any buffer which is given to the BIOS function may be allocated starting + from address 0x1000 up to the allocated RAM size (see vm86_prepare()). The + area below 0x1000 is not available because it is used for the interrupt + vector table, BIOS data area and as real mode stack. */ extern "C" status_t vm86_do_int(struct vm86_state *state, uint8 vec)