|
|
|
@ -62,8 +62,8 @@ struct StubEntry
|
|
|
|
|
|
|
|
|
|
asm volatile(R"(
|
|
|
|
|
pusha
|
|
|
|
|
mov %%ds, %%ax
|
|
|
|
|
push %%ax
|
|
|
|
|
mov %%ds, %%eax
|
|
|
|
|
push %%eax
|
|
|
|
|
mov $0x10, %%ax
|
|
|
|
|
mov %%ax, %%ds
|
|
|
|
|
mov %%ax, %%es
|
|
|
|
@ -73,7 +73,7 @@ struct StubEntry
|
|
|
|
|
cld
|
|
|
|
|
call interruptGeneralHandler
|
|
|
|
|
pop %%eax
|
|
|
|
|
pop %%ax
|
|
|
|
|
pop %%eax
|
|
|
|
|
mov %%ax, %%ds
|
|
|
|
|
mov %%ax, %%es
|
|
|
|
|
mov %%ax, %%fs
|
|
|
|
|