Trying to port mapmem to Xenix

Kory Hamzeh kory at avatar.UUCP
Tue Oct 24 15:22:09 AEST 1989


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 at quad.com



More information about the Comp.unix.wizards mailing list