Need memory at 0 on SUN
John Gregor
johng at ecrcvax.UUCP
Mon Oct 24 22:33:30 AEST 1988
In article <2768 at fnatte.cs.chalmers.se> augustss at cs.chalmers.se (Lennart Augustsson) writes:
>I need to run a program on a SUN3 (running SunOS 3.4) with virtual
>read/write memory starting at virtual address 0. Sun (in their infinite
>wisdom) has decided that memory starts at 0x2000. Accessing 0-0x1fff causes
>a segmentation violation
>--
> Lennart Augustsson
>Email: augustss at cs.chalmers.se or augustss at chalmers.csnet
One possibility would be to keep a 'virtual' copy of page 0 somewhere else.
Then when your program references 0-0x1fff, you catch the fault, disassemble the
offending instruction, and emulate it using your virtual copy of page 0.
No, I don't have something that does this. Yes, I know it is a horrible
kludge. If someone has one of these already (or a better solution), I'd
like to know as well.
--
John Gregor johng%ecrcvax.UUCP at pyramid.COM
More information about the Comp.unix.wizards
mailing list