Commit Graph

93423 Commits

Author SHA1 Message Date
simonb 4b7a128684 A basic port to the Broadcom/SiByte SB1250 evaluation board (the
"swarm").  Other SB-cpu boards will be supported by this port in
the future.

Includes support for on-chip ethernet and serial.  Many features
still missing - notably SMP, PCI/LDT and IDE.

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
2002-03-06 02:13:37 +00:00
simonb 2c68c156c5 Only include <sys/exec_ecoff.h> if EXEC_ECOFF is defined.
Note that ELF is mandatory.
2002-03-06 00:22:09 +00:00
itojun e4446468a6 s/IPSec/IPsec/. 2002-03-06 00:21:36 +00:00
simonb 3ab34324e9 Remove a few unneeded include files. 2002-03-06 00:05:06 +00:00
wiz da6ea33f69 Remove g711conv (hi martin!) 2002-03-05 23:57:49 +00:00
simonb 1b5ddfe411 Add support for the on-chip peripherals on the Broadcom SiByte SB1250 CPU
and support routines for the Broadcom CFE (Common Firmware Environment).

This code is provided by the Broadband Processor Business Unit at
Broadcom Corp with minor updates by me.
2002-03-05 23:46:40 +00:00
nathanw 3f0d660168 Make the debugging printfs compile:
- printf format checking doesn't like %x for pointers; use %p like we should.
 - LP64 fixes.
2002-03-05 23:28:58 +00:00
martin c212a52a1e This tool is ~never used in reality.
There are far better alternatives in pkgsrc, for example audio/sox.
2002-03-05 22:36:58 +00:00
thorpej fe9b2e2bd7 No need to reference .OBJDIR here. 2002-03-05 22:07:13 +00:00
eeh 2f0ba3e1a2 More walnut-isms. 2002-03-05 22:02:25 +00:00
thorpej ae1b9528dc No need to reference .OBJDIR here. 2002-03-05 21:56:59 +00:00
thorpej 547d71b6c7 Use ${PRINTOBJDIR}. 2002-03-05 21:53:56 +00:00
thorpej 5ab89c4a4a No need to reference .OBJDIR here. 2002-03-05 21:29:56 +00:00
tv d26369c142 Historic typo: "unfo" -> "undo" 2002-03-05 21:29:32 +00:00
wiz ae38aa875b Use warn() instead of perror(). 2002-03-05 21:29:30 +00:00
thorpej 0e02b70640 No need to reference .OBJDIR here. 2002-03-05 21:28:12 +00:00
thorpej 84be4d4719 Fix size/padding of .data. From Nick. 2002-03-05 21:26:11 +00:00
thorpej 9656b77394 No need to reference .OBJDIR here. 2002-03-05 21:25:08 +00:00
thorpej 1d1d02da94 Make sure <bsd.own.mk> is pulled in before ${PRINTOBJDIR} is used. 2002-03-05 21:23:28 +00:00
wiz b6e7b17180 KNF: No space after casts. 2002-03-05 21:18:14 +00:00
thorpej 0d1f6a757d Use ${PRINTOBJDIR}. 2002-03-05 21:16:51 +00:00
wiz 9c3d74c30b Replace another tempnam() with mkstemp(), and remove the tempResid variable.
Inspired by OpenBSD.
2002-03-05 21:11:46 +00:00
wiz d44726b8b5 Replace a 0-cast with NULL. 2002-03-05 20:58:54 +00:00
wiz 69047878cf Replace another tempnam with mkstemp (inspired by OpenBSD).
Replace perror with warn.
Use NULL instead of some cast 0.
s|/usr/mail|/var/mail| in a comment.
2002-03-05 20:57:28 +00:00
thorpej 22a7a11f35 Use ${PRINTOBJDIR}. 2002-03-05 20:41:28 +00:00
thorpej bdf6ab32ff Use ${PRINTOBJDIR}. 2002-03-05 20:29:33 +00:00
wiz afc1761e0b Replace another tempnam() with mkstemp(), and remove the tempMesg variable.
Inspired by OpenBSD.
2002-03-05 20:26:59 +00:00
wiz c3df89412e Replace printf+exit with errx. 2002-03-05 20:15:33 +00:00
wiz 4361c5156c Check tmpdir for being empty and remove trailing slashes in it. Replace one
tempnam() with mkstemp(), and remove the tempQuit variable.
Inspired by OpenBSD.
2002-03-05 20:14:02 +00:00
thorpej f44b824188 Use ${PRINTOBJDIR}. 2002-03-05 19:53:19 +00:00
wiz a5643639a9 ANSIfy another function (overlooked that one...). 2002-03-05 19:26:42 +00:00
wiz ad41eb4f49 Use strpbrk(3) instead of anyof(). 2002-03-05 19:25:16 +00:00
thorpej 87a37178ee There is no need to explcitly use ${.OBJDIR}; it's implied. 2002-03-05 19:17:44 +00:00
briggs 257f8fe26f Add BAT_G for EUMB (incl. I/O) space. Per matt@netbsd.org's macppc change. 2002-03-05 19:06:38 +00:00
shiba 081fae3ddb Fix up a bug which PB150 shuts down when one boots up in progress.
PB150 will work with SCSI disk. But we cannot use an internal IDE
disk yet.

Reviewed by briggs
2002-03-05 17:39:25 +00:00
pk 363e8b8dbc Build whatis.db and infodir-meta from the commands list of the afterinstall
target. Remember: inserting `dummy' targets is not equivalent of some
convenient macro expansion; it has side effects!
2002-03-05 16:17:06 +00:00
simonb 8b5599e7ce Remove HPCMIPS_FLUSHCACHE_XXX debug code. 2002-03-05 16:16:45 +00:00
simonb 0d0a449d80 mips/mips/fp.S is in mips/conf/files.mips now. 2002-03-05 16:16:03 +00:00
christos 3e7f0b7101 add updwtmpx(); requested by tron. 2002-03-05 16:16:02 +00:00
simonb 4c27f5f8f7 mips/mips/fp.S is in mips/conf/files.mips now. 2002-03-05 16:14:57 +00:00
simonb fd77e40b6b Provide a L2 cache configuration function. 2002-03-05 16:12:35 +00:00
simonb 713adcd0e8 Use new cache coherency attribute macro. 2002-03-05 16:11:57 +00:00
christos 2e53a01f3e add a couple of XOPEN compatibility defines, and a non-xopen function that
we are expected to have (updwtmpx). Requested by tron.
2002-03-05 16:09:06 +00:00
simonb f1dbc97679 Not used anymore. 2002-03-05 16:08:55 +00:00
simonb 811ee92532 Add support for MIPS32 and MIPS64 architectures:
- Build mips3/5900/32/64 support subroutines.
 - Move arch/mips/mips/fp.S to central location.
 - Move NOFPU to opt_cputype.h.
2002-03-05 16:08:00 +00:00
simonb f340c57568 Values related to the MIPS32/MIPS64 Privileged Resource Architecture
(from Broadcom Corp).
2002-03-05 16:07:10 +00:00
simonb 9ac7c86a0f Adjust for 5900 include file changes. 2002-03-05 16:06:04 +00:00
simonb 3f2f4c9bf6 r5900_vector_init() is in mips_machdep.c now. 2002-03-05 16:05:26 +00:00
simonb dd756c0ca5 Rename <mips/r5900/cpuregs.h> to <mips/r5900regs.h> and remove some
content no longer needed.
2002-03-05 16:04:57 +00:00
simonb fcdc111c1a Cosmestic changes (more like the mips3+ code). 2002-03-05 16:03:22 +00:00