Re: I think that may be a bug...

2012-01-06 Thread Ian Lance Taylor
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 think that may be a bug...

2012-01-05 Thread two2the8th_power_is256
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