[manual index]
Plan 9 from Bell Labs - Section 9 - Kernel Functions
- 0intro
- introduction to kernel functions
- intro
- allocb
- data block management
- allocb, iallocb, freeb, freeblist, BLEN, blocklen, concatblock, copyblock, trimblock, packblock, padblock, pullblock, pullupblock, adjustblock, checkb
- conf
- native and hosted kernel configuration file
- conf
- delay
- small delays, clock interrupts
- delay, microdelay, addclock0link
- devattach
- common device driver support
- devattach, devclone, devdir, devgen, devwalk, devdirread, devstat, devopen, devbread, devbwrite, devcreate, devremove, devwstat, devreset, devinit, devshutdown, openmode
- dmainit
- platform-specific DMA support
- dmainit, dmasetup, dmadone, dmaend, dmacount
- error
- error handling functions
- error, nexterror, poperror, waserror
- eve
- privileged user
- eve, iseve
- inb
- programmed I/O
- inb, ins, inl, outb, outs, outl, insb, inss, insl, outsb, outss, outsl
- intrenable
- enable (disable) an interrupt handler
- intrenable, intrdisable
- kbdputc
- keyboard interface to \fIcons\fP(3)
- kbdputc, kbdq
- kproc
- kernel process creation, termination and interrupt
- kproc, pexit, postnote
- lib
- C library functions used by the kernel
- lib
- lock
- spin locks
- lock, canlock, ilock, iunlock, unlock
- malloc
- kernel memory allocator
- malloc, mallocz, smalloc, realloc, calloc, free, msize, setmalloctag, setrealloctag, getmalloctag, getrealloctag, malloctopoolblock
- newchan
- channel operations
- newchan, chanfree, cclose, eqqid, eqchan, isdir, fdtochan, namec
- panic
- abandon hope
- panic
- parsecmd
- parse device commands
- parsecmd, cmderror, lookupcmd
- qio
- queued I/O for devices
- qio: qget, qdiscard, qconsume, qpass, qproduce, qcopy, qopen, qbread, qread, qbwrite, qwrite, qiwrite, qfree, qclose, qhangup, qreopen, qlen, qwindow, qcanread, qsetlimit, qnoblock, qflush, qfull
- qlock
- serial synchronisation
- qlock, qunlock, canqlock, rlock, runlock, wlock, wunlock
- readnum
- return values from read from device
- readnum, readstr
- ref
- reference counts
- Ref, incref, decref
- seconds
- kernel times and time conversions
- seconds, ticks, fastticks, HZ, MS2HZ, MS2TK, TK2MS, TK2SEC
- sleep
- process synchronisation
- sleep, wakeup, tsleep, return0
- splhi
- enable and disable interrupts
- splhi, spllo, splx, islo
- uartp8250
- portable 8250-style uarts
- uartp8250
- xalloc
- basic memory management
- xalloc, xspanalloc, xfree