kernel memory mapping problem
ZhongJun Zhou
zjhzou at newrocktech.com
Thu Feb 7 14:21:13 EST 2002
Dear all,
I have a problem that :
the function is :
int func()
{
unsigned char tmp[10];
unsigned char * p;
p = __pa(tmp);
...
pI2cRxBD -> bd_addr = p;
...
...
}
when run this module( lsmod mymodule.o ), kernel is always dead. Are there any errors of this function ?
Any help is appreciated!
John Zhou
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list