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
AcessNative - Changes to allow _compiling_ on windows.
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
arch
/
x86_64
/
errors.c
diff --git
a/KernelLand/Kernel/arch/x86_64/errors.c
b/KernelLand/Kernel/arch/x86_64/errors.c
index
f7da7f9
..
e7812c3
100644
(file)
--- a/
KernelLand/Kernel/arch/x86_64/errors.c
+++ b/
KernelLand/Kernel/arch/x86_64/errors.c
@@
-134,14
+134,14
@@
void Error_Backtrace(Uint IP, Uint BP)
LogF("Backtrace: %p", IP);
//else
// LogF("Backtrace: %s+0x%x", str, delta);
LogF("Backtrace: %p", IP);
//else
// LogF("Backtrace: %s+0x%x", str, delta);
- if( !MM_GetPhysAddr(
BP
) )
+ if( !MM_GetPhysAddr(
(void*)BP
) )
{
LogF("\nBacktrace: Invalid BP, stopping\n");
return;
}
{
LogF("\nBacktrace: Invalid BP, stopping\n");
return;
}
- while( MM_GetPhysAddr(
BP) && MM_GetPhysAddr(BP+8+7
) && i < MAX_BACKTRACE )
+ while( MM_GetPhysAddr(
(void*)BP) && MM_GetPhysAddr((void*)(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