Im working on a kernel module that is (at some stage) playing with the
It compiles fine with the normal kernel headers.
I tried to compile it since several days using the UML kernel headers. I
had no problem, except that I had to add -I
so that it can compile (it was looking for sysdep/ptrace.h)
However, now, whenever Im trying to access any register of struct
pt_regs, I get this at compilation time:
core_lib.c:338: structure has no member named `xcs'
I have 2 questions :
- Can I do a module that copes with i386 registers, modifies them, and
compile it under UML or is UML such a specific architecture that it
undefines some registers and do not use normal i386 registers?
thanks a lot.
_ Damien Sandras
(o- GnomeMeeting - H.323 Video-Conferencing application -
//\ web: http://www.gnomemeeting.org/
v_/_ FOSDEM 2002 - Free Software and Open Source Developers Meeting -