Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/include The system configuration block structu...



details:   https://anonhg.NetBSD.org/src/rev/4f88044b177f
branches:  trunk
changeset: 509363:4f88044b177f
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed May 02 13:16:33 2001 +0000

description:
The system configuration block structure doesn't need to be public

diffstat:

 sys/arch/i386/include/mca_machdep.h |  20 +-------------------
 1 files changed, 1 insertions(+), 19 deletions(-)

diffs (34 lines):

diff -r f2ed45d288dc -r 4f88044b177f sys/arch/i386/include/mca_machdep.h
--- a/sys/arch/i386/include/mca_machdep.h       Wed May 02 13:15:24 2001 +0000
+++ b/sys/arch/i386/include/mca_machdep.h       Wed May 02 13:16:33 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mca_machdep.h,v 1.5 2001/04/22 11:52:18 jdolecek Exp $ */
+/*     $NetBSD: mca_machdep.h,v 1.6 2001/05/02 13:16:33 jdolecek Exp $ */
 
 /*
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -51,24 +51,6 @@
 typedef struct i386_mca_chipse *mca_chipset_tag_t;
 typedef int mca_intr_handle_t;
 
-/* System Configuration Block - this info is returned by the BIOS call */
-struct ps2_sys_config {
-       u_int16_t       count;
-       u_int8_t        model;
-       u_int8_t        submodel;
-       u_int8_t        bios_rev;
-       u_int8_t        feature;
-#define FEATURE_RESV   0x01    /* Reserved                             */
-#define FEATURE_MCABUS 0x02    /* MicroChannel Architecture            */
-#define FEATURE_EBDA   0x04    /* Extended BIOS data area allocated    */
-#define FEATURE_WAITEV 0x08    /* Wait for external event is supported */
-#define FEATURE_KBDINT 0x10    /* Keyboard intercept called by Int 09h */
-#define FEATURE_RTC    0x20    /* Real-time clock present              */
-#define FEATURE_IC2    0x40    /* Second interrupt chip present        */
-#define FEATURE_DMA3   0x80    /* DMA channel 3 used by hard disk BIOS */
-       u_int8_t        pad[10];
-} __attribute__ ((packed));
-
 /*
  * Functions provided to machine-independent MCA code.
  */



Home | Main Index | Thread Index | Old Index