POK(kernelpart)
interrupt.c File Reference

Go to the source code of this file.

Functions

void update_tss (interrupt_frame *frame)

Function Documentation

void update_tss ( interrupt_frame frame)

Definition at line 20 of file interrupt.c.

{
uint32_t* esp0 = (&pok_tss) + 1;
if ((frame->cs & 0xffff) != 0x8)
{
*esp0 = (uint32_t)frame + sizeof (interrupt_frame);
}
}