Messages in this thread | | | Date | Sat, 13 Nov 1999 14:15:48 +1300 | From | Chris Wedgwood <> | Subject | Re: Accessing shared physical memory |
| |
On Thu, Nov 11, 1999 at 06:50:23PM +0000, Alan Cox wrote: > > Access from a driver that does: > > > > ptr = (short *) ioremap(0xd0000, 0x10000); > > for(;;) > > *ptr = 0xdead; > > > > Does not ever produce address 0xD... anything on the ISA bus. Therefore, > > Well I would guess the compiler optimised the above to > > while(1);
if the ptr is/was declared volatile (it's not), surely it won't do this?
-cw
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |