#include <oskit/x86/gate_init.h>void gate_init(struct x86_gate *dest, const struct gate_init_entry *src, unsigned entry_cs);
Install entries in a processor descriptor table from the specified array of gate descriptors (see Section 10.3.9). Typically used to initialize the processor IDT with trap and interrupt vectors (see Section 10.7.4).
- dest
- Pointer to the x86 descriptor table to fill in.
- src
- Pointer to the gate_init_entry array to copy from.
- entry_cs
- Code segment selector to associate with all entries.
- fill_gate
- 10.3.8