Messages in this thread | | | Subject | Re: Walking all the physical memory in an x86 system | From | Alan Cox <> | Date | Tue, 30 Nov 2004 18:50:20 +0000 |
| |
On Maw, 2004-11-30 at 17:34, Jan Engelhardt wrote: > unsigned short p; > fd = open("/dev/mem", O_RDONLY | O_BINARY); > lseek(fd, 0x400, SEEK_SET); > read(fd, &p, 2);
You want ports for that not mem, has always been the case since back before Linux existed.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |