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/mtx/fns.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 #include "../port/portfns.h"
    2 
    3 ulong   cankaddr(ulong);
    4 int     cistrcmp(char*, char*);
    5 int     cistrncmp(char*, char*, int);
    6 void    clockinit(void);
    7 void    clockintr(Ureg*);
    8 void    clockintrsched(void);
    9 int     cmpswap(long*, long, long);
   10 #define coherence()     eieio()
   11 void    cpuidprint(void);
   12 #define cycles(x)       do{}while(0)
   13 void    dcflush(void*, ulong);
   14 void    delay(int);
   15 void    dumpregs(Ureg*);
   16 void    delayloopinit(void);
   17 void    eieio(void);
   18 void    evenaddr(ulong);
   19 void    faultpower(Ureg*, ulong addr, int read);
   20 void    fprestore(FPsave*);
   21 void    fpsave(FPsave*);
   22 char*   getconf(char*);
   23 ulong   getdar(void);
   24 ulong   getdec(void);
   25 ulong   getdsisr(void);
   26 ulong   gethid0(void);
   27 ulong   gethid1(void);
   28 ulong   getmsr(void);
   29 ulong   getpvr(void);
   30 void    gotopc(ulong);
   31 int     havetimer(void);
   32 void    hwintrinit(void);
   33 void    i8250console(void);
   34 void    i8259init(void);
   35 int     i8259intack(void);
   36 int     i8259enable(Vctl*);
   37 int     i8259vecno(int);
   38 int     i8259disable(int);
   39 void    icflush(void*, ulong);
   40 #define idlehands()                     /* nothing to do in the runproc */
   41 int     inb(int);
   42 void    insb(int, void*, int);
   43 ushort  ins(int);
   44 void    inss(int, void*, int);
   45 ulong   inl(int);
   46 void    insl(int, void*, int);
   47 void    intr(Ureg*);
   48 void    intrenable(int, void (*)(Ureg*, void*), void*, int, char*);
   49 int     ioalloc(int, int, int, char*);
   50 void    iofree(int);
   51 void    ioinit(void);
   52 int     iprint(char*, ...);
   53 int     isaconfig(char*, int, ISAConf*);
   54 void    kbdinit(void);
   55 #define kexit(a)
   56 #define kmapinval()
   57 void    links(void);
   58 void    mmuinit(void);
   59 void    mmusweep(void*);
   60 void    mpicdisable(int);
   61 void    mpicenable(int, Vctl*);
   62 int     mpiceoi(int);
   63 int     mpicintack(void);
   64 int     newmmupid(void);
   65 void    outb(int, int);
   66 void    outsb(int, void*, int);
   67 void    outs(int, ushort);
   68 void    outss(int, void*, int);
   69 void    outl(int, ulong);
   70 void    outsl(int, void*, int);
   71 int     pciscan(int, Pcidev **);
   72 ulong pcibarsize(Pcidev *, int);
   73 int     pcicfgr8(Pcidev*, int);
   74 int     pcicfgr16(Pcidev*, int);
   75 int     pcicfgr32(Pcidev*, int);
   76 void    pcicfgw8(Pcidev*, int, int);
   77 void    pcicfgw16(Pcidev*, int, int);
   78 void    pcicfgw32(Pcidev*, int, int);
   79 void pciclrbme(Pcidev*);
   80 void    pcihinv(Pcidev*);
   81 uchar pciipin(Pcidev *, uchar);
   82 Pcidev* pcimatch(Pcidev*, int, int);
   83 Pcidev* pcimatchtbdf(int);
   84 void    pcireset(void);
   85 void    pcisetbme(Pcidev*);
   86 #define procrestore(p)
   87 void    procsave(Proc*);
   88 void    procsetup(Proc*);
   89 void    putdec(ulong);
   90 void    puthid0(ulong);
   91 void    puthid1(ulong);
   92 void    putmsr(ulong);
   93 void    putsdr1(ulong);
   94 void    putsr(int, ulong);
   95 void    raveninit(void);
   96 void    sync(void);
   97 int     tas(void*);
   98 void    timeradd(Timer *);
   99 void    timerdel(Timer *);
  100 void    touser(void*);
  101 void    trapinit(void);
  102 void    trapvec(void);
  103 void    tlbflush(ulong);
  104 void    tlbflushall(void);
  105 #define userureg(ur) (((ur)->status & MSR_PR) != 0)
  106 void    watchreset(void);
  107 
  108 #define waserror()      (up->nerrlab++, setlabel(&up->errlab[up->nerrlab-1]))
  109 #define KADDR(a)        ((void*)((ulong)(a)|KZERO))
  110 #define PADDR(a)        ((ulong)(a)&~KZERO)

Cache object: cd082b1752baa61993250cbf31c9edb7


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