#include <oskit/x86/gate_init.h>
This file contains the C structures and assembly-language macro definitions used to build x86 gate descriptor tables suitable for use by gate_init (see Section 10.5.10).The assembly-language macros are designed to be used while writing trap entrypoint routines. See oskit/libkern/x86/base_trap_inittab.S for example code that uses this facility.
- struct gate_init_entry
- C structure describing a gate descriptor.
- GATE_INITTAB_BEGIN(name)
- Starts assembly-language definition of a gate descriptor table.
- GATE_ENTRY(n, entry, type)
- Initializes an element of a gate descriptor table.
- GATE_INITTAB_END
- Defines the end of a gate descriptor table.