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/ttd/ttd_stub.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) 1993,1992 Carnegie Mellon University
    4  * All Rights Reserved.
    5  * 
    6  * Permission to use, copy, modify and distribute this software and its
    7  * documentation is hereby granted, provided that both the copyright
    8  * notice and this permission notice appear in all copies of the
    9  * software, derivative works or modified versions, and any portions
   10  * thereof, and that both notices appear in supporting documentation.
   11  * 
   12  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
   13  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
   14  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
   15  * 
   16  * Carnegie Mellon requests users of this software to return to
   17  * 
   18  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
   19  *  School of Computer Science
   20  *  Carnegie Mellon University
   21  *  Pittsburgh PA 15213-3890
   22  * 
   23  * any improvements or extensions that they make and grant Carnegie Mellon
   24  * the rights to redistribute these changes.
   25  */
   26 /*
   27  * TTD externs.
   28  *
   29  * HISTORY
   30  * $Log:        ttd_stub.h,v $
   31  * Revision 2.2  93/05/10  23:25:08  rvb
   32  *      Checkin for MK80 branch.
   33  *      [93/05/10  15:10:15  grm]
   34  * 
   35  * Revision 2.1.2.2  93/04/20  11:01:18  grm
   36  *      Changed types for use with version 2.4 of the protocol.
   37  *      [93/04/20            grm]
   38  * 
   39  * Revision 2.1.2.1  93/03/03  14:35:28  grm
   40  *      Changed interface.  Version works.
   41  *      [93/03/03            grm]
   42  * 
   43  * Revision 2.1.1.6  93/01/28  15:19:49  grm
   44  *      Last checkin before locore rewrite.
   45  * 
   46  * Revision 2.1.1.5  92/10/23  21:23:49  grm
   47  *      Added single stepping boolean.
   48  *      [92/10/23            grm]
   49  * 
   50  * Revision 2.1.1.4  92/10/08  14:31:56  grm
   51  *      Added kttd_debug.
   52  *      [92/10/08            grm]
   53  * 
   54  * Revision 2.1.1.3  92/10/01  15:36:27  grm
   55  *      KTTD Restructuring checkpoint.
   56  *      [92/10/01            grm]
   57  * 
   58  * Revision 2.1.1.2  92/09/25  15:15:11  grm
   59  *      checkpointing...
   60  *      [92/09/25            grm]
   61  * 
   62  * Revision 2.1.1.1  92/09/09  14:45:23  grm
   63  *      Initial checkin.
   64  * 
   65  */
   66 
   67 #ifndef _TTD_STUB_H_
   68 #define _TTD_STUB_H_
   69 
   70 #include <mach/boolean.h>
   71 #include <mach/vm_param.h>
   72 #include <ttd/ttd_comm.h>
   73 #include <ttd/ttd_types.h>
   74 #include <ipc/ipc_kmsg.h>
   75 
   76 extern integer_t kttd_active;
   77 
   78 extern boolean_t kttd_enabled;
   79 extern boolean_t kttd_debug;
   80 extern boolean_t kttd_debug_init;
   81 extern boolean_t kttd_single_stepping;
   82 
   83 extern vm_offset_t      kttd_current_request;
   84 extern natural_t        kttd_current_length;
   85 extern ipc_kmsg_t       kttd_current_kmsg;
   86 extern ttd_status_t     kttd_run_status;
   87 
   88 extern boolean_t        kttd_servicing_async;
   89 
   90 #define BYTE_ALIGNMENT          4
   91 #define MAX_TTD_MSG_SIZE        2048
   92 
   93 extern char *ttd_request_msg;
   94 extern char *ttd_reply_msg;
   95 extern char ttd_request_msg_array[];
   96 extern char ttd_reply_msg_array[];
   97 
   98 
   99 extern integer_t ttd_device_unit;
  100 extern int (*ttd_get_packet)();
  101 extern int (*ttd_send_packet)();
  102 extern struct ether_hardware_address ttd_host_ether_id;
  103 
  104 /*
  105  * Prototypes:
  106  */
  107 extern void ttd_init(void);
  108 extern boolean_t kttd_handle_async(ipc_kmsg_t kmsg);
  109 extern void kttd_task_trap(int type, int code, boolean_t user_space);
  110 
  111 #endif /* _TTD_STUB_H_ */

Cache object: b34a3b5c03855fcec640dda9a7252191


[ 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.