- minor optimizations
- we push only the required registers git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@53 315a16e6-25f9-4109-90ae-ca3045a26c18
This commit is contained in:
parent
ea6658a2ab
commit
a3c5f8f5b8
1 changed files with 4 additions and 2 deletions
|
@ -501,7 +501,9 @@ extern scheduler
|
|||
global reschedule
|
||||
reschedule:
|
||||
cli
|
||||
pusha
|
||||
; eax could change across a function call
|
||||
; => we have not to save the original eax value
|
||||
push ebx
|
||||
|
||||
push DWORD [current_task]
|
||||
call scheduler
|
||||
|
@ -519,7 +521,7 @@ hack1:
|
|||
jmp 0x00 : 0xDEADBEAF
|
||||
|
||||
no_task_switch1:
|
||||
popa
|
||||
pop ebx
|
||||
sti
|
||||
ret
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue