Section 10.1 describes the various compiler and utility commands provided to support compilation and cross-compilation of native kernels. These are derived from similarly named programs of the system Plan 9 from Bell Labs, converted to ANSI C to provide a consistent, portable environment for cross-compiling any native kernel on any host platform.
Section 10.2 describes the functions publicly available to the authors of kernel code, particularly device drivers (real and virtual). This section will eventually be much expanded, but this makes a start. See the description of the conventional header files below.
Section 10.6 describes include the native object file formats, the Inferno (Plan 9) object library (archive) format, and system configuration files.
Section 10.8 describes bootstrap programs and procedures for native Inferno systems.
#include "u.h" #include "../port/lib.h" #include "mem.h" #include "dat.h" #include "fns.h" #include "../port/error.h"
furthermore, added in IP code: #include "../ip/ip.h"
furthermore, in hardware device drivers: #include "io.h" #include "ureg.h"
furthermore, in network interfaces or ether drivers: #include "../port/netif.h"
|INTRO(10 )||Rev: Tue Mar 31 02:42:39 GMT 2015|