kernel: abolish _default_esf
NANO_ESF parameters may now be NULL, indicating that no exception frame is available. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
71ce8ceb18
commit
5623637a48
17 changed files with 58 additions and 141 deletions
|
@ -59,6 +59,7 @@ void z_unhandled_vector(int vector, int err, struct xuk_entry_frame *f)
|
|||
printk("*** R8 0x%llx R9 0x%llx R10 0x%llx R11 0x%llx\n",
|
||||
f->r8, f->r9, f->r10, f->r11);
|
||||
|
||||
/* FIXME: Why isn't xuk_entry_frame a NANO_ESF? */
|
||||
z_fatal_error(x86_64_except_reason, NULL);
|
||||
}
|
||||
|
||||
|
@ -211,6 +212,4 @@ void x86_apic_set_timeout(u32_t cyc_from_now)
|
|||
_apic.INIT_COUNT = cyc_from_now;
|
||||
}
|
||||
|
||||
const NANO_ESF _default_esf;
|
||||
|
||||
int x86_64_except_reason;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue