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
Fixed case where the screen was cleared during a panic
[tpg/acess2.git]
/
Kernel
/
arch
/
x86
/
kpanic.c
diff --git
a/Kernel/arch/x86/kpanic.c
b/Kernel/arch/x86/kpanic.c
index
865b0d3
..
1972fd3
100644
(file)
--- a/
Kernel/arch/x86/kpanic.c
+++ b/
Kernel/arch/x86/kpanic.c
@@
-59,6
+59,9
@@
void KernelPanic_SetMode()
{
int i;
+ // Some routines call this function twice, let's avoid that, shall we?
+ if( giKP_Pos ) return ;
+
// Restore VGA 0xB8000 text mode
#if 1
for( i = 0; i < NUM_REGVALUES; i++ )
UCC
git Repository :: git.ucc.asn.au