Lines Matching refs:rcx
246 mov rsi, rcx
254 pop rcx
265 lea r11, [rcx + (InternalAsmThunk16 - SavedCr4) + 0xf]
268 mov word ptr [rcx + (SavedGdt - SavedCr4)], r10w ; save the limit of shadowed GDT table
269 mov qword ptr [rcx + (SavedGdt - SavedCr4) + 2], r11 ; save the base address of shadowed GDT table
272 xchg rcx, r10 ; save rcx to r10 and initialize rcx to be the limit of GDT table
273 inc rcx ; rcx <- the size of memory to copy
276 mov rcx, r10 ; restore the orignal rcx before memory copy
281 mov [rcx + (SavedCr0 - SavedCr4)], eax
284 mov [rcx], ebp ; save CR4 in SavedCr4
289 lgdt fword ptr [rcx + (_16Gdtr - SavedCr4)]
296 mov [rcx + (SavedCs - SavedCr4)], r8w
297 mov [rcx + (SavedSp - SavedCr4)], esp
298 jmp fword ptr [rcx + (_EntryPoint - SavedCr4)]