two2the8th_power_is...@yahoo.co.jp writes:
> I am making a OS for a PC/AT compatible machine with gcc on ubuntu.
> The code , whose extension is .c , to task switch in the handler for
> PIT(timer) interrupt is...
> int tr=(a selector(segment number));
> farjmp(0,tr);
>
> the function prototype is
I am making a OS for a PC/AT compatible machine with gcc on ubuntu.
The code , whose extension is .c , to task switch in the handler for PIT(timer)
interrupt is...
int tr=(a selector(segment number));
farjmp(0,tr);
the function prototype is
farjmp(int eip,int cs);
farjmp() is defined in another