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
x86_64 starts without erroring, reaches high mem and full 64-bit
[tpg/acess2.git]
/
Kernel
/
arch
/
x86
/
proc.asm
diff --git
a/Kernel/arch/x86/proc.asm
b/Kernel/arch/x86/proc.asm
index
b1843c7
..
d905c24
100644
(file)
--- a/
Kernel/arch/x86/proc.asm
+++ b/
Kernel/arch/x86/proc.asm
@@
-74,13
+74,12
@@
SpawnTask:
;
; Calls a user fault handler
;
;
; Calls a user fault handler
;
-[global Proc_
AlterUserReturnAdd
r]
+[global Proc_
ReturnToUse
r]
[extern Proc_GetCurThread]
[extern Proc_GetCurThread]
-Proc_
AlterUserReturnAdd
r:
+Proc_
ReturnToUse
r:
; EBP is the handler to use
call Proc_GetCurThread
; EBP is the handler to use
call Proc_GetCurThread
- xchg bx, bx
; EAX is the current thread
mov ebx, eax
; EAX is the current thread
mov ebx, eax
UCC
git Repository :: git.ucc.asn.au