From 9beb1d07791692695c0ff08de6944352d57334bc Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Sun, 27 May 2007 19:02:47 +0000 Subject: Have the processor defer all faults and exceptions for control speculative loads. This at least makes control speculative loads work. In the future we should analyze which faults/exceptions we want to handle rather than defer to avoid having to call the recovery code when it's not strictly necessary. --- sys/boot/ia64/common/exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/boot') diff --git a/sys/boot/ia64/common/exec.c b/sys/boot/ia64/common/exec.c index a5a02d4df247..6b451f24cb35 100644 --- a/sys/boot/ia64/common/exec.c +++ b/sys/boot/ia64/common/exec.c @@ -105,7 +105,7 @@ elf64_exec(struct preloaded_file *fp) ia64_set_rr(IA64_RR_BASE(7), (7 << 8) | (28 << 2)); pte = PTE_PRESENT | PTE_MA_WB | PTE_ACCESSED | PTE_DIRTY | - PTE_PL_KERN | PTE_AR_RWX; + PTE_PL_KERN | PTE_AR_RWX | PTE_ED; __asm __volatile("mov cr.ifa=%0" :: "r"(IA64_RR_BASE(7))); __asm __volatile("mov cr.itir=%0" :: "r"(28 << 2)); -- cgit v1.3