summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include/biosvar.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-08-12 19:24:59 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-08-12 19:24:59 +0000
commit643fdea67cc6ba1bd757567d352506e5b944835d (patch)
tree21444bf38c1aa36c8c1c49b784ec1ee41bc16aea /sys/arch/i386/include/biosvar.h
parent4a9dbaeec301da49c8cefb8348b4e1dac13cd44b (diff)
call BIOS inline (add struct EDD_cb into biosvar.h)
Diffstat (limited to 'sys/arch/i386/include/biosvar.h')
-rw-r--r--sys/arch/i386/include/biosvar.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/arch/i386/include/biosvar.h b/sys/arch/i386/include/biosvar.h
index f2546bec12e..931c23d6b56 100644
--- a/sys/arch/i386/include/biosvar.h
+++ b/sys/arch/i386/include/biosvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: biosvar.h,v 1.6 1997/08/07 01:08:17 mickey Exp $ */
+/* $OpenBSD: biosvar.h,v 1.7 1997/08/12 19:24:47 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -193,7 +193,6 @@
/* 0x0300 - 0xffff Reserved */
#define PMEV_DEFAULT 0xffffffff /* used for customization */
-
#ifdef _LOCORE
#define DOINT(n) int $0x20+(n)
#else
@@ -211,6 +210,14 @@ extern struct BIOS_regs {
u_int32_t biosr_es;
} BIOS_regs;
+struct EDD_CB {
+ u_int8_t edd_len; /* size of packet */
+ u_int8_t edd_res; /* reserved */
+ u_int16_t edd_nblk; /* # of blocks to transfer */
+ u_int32_t edd_buf; /* address of buffer */
+ u_int64_t edd_daddr; /* starting block */
+};
+
#ifdef _KERNEL
#include <machine/bus.h>