I downloaded your kernel, and tryed to compile it with GCC on NetBSD. I get the following error:
idt.c: In function 'LoadIDTR':
idt.c:12: parse error before '*'
idt.c:13: 'IDTRptr' undeclared (first use in this function)
and I'm not sure what's wrong.
Mr. Xsism: IDTkernel.zip
Re:Mr. Xsism: IDTkernel.zip
what the!? Hmmm, i haev had probs b4 with ppl compilinf with cygwin and ld giving an error(diff obj format) but never this. I thought i tested it on linux too. I'll check into it and get back soon. I gtg now. Thx for telling me....
Re:Mr. Xsism: IDTkernel.zip
@xxchris: the IDTKernel.zip worked for me. I use windows. It helped understand the basics. Try understanding them even if they dont compile.
Only Human
Re:Mr. Xsism: IDTkernel.zip
if there is any inline asm in there (i presume, by its name there is a LIDT or something) then my guess is your gcc is not the same version as xsisms gcc...
gcc breaks inline asm nearly every version.. inline asm rules change too much with gcc...
gcc breaks inline asm nearly every version.. inline asm rules change too much with gcc...
-- Stu --
Re:Mr. Xsism: IDTkernel.zip
I've got gcc-2.95 and btw xsism this is NetBSD not linux... there may be differences...