This commit is contained in:
2025-05-16 15:49:50 +03:00
parent 2e372ae9c4
commit 44d09ab13f
2 changed files with 11 additions and 7 deletions
+1
View File
@@ -41,6 +41,7 @@ switchProcess:
mov eax, [esi + 20] ; PCB.RING находится по смещению 20
cmp eax, 3
je .ring3
sti
ret ; Для ring 0 просто возвращаемся
.ring3:
jmp trapret ; Для ring 3 переходим через trapret