]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Merge a rudimentary gxemul "oldtestmips" port. This consists almost
authorrwatson <rwatson@FreeBSD.org>
Wed, 2 May 2012 08:10:15 +0000 (08:10 +0000)
committerrwatson <rwatson@FreeBSD.org>
Wed, 2 May 2012 08:10:15 +0000 (08:10 +0000)
commit1308a52debbcf8f967dfaec57f28a079261429e4
treeff67f8bdb64fa5c1bb55aec33939a9ab68c659fb
parent65b39d0c149e6210ac1f2aab9d128a9849789c29
Merge a rudimentary gxemul "oldtestmips" port.  This consists almost
entirely of one machdep file lifted from the MALTA port, as well as
a low-level console and tty driver for the gxemul debugging console
device (the emulators stdio).  As with many low-level embedded and
hypervisor console devices, it is polled only, so we drive TTY I/O
from a callout; we are perhaps a bit too aware of the MIPS physical
maps in order to attach the console before newbus comes to life.

The sample kernel configuration depends on an MD-based root file
system, which is not provided.  However, any 64-bit, big-endian
userspace image (such as one generated for MALTA) should work.

This will hopefully be supplemented by additional device drivers for
gxemul-specific hardware simulations from Juli Mallett.  We have
found oldtestmips quite useful for testing and improving aspects of
the MIPS port, so it's worth supporting better in FreeBSD.

Requested by: theraven, jmallett
Sponsored by: DARPA, AFRL
MFC after: 3 weeks
sys/dev/gxemul/cons/gxemul_cons.c [new file with mode: 0644]
sys/mips/conf/GXEMUL [new file with mode: 0644]
sys/mips/conf/GXEMUL.hints [new file with mode: 0644]
sys/mips/gxemul/files.gxemul [new file with mode: 0644]
sys/mips/gxemul/gxemul_machdep.c [new file with mode: 0644]
sys/mips/gxemul/std.gxemul [new file with mode: 0644]