Re: Got further, am stuck now, here's a patch

Miod Vallat <[email protected]> Wed, 20 Jul 2016 06:52:34 +0000 (UTC)
Newsgroups gmane.os.netbsd.ports.playstation2
Organization Ghosts of Architectures Past, Inc.
Message-ID <[email protected]>
> Also forgot this part.
> GCC complains about the use of dmfc0/dmtc0.
> In the absence of documentation, who knows, but this is necessary to
> get further in building.

No, these routines need explicit dmfc/dmtc, and they need to be
assembled in `.set mips3' mode.

See locore_mips3.S r1.110 and figure out what to do to make sure
compiling for playstation2 set. Maybe something as gross as
`|| defined(MIPS3_5900)'.