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/x86-64 - Updated and debug
[tpg/acess2.git]
/
Kernel
/
arch
/
x86_64
/
errors.c
diff --git
a/Kernel/arch/x86_64/errors.c
b/Kernel/arch/x86_64/errors.c
index
711846c
..
0d5ede6
100644
(file)
--- a/
Kernel/arch/x86_64/errors.c
+++ b/
Kernel/arch/x86_64/errors.c
@@
-98,8
+98,7
@@
void Error_Backtrace(Uint IP, Uint BP)
// return;
//}
// return;
//}
- if( IP > MM_USER_MAX
- && IP < MM_KERNEL_CODE
+ if( IP > MM_USER_MAX && IP < MM_KERNEL_CODE
&& (MM_MODULE_MIN > IP || IP > MM_MODULE_MAX)
)
{
&& (MM_MODULE_MIN > IP || IP > MM_MODULE_MAX)
)
{
@@
-119,7
+118,7
@@
void Error_Backtrace(Uint IP, Uint BP)
}
}
- while( MM_GetPhysAddr(BP) && i < MAX_BACKTRACE )
+ while( MM_GetPhysAddr(BP) &&
MM_GetPhysAddr(BP+8+7) &&
i < MAX_BACKTRACE )
{
//str = Debug_GetSymbol(*(Uint*)(ebp+4), &delta);
//if(str == NULL)
{
//str = Debug_GetSymbol(*(Uint*)(ebp+4), &delta);
//if(str == NULL)
UCC
git Repository :: git.ucc.asn.au