[lkml]   [2004]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Walking all the physical memory in an x86 system
    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
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:08    [W:0.036 / U:174.848 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site