Re: raw1394_request user/kernel space size differences
Brought to you by:
aeb,
bencollins
From: Ben C. <bco...@de...> - 2000-05-29 02:24:23
|
> Update libraw1394 from CVS, run autoheader and autoconf at least (if > you have the other stuff lying around already), then > "./configure --enable-32-64", make and test it. Ok, I tested this and it worked. So I took it one step further. Attached are two patches. One for linux1394 CVS which defines a kptr_t just like you did for libraw1394. The other is for libraw1394 to sync the raw1394.h from the kernel source. Using this, you can completely remove the --enable-32-64 configure option. It makes the pointer massaging completely transparent, and should work for other 32/64 mixed env's besides sparc/sparc64. I tested this by compiling a 32bit and 64bit binary, and both worked perfectly as expected. Ben -- -----------=======-=-======-=========-----------=====------------=-=------ / Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \ ` bco...@de... -- bco...@op... -- bco...@li... ' `---=========------=======-------------=-=-----=-===-======-------=--=---' |