Re: Memory Access Problem

2001-05-15 Thread Alan Cox
> I use readw to access memory below 1MB , report "Segmentation fault" > and stall in memory > > simple code below (this will get paraller port) > == > int init_module(void){ > unsigned int *BIOS_Data=(unsigned int *)0x400; > u32 test; > test = readw(BIOS_Data); > >

Memory Access Problem

2001-05-14 Thread Rich . Liu
I have a problem in kernel 2.4.4 I use readw to access memory below 1MB , report "Segmentation fault" and stall in memory simple code below (this will get paraller port) == int init_module(void){ unsigned int *BIOS_Data=(unsigned int *)0x400; u32 test; test = re