Displaying 1 result from an estimated 1 matches for "9ca118c".
Did you mean:
9c5118ac
2008 Jul 16
2
[PATCH 1/2] chain.c32: fix bounce buffer handling
...then tried
to use the pointer to the original buffer in BIOS calls.
Signed-off-by: Sergey Vlasov <vsu at altlinux.ru>
---
com32/modules/chain.c | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/com32/modules/chain.c b/com32/modules/chain.c
index e6409b4..9ca118c 100644
--- a/com32/modules/chain.c
+++ b/com32/modules/chain.c
@@ -168,12 +168,13 @@ struct ebios_dapa {
uint16_t off;
uint16_t seg;
uint64_t lba;
-} *dapa;
+};
static void *read_sector(unsigned int lba)
{
com32sys_t inreg;
- void *buf = __com32.cs_bounce;
+ struct ebios_dapa *dap...