The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/i386ps2/kd_var.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* 
    2  * Mach Operating System
    3  * Copyright (c) 1991 Carnegie Mellon University
    4  * Copyright (c) 1991 IBM Corporation 
    5  * All Rights Reserved.
    6  * 
    7  * Permission to use, copy, modify and distribute this software and its
    8  * documentation is hereby granted, provided that both the copyright
    9  * notice and this permission notice appear in all copies of the
   10  * software, derivative works or modified versions, and any portions
   11  * thereof, and that both notices appear in supporting documentation,
   12  * and that the name IBM not be used in advertising or publicity 
   13  * pertaining to distribution of the software without specific, written
   14  * prior permission.
   15  * 
   16  * CARNEGIE MELLON AND IBM ALLOW FREE USE OF THIS SOFTWARE IN ITS "AS IS"
   17  * CONDITION.  CARNEGIE MELLON AND IBM DISCLAIM ANY LIABILITY OF ANY KIND FOR
   18  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
   19  * 
   20  * Carnegie Mellon requests users of this software to return to
   21  * 
   22  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
   23  *  School of Computer Science
   24  *  Carnegie Mellon University
   25  *  Pittsburgh PA 15213-3890
   26  * 
   27  * any improvements or extensions that they make and grant Carnegie Mellon
   28  * the rights to redistribute these changes.
   29  */
   30 
   31 /*
   32  * HISTORY
   33  * $Log:        kd_var.h,v $
   34  * Revision 2.2  93/02/04  08:01:02  danner
   35  *      Integrate PS2 code from IBM.
   36  *      [93/01/18            prithvi]
   37  * 
   38  */
   39 
   40 #include <i386ps2/debugf.h>
   41 #include <i386ps2/abios.h>
   42 #include <i386ps2/kdabios.h>
   43 #include <i386/ipl.h>
   44 
   45 #define INTR_SUCC               0
   46 #define INTR_FAIL               -1
   47 #define KTSDEBUG_TERSE          BIT22   /* debug scancode <==> char */
   48 #define KTSDEBUG_INFO           BIT30   /* useful msgs */
   49 
   50 #define DISP_START      vid_start
   51 #define DISP_END        DISP_START+ONE_PAGE
   52 #define DISP_LAST_LINE  DISP_START+BOTTOM_LINE
   53 
   54 struct Kbd_abios_data   kbd_abios_data;
   55 struct Kbd_request      kreq[2];
   56 int                     kbd_debugger_inited = FALSE;
   57 int                     kdabios_initialized = FALSE;
   58 int                     kddebug = (DEBUG_ERR_COND |
   59                                 KTSDEBUG_INFO);
   60 int                     outputing_debugger_text = FALSE;
   61 void                    kbd_init_keyboard();
   62 
   63 extern int              debug_output;
   64 #define DEBUG_OUT_SCR   1               /* from sadebug.c */
   65 #define DEBUG_OUT_COM   2
   66 
   67 /*
   68  * Color attribute byte.  0-7 are normal intensity colors.
   69  * 8-15 are high intensity colors.  For example, (INTENSE + RED)
   70  * or (INTENSE | RED) will give you the 'Light Red' color.
   71  */
   72 #define BLACK                           0
   73 #define BLUE                            1
   74 #define GREEN                           2
   75 #define CYAN                            3
   76 #define RED                             4
   77 #define MAGENTA                         5
   78 #define YELLOW                          6
   79 #define WHITE                           7
   80 #define INTENSE                         8

Cache object: a0b5e7e5c008185a440e6eab78d7223a


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.