flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
ouadji
Of course it is possible. I did it in kernel mode, it works fine. Code: my_stack dd 4000h dup ? ;4000h=4*1000h (Quad Core) ;or with "ExAllocatePoolWithTag" IA32_SYSENTER_ESP equ 175h ;----------------------------------------------- cli mov ecx,IA32_SYSENTER_ESP rdmsr ;(yy) mov [CPU.R0_Stack + edi],eax ;save old stack lea eax,[esi + 1] ;4µPs (esi = 0,1,2,3) imul eax,eax,1000h lea eax,[my_stack + eax] wrmsr ;edx from (yy) sti ;"KeSetSystemAffinityThread,next_core" ... and loop |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.