git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Kernel - Reworked x86 physical memory allocation
[tpg/acess2.git]
/
Kernel
/
arch
/
x86
/
errors.c
diff --git
a/Kernel/arch/x86/errors.c
b/Kernel/arch/x86/errors.c
index
22ad1a3
..
dcedcd5
100644
(file)
--- a/
Kernel/arch/x86/errors.c
+++ b/
Kernel/arch/x86/errors.c
@@
-75,6
+75,7
@@
void ErrorHandler(tRegs *Regs)
// Page Fault
if(Regs->int_num == 14)
{
+ __asm__ __volatile__ ("sti"); // Should be OK, TODO: Test
__asm__ __volatile__ ("mov %%cr2, %0":"=r"(cr));
MM_PageFault( cr, Regs->err_code, Regs );
return ;
UCC
git Repository :: git.ucc.asn.au