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/osfmk/ppc/PPCcalls.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  * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
    3  *
    4  * @APPLE_LICENSE_HEADER_START@
    5  * 
    6  * Copyright (c) 1999-2003 Apple Computer, Inc.  All Rights Reserved.
    7  * 
    8  * This file contains Original Code and/or Modifications of Original Code
    9  * as defined in and that are subject to the Apple Public Source License
   10  * Version 2.0 (the 'License'). You may not use this file except in
   11  * compliance with the License. Please obtain a copy of the License at
   12  * http://www.opensource.apple.com/apsl/ and read it before using this
   13  * file.
   14  * 
   15  * The Original Code and all software distributed under the License are
   16  * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   17  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   18  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   19  * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   20  * Please see the License for the specific language governing rights and
   21  * limitations under the License.
   22  * 
   23  * @APPLE_LICENSE_HEADER_END@
   24  */
   25 
   26 /*
   27  *      To add a new entry:
   28  *              Add an "PPCTRAP(routine)" to the table below
   29  *
   30  *              Add trap definition to mach/ppc/syscall_sw.h and
   31  *              recompile user library.
   32  *
   33  *      Note:
   34  *              The maximum number of calls is 0x1000 (4096 for the hexually challanged)
   35  *
   36  */
   37 
   38 typedef int (*PPCcallEnt)(struct savearea *save);
   39 
   40 #define PPCcall(rout) rout
   41 #define dis (PPCcallEnt)0
   42 
   43 PPCcallEnt      PPCcalls[] = {
   44 
   45         PPCcall(diagCall),                              /* 0x6000 Call diagnostics routines */
   46         PPCcall(vmm_get_version),               /* 0x6001 Get Virtual Machine Monitor version */
   47         PPCcall(vmm_get_features),              /* 0x6002 Get Virtual Machine Monitor supported features */
   48         PPCcall(vmm_init_context),              /* 0x6003 Initialize a VMM context */
   49         PPCcall(vmm_dispatch),                  /* 0x6004 Dispatch a Virtual Machine Monitor call */    
   50         PPCcall(bb_enable_bluebox),             /* 0x6005 Enable this thread for use in the blue box virtual machine */
   51         PPCcall(bb_disable_bluebox),    /* 0x6006 Disable this thread for use in the blue box virtual machine */
   52         PPCcall(bb_settaskenv),                 /* 0x6007 Set the BlueBox per thread task environment data */
   53         PPCcall(vmm_stop_vm),                   /* 0x6008 Stop a running VM */
   54 
   55         PPCcall(dis),                                   /* 0x6009 CHUD Interface hook */
   56         
   57         PPCcall(ppcNull),                               /* 0x600A Null PPC syscall */
   58         PPCcall(perfmon_control),               /* 0x600B performance monitor */
   59         PPCcall(ppcNullinst),                   /* 0x600C Instrumented Null PPC syscall */
   60         PPCcall(dis),                                   /* 0x600D disabled */
   61         PPCcall(dis),                                   /* 0x600E disabled */
   62         PPCcall(dis),                                   /* 0x600F disabled */
   63         PPCcall(dis),                                   /* 0x6010 disabled */
   64         PPCcall(dis),                                   /* 0x6011 disabled */
   65         PPCcall(dis),                                   /* 0x6012 disabled */
   66         PPCcall(dis),                                   /* 0x6013 disabled */
   67         PPCcall(dis),                                   /* 0x6014 disabled */
   68         PPCcall(dis),                                   /* 0x6015 disabled */
   69         PPCcall(dis),                                   /* 0x6016 disabled */
   70         PPCcall(dis),                                   /* 0x6017 disabled */
   71         PPCcall(dis),                                   /* 0x6018 disabled */
   72         PPCcall(dis),                                   /* 0x6019 disabled */
   73         PPCcall(dis),                                   /* 0x601A disabled */
   74         PPCcall(dis),                                   /* 0x601B disabled */
   75         PPCcall(dis),                                   /* 0x601C disabled */
   76         PPCcall(dis),                                   /* 0x601D disabled */
   77         PPCcall(dis),                                   /* 0x601E disabled */
   78         PPCcall(dis),                                   /* 0x601F disabled */
   79 };
   80 
   81 #undef dis

Cache object: 7ce9ee6ff5d30356f03c97b1b35e5b92


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