Displaying 1 result from an estimated 1 matches for "kqemu_lock_user_page".
2007 Feb 14
1
Re: qemu-0.9.0 with initial tap interface
...s 9/X86?
The 32-bit kqemu binary compiled on snv_55 loads on a S9 x86 kernel;
but panics the kernel as soon as qemu tries to use the /dev/kqemu
device.
AFAICT, the problem is that the kthread_t structure has changed between
s9 and s10/s11, so that the statement...
struct kqemu_user_page * CDECL
kqemu_lock_user_page(unsigned long *ppage_index, unsigned long user_addr)
{
proc_t *p = curproc;
sets ''p'' to a junk proc_t*.
% grep curproc /usr/include/sys/thread.h
#define curproc (ttoproc(curthread)) /* current process pointer */
Compiling on S9 for S9 might fix it, but...