/* This may run while still in the direct mapping */ void __head startup_64_load_idt(void *vc_handler)
{ struct desc_ptr desc = {
.address = (unsignedlong)rip_rel_ptr(bringup_idt_table),
.size = sizeof(bringup_idt_table) - 1,
}; struct idt_data data;
gate_desc idt_desc;
/* @vc_handler is set only for a VMM Communication Exception */ if (vc_handler) {
init_idt_data(&data, X86_TRAP_VC, vc_handler);
idt_init_desc(&idt_desc, &data);
native_write_idt_entry((gate_desc *)desc.address, X86_TRAP_VC, &idt_desc);
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.