Xref: utzoo comp.unix.wizards:18884 comp.unix.xenix:8185 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!ginosko!usc!srhqla!quad1!avatar!kory From: kory@avatar.UUCP (Kory Hamzeh) Newsgroups: comp.unix.wizards,comp.unix.xenix Subject: Trying to port mapmem to Xenix Keywords: don't know what to nlist() Message-ID: <105@avatar.UUCP> Date: 24 Oct 89 05:22:09 GMT Organization: Kory Hamzeh, Canoga Park, Ca, USA Lines: 24 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