Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
diff contextSwitch.s @ 137:99343ffe1918
The shutdown now uses inter master requests
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Mon, 19 Sep 2011 14:15:37 +0200 |
| parents | dbfc8382d546 |
| children |
line diff
1.1 --- a/contextSwitch.s Fri Sep 16 20:13:33 2011 +0200 1.2 +++ b/contextSwitch.s Mon Sep 19 14:15:37 2011 +0200 1.3 @@ -94,6 +94,9 @@ 1.4 #VirtProcr in %rdi 1.5 movq 0x38(%rdi), %rsp #restore stack pointer 1.6 movq 0x30(%rdi), %rbp #restore frame pointer 1.7 + movq $_VMSMasterEnv, %rcx 1.8 + movq (%rcx) , %rcx 1.9 + movl $0x0 , 0x44(%rcx) #release lock 1.10 movq $terminateCoreLoop, %rax 1.11 jmp *%rax #jmp to CoreLoop 1.12 1.13 @@ -108,7 +111,6 @@ 1.14 movq 0x38(%rdi), %rsp #restore stack pointer 1.15 movq 0x30(%rdi), %rbp #restore frame pointer 1.16 #argument is in %rdi 1.17 - call VMS__dissipate_procr 1.18 movq %rbp , %rsp #goto the coreLoops stack 1.19 pop %rbp #restore the old framepointer 1.20 ret #return from core loop
