kory@avatar.UUCP (Kory Hamzeh) (10/24/89)
I'm trying to port the mapmem program (written by Micheal Young) which was posted in comp.sources a while ago to xenix. The problem that I'm having is during nlist calls. Mapmem does an nlist call to read the offsets of 'coremap', 'swapmap', 'maxmem', 'nswap', and 'physmem' in the kernel. All but 'coremap' and 'swapmap' are found. Has anyone gotten mapmem to work on Xenix or know what the equivelent symbols for 'coremap' and 'swapmap' are? If you look in /usr/include/sys/map.h, it defines coremap and swapmem as extern map structs. However, doing an nm on /xenix doesn't produce anything close to that. Any help would be greatly appreciated. Thanks, --kory -- ------------------------------------------------------------------------------- Kory Hamzeh UUCP: ..!uunet!psivax!quad1!avatar!kory INTERNET: avatar!kory@quad.com