Commit Graph

86163 Commits

Author SHA1 Message Date
mrg 65827cfc3c sync with sparc: add cdtty 2001-10-06 14:50:22 +00:00
bjh21 ccb8f4d3ed KNFify 2001-10-06 14:29:55 +00:00
bjh21 b12979794e Put back AF_LINK support. This time, all the new code passes lint(1), modulo
bin/14175.  It should pass lint on a native i386 build, but I can't test that.
2001-10-06 13:59:41 +00:00
manu aa5da496fa Added socket operations to Linux Mips emulation 2001-10-06 13:32:58 +00:00
manu 2d38e85044 Implements ATOMIC_SET in linux_sys_sysmips 2001-10-06 13:32:18 +00:00
bjh21 67fe54beb4 On ARM ELF platforms, size_t and ptrdiff_t are u_long and long respectively.
See <arm/ansi.h>.
2001-10-06 12:25:56 +00:00
thorpej a769f31893 soft_splvm() - "block" SPLBIO, SPLNET, and SPLTTY in addition to SPLIMP
and the soft interrupts.  Probably doesn't matter for an all OFW kernel,
since all devices are polling, but done for correctness.

soft_splsoftnet() - make sure to block softclock, as well.  While
you're in the network code at splsoftnet(), you don't want a soft
clock interrupt tripping some network-related timeout and reentering
the network code.
2001-10-06 03:51:48 +00:00
thorpej 16d926c4b8 Use ISACF_IRQ_DEFAULT rather than IRQUNK. 2001-10-06 03:04:01 +00:00
thorpej 6a434bacd5 Don't forget to fill in the DMA tag when attaching the AGP
controller.
2001-10-06 02:51:42 +00:00
thorpej 01b2f9b5c4 Remove and unnecessary cast, and avoid a memory leak in the event
allocation of the GATT fails.
2001-10-06 02:48:50 +00:00
thorpej 4b209f44cc Make these reflect reality (again). 2001-10-06 01:45:09 +00:00
thorpej e797da0ffb Make this match int_mwgwtypes.h (not that that header is really
correct, but they should at least be in-sync -- a PR has been
filed against int_mwgwtypes.h).
2001-10-06 01:21:40 +00:00
oster 525f4a9bed Backout a line that accidentally got included when the .h reorg went in. 2001-10-06 00:47:46 +00:00
reinoud 516521c84f re-add asm.h to get arch/dnard to compile again; it links to the
arch/arm/arm32's asm.h.
2001-10-06 00:27:59 +00:00
thorpej c2a1bef2f3 Create the Tx DMA maps with a size large enough for a jumbo Ethernet
frame.
2001-10-06 00:14:59 +00:00
veego 0a9ac47f7c CLEANFILES has to come before the include of <bsd.prog.mk>. 2001-10-05 23:42:11 +00:00
thorpej 55a63fe9b4 Add a cast to a chunk of code already marked as broken in the main
GDB sources so that it avoids a warning on LP64 systems.
2001-10-05 22:59:55 +00:00
thorpej ff05390aba Cast ints to u_longs before casting to char *. Avoids warning on
LP64 platforms.
2001-10-05 22:55:14 +00:00
jmc 7399da0682 Add appropriate ifdefs so tools reachovers build clean 2001-10-05 22:54:51 +00:00
jmc 6addac288f If USE_NEW_TOOLCHAIN is defined use objcopy instead of crunchide as it works now. 2001-10-05 22:52:56 +00:00
eeh a00c25eae0 Get rid of warnings on 32-bit machines. 2001-10-05 22:40:10 +00:00
eeh f592ea46c0 Let 32-bit platforms generate 64-bit fcode too. 2001-10-05 22:36:02 +00:00
reinoud 7d4a1addde Initial commit of the splitting off of arch/acorn32 from arch/arm32.
The IOMD/VIDC combination is now moved to arch/arm/iomd together. These
files still need a lot of cleaning up :( .... esp. the RC7500 support that
is still dormant in it; this needs either to be removed or split out for
RC7500's ``VIDC'' video/audio variant.

Apart from the RC7500 support wich is still in arch/arm32 the
iomd,vidc,riscpc and podulebus subdirectories of arch/arm32 can be removed.

This split still uses some small parts of arch/arm32 .... those are the MI
parts that haven't been moved yet.

RiscPC/A7000 have been tested and confirmed to build as should NC.
2001-10-05 22:27:40 +00:00
eeh 7fbd726cc8 Stop wscons from conflicting with rcons. 2001-10-05 22:08:28 +00:00
thorpej ff5464ee1e Cast ints to u_longs before casting to void *. Avoids warning on
LP64 platforms.
2001-10-05 22:00:23 +00:00
eeh 0e60a3377b Remove bsd_openprom.h, which is only for compatibility with the sparc port. 2001-10-05 21:53:56 +00:00
eeh 2375794907 Make OF_interpret() handle input and output arguments. 2001-10-05 21:52:43 +00:00
bjh21 5a7a518e05 Remove AF_LINK support. It generates lint warnings, and hence won't compile
on i386.  I'll re-commit once I've understood and fixed the problems.
2001-10-05 20:51:19 +00:00
bjh21 daa1982d02 Revert last change. getnameinfo() AF_LINK support is going away until I can
make it lint-clean.
2001-10-05 20:50:19 +00:00
eeh c824ea9b57 Remove the property sysctl interface for now. 2001-10-05 19:05:05 +00:00
thorpej 882fbe6d23 Need <stdlib.h> for getenv() protoype (to avoid warning on LP64).
XXX This patch probably isn't right, but I'm not interested in
detangling the GNU include file nightmare right now.
2001-10-05 18:48:01 +00:00
thorpej 28a8ddfdd3 Need <stdlib.h> for malloc() protoype (to avoid warning on LP64).
XXX This patch probably isn't right, but I'm not interested in
detangling the GNU include file nightmare right now.
2001-10-05 18:47:42 +00:00
thorpej 34dbd19c49 Delete this file; nothing includes it, and it is simply an (incomplete)
copy of <dev/pci/ppbreg.h> anyway.
2001-10-05 17:53:36 +00:00
thorpej 0d4d2293bb Minor tidying up of the HME driver attach:
- Print nicer-looking message.
- Use bus_space_subregion() when appropriate, rather than arithmetic
  on a bus_space_handle_t.
2001-10-05 17:49:43 +00:00
bjh21 e77a30307f Add <net/if_ieee1394.h>. 2001-10-05 16:26:01 +00:00
lukem bf66517e50 mtree update needed 2001-10-05 16:24:34 +00:00
lukem ff2aa3f8e8 Take advantage of mtree(8)'s recently added support for absolute paths.
Use a default "/set uname=root gname=wheel".
This drastically reduces the size of the file, as well as making it
far more maintainable. The differences are:
	lines   words  bytes  filename
	  342    1633  16272  special-relative
	  295     998  11971  special-absolute
2001-10-05 16:11:46 +00:00
lukem 877f022d22 Take advantage of mtree(8)'s recently added support for absolute paths.
This drastically reduces the size of the file, as well as making it
far more maintainable. The differences are:
	lines   words  bytes  filename
	3240    3847   43634  NetBSD.dist-relative
	 632     696   17166  NetBSD.dist-absolute
2001-10-05 16:09:38 +00:00
oster 035a63f6d3 More #if 0's bite the dust. 2001-10-05 15:41:23 +00:00
simonb 4471b94432 This Makefile.inc is used for building LKMS - add the standard MIPS
kernel compile flags as well as "-mlong-calls" so that calls from the
LKM in KSEG2 work to the kernel in KSEG0.

MIPS LKMs now build and can be loaded with the right Magick command line
args to modload(8).  Changes to modload coming...

Thanks to Chris Demetriou for pointing out the -mlong-calls gcc option
that had been staring me in the face all along.
2001-10-05 15:36:46 +00:00
oster 9d1d665dac Nuke some #if 0 stuff. 2001-10-05 15:33:12 +00:00
lukem 8b951d1f0d * Implement support for absolute paths in the specfile. An absolute path
is one that contains a `/' character that is not the first character.
  All parent directories referenced in the path must exist.
* Add copyright for all the work I've done.
* Document the history of various features added since 4.3-Reno.
2001-10-05 15:32:57 +00:00
simonb 6247b48489 Use ${MACHINE_CPU} instead of ${MACHINE_ARCH} in the machine-links
target; needed for MIPS and probably arm ports.
.include the full path name of machine/Makefile.inc so that this works
  if the machine-links target hasn't been run yet.
.include ${MACHINE_CPU}/include/Makefile.inc too.
2001-10-05 15:30:06 +00:00
pooka aa236892fb include <machine/bsd_openprom.h> to make this compile with RASTERCONSOLE 2001-10-05 15:28:28 +00:00
pooka 40ca91c19c prototype rominterpret() 2001-10-05 15:27:56 +00:00
simonb c63662a13e Multiple include protection. 2001-10-05 15:25:02 +00:00
simonb 1f8636506e Use ".-include" instead of the ".if exists(...) ..." dance. 2001-10-05 15:14:18 +00:00
pooka 527cf2d2b1 use kern.ldscript instead of kern.ldscript.be per new scheme 2001-10-05 14:57:18 +00:00
pooka 8d2fa0f7b6 add cast to u_long before cast to caddr_t make these compile on sparc64 2001-10-05 14:25:15 +00:00
mrg e5f5465184 avoid a memory leak 2001-10-05 13:32:23 +00:00