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/pc No longer used.



details:   https://anonhg.NetBSD.org/src/rev/cb80e3f1c7a9
branches:  trunk
changeset: 499878:cb80e3f1c7a9
user:      soren <soren%NetBSD.org@localhost>
date:      Fri Dec 01 07:56:18 2000 +0000

description:
No longer used.

diffstat:

 sys/arch/i386/include/pc/display.h |  47 ---------------------------
 sys/arch/i386/include/pc/msdos.h   |  65 --------------------------------------
 2 files changed, 0 insertions(+), 112 deletions(-)

diffs (120 lines):

diff -r a96920424903 -r cb80e3f1c7a9 sys/arch/i386/include/pc/display.h
--- a/sys/arch/i386/include/pc/display.h        Fri Dec 01 07:55:10 2000 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-/*     $NetBSD: display.h,v 1.4 1994/10/27 04:16:36 cgd Exp $  */
-
-/*
- * IBM PC display definitions
- */
-
-/* Color attributes for foreground text */
-
-#define        FG_BLACK                   0
-#define        FG_BLUE                    1
-#define        FG_GREEN                   2
-#define        FG_CYAN                    3
-#define        FG_RED                     4
-#define        FG_MAGENTA                 5
-#define        FG_BROWN                   6
-#define        FG_LIGHTGREY               7
-#define        FG_DARKGREY                8
-#define        FG_LIGHTBLUE               9
-#define        FG_LIGHTGREEN             10
-#define        FG_LIGHTCYAN              11
-#define        FG_LIGHTRED               12
-#define        FG_LIGHTMAGENTA           13
-#define        FG_YELLOW                 14
-#define        FG_WHITE                  15
-#define        FG_BLINK                0x80
-#define        FG_MASK                 0x8f
-
-/* Color attributes for text background */
-
-#define        BG_BLACK                0x00
-#define        BG_BLUE                 0x10
-#define        BG_GREEN                0x20
-#define        BG_CYAN                 0x30
-#define        BG_RED                  0x40
-#define        BG_MAGENTA              0x50
-#define        BG_BROWN                0x60
-#define        BG_LIGHTGREY            0x70
-#define        BG_MASK                 0x70
-
-/* Monochrome attributes for foreground text */
-
-#define        FG_UNDERLINE            0x01
-#define        FG_INTENSE              0x08
-
-/* Monochrome attributes for text background */
-
-#define        BG_INTENSE              0x10
diff -r a96920424903 -r cb80e3f1c7a9 sys/arch/i386/include/pc/msdos.h
--- a/sys/arch/i386/include/pc/msdos.h  Fri Dec 01 07:55:10 2000 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-/*     $NetBSD: msdos.h,v 1.3 1994/10/27 04:16:37 cgd Exp $    */
-
-/*
- * msdos common header file
- * [obtained from mtools -wfj]
- * how to decipher DOS disk structures in coexisting with DOS
- */
-
-#define MSECTOR_SIZE   512             /* MSDOS sector size in bytes */
-#define MDIR_SIZE      32              /* MSDOS directory size in bytes */
-#define MAX_CLUSTER    8192            /* largest cluster size */
-#define MAX_PATH       128             /* largest MSDOS path length */
-#define MAX_DIR_SECS   64              /* largest directory (in sectors) */
-
-#define NEW            1
-#define OLD            0
-
-struct directory {
-       unsigned char name[8];          /* file name */
-       unsigned char ext[3];           /* file extension */
-       unsigned char attr;             /* attribute byte */
-       unsigned char reserved[10];     /* ?? */
-       unsigned char time[2];          /* time stamp */
-       unsigned char date[2];          /* date stamp */
-       unsigned char start[2];         /* starting cluster number */
-       unsigned char size[4];          /* size of the file */
-};
-
-struct bootsector {
-       unsigned char jump[3];          /* Jump to boot code */
-       unsigned char banner[8];        /* OEM name & version */
-       unsigned char secsiz[2];        /* Bytes per sector hopefully 512 */
-       unsigned char clsiz;            /* Cluster size in sectors */
-       unsigned char nrsvsect[2];      /* Number of reserved (boot) sectors */
-       unsigned char nfat;             /* Number of FAT tables hopefully 2 */
-       unsigned char dirents[2];       /* Number of directory slots */
-       unsigned char psect[2];         /* Total sectors on disk */
-       unsigned char descr;            /* Media descriptor=first byte of FAT */
-       unsigned char fatlen[2];        /* Sectors in FAT */
-       unsigned char nsect[2];         /* Sectors/track */
-       unsigned char nheads[2];        /* Heads */
-       unsigned char nhs[4];           /* number of hidden sectors */
-       unsigned char bigsect[4];       /* big total sectors */
-       unsigned char junk[476];        /* who cares? */
-};
-
-/* DOS partition table -- located in boot block */
-
-#define        DOSBBSECTOR     0       /* DOS boot block relative sector number */
-#define        DOSPARTOFF      446
-#define NDOSPART       4
-
-struct dos_partition {
-       unsigned char   dp_flag;        /* bootstrap flags */
-       unsigned char   dp_shd;         /* starting head */
-       unsigned char   dp_ssect;       /* starting sector */
-       unsigned char   dp_scyl;        /* starting cylinder */
-       unsigned char   dp_typ;         /* partition type */
-#define                DOSPTYP_386BSD  0xa5            /* 386BSD partition type */
-       unsigned char   dp_ehd;         /* end head */
-       unsigned char   dp_esect;       /* end sector */
-       unsigned char   dp_ecyl;        /* end cylinder */
-       unsigned long   dp_start;       /* absolute starting sector number */
-       unsigned long   dp_size;        /* partition size in sectors */
-} dos_partitions[NDOSPART];



Home | Main Index | Thread Index | Old Index