Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
inconsisten sizeof(paddr_t) in userland/kernel for PAE/i386
Hello,
If you run the test program from the agp(4) manpage on XEN3PAE_DOM0
and GENERIC, it fails on the former, and succeeds in the latter. ( A
more interesting symptom is that xf86AllocateGARTMemory() fails for
xorg on the PAE kernel; ie; no xorg with agp for Xen/i386 dom0s )
The symptom is caused by inconsistent values of the macro
AGPIOC_ALLOCATE in user applications and the kernel.
The reason for this is that sizeof(paddr_t) can vary depending on the
codebase you're compiling from, due to a double #if clause here:
http://nxr.netbsd.org/xref/src/sys/arch/i386/include/types.h#50
There must be a better way to express PAE on i386 within
machine/types.h, surely ?
Any suggestions for a fix ?
Thanks,
--
~Cherry
Home |
Main Index |
Thread Index |
Old Index