Commit Graph

105913 Commits

Author SHA1 Message Date
jdolecek
d9944f3152 need -mno-abicalls in AFLAGS as well, so that .S would be compiled as
non-PIC same way as .c
2002-12-09 12:42:18 +00:00
scw
0ca6c9c4d5 Move etc.walnut/* to etc.evbppc and tweak BUILD_KERNELS in Makefile.inc
to pick up the renamed install kernel.
2002-12-09 12:37:10 +00:00
scw
5b5dfad81e Add evbppc. 2002-12-09 12:29:17 +00:00
scw
67d6f49379 Changes/additions to support evbppc. 2002-12-09 12:28:12 +00:00
scw
e1b9461296 Note addition of evbppc. 2002-12-09 12:22:58 +00:00
jdolecek
a74b5c71e2 build with -ffreestanding 2002-12-09 12:20:56 +00:00
scw
f1d6e9e873 Add pmc.h 2002-12-09 12:17:42 +00:00
scw
5448df2eed New umbrella-port for PowerPC-based evaluation boards.
The first board to be included here is the port to the 405GP-based
Walnut evaluation board, which up until now lived in arch/walnut.

arch/walnut will go away soon, once all the remaining walnut-isms
in the tree have been dealt with.
2002-12-09 12:15:48 +00:00
jdolecek
4f2661e403 add #include <lib/libkern/libkern.h> to pull in prototypes
for couple items which don't have implicit prototypes with -ffreestanding
2002-12-09 12:14:10 +00:00
jmc
4d74b607a2 Restructure how the at_output dma map gets setup. Ask for a dma map that can
support up to the max ohci descriptor segments. Then attempt to fill it in
via a load. Use the number of segments filled in as the basis for figuring
out how many descriptors to supply to the ohci DMA engine.

XXX: Still needs to account for requests which because of splits may overflow
the 6 dma descriptors available today. For now this fixes cases where a
single 512 byte write was getting split into 2 dma segments from 1 incoming
iov request
2002-12-09 09:09:54 +00:00
jmc
2a3e786250 Fix fwohci_write's sanity check against large packets. Max rec is only used
when writing directly to the device (ala IEEE1394_TCODE_WRITE_REQ_BLOCK).
Otherwise the largest size is determined strictly by speed
2002-12-09 07:26:02 +00:00
jmc
11b3f4e7d1 Provide a macro for turning a speed number into a max rec value 2002-12-09 07:24:57 +00:00
jmc
3d5ded55c7 Write sbp2_free_data_mapping and fix a bug where read responses weren't sending
back the right tlabel
2002-12-09 07:23:43 +00:00
jmc
1f133763ba Don't need sbp2_datamapping. Each one is tracked via the associated orb 2002-12-09 07:23:24 +00:00
simonb
719522fdf3 Add "sqphy" for the PHYs on the PB1500.
Add a note that this kernel is for the PB1000 and PB1500 boards.
2002-12-09 06:54:25 +00:00
lukem
557baa699b mipsco actually needs the RAMDISK kernel for distrib/ ... 2002-12-09 05:20:29 +00:00
itojun
a02a0a383e don't permit port spec on tunnel mode policy. sync w/kame. 2002-12-09 03:20:45 +00:00
lukem
83978b2301 improve message. suggestion from Scott Reynolds 2002-12-09 03:13:41 +00:00
david
6189641f30 Don't want cardbus here, since there are no devices on it.
Thanks to Krister Walfridsson for mentioning it.
2002-12-09 02:38:13 +00:00
gson
936f6a1c3c When JobExec() was called from JobRestartJobs() via JobRestart(), it
executed the make job with sigprocmask(SIG_BLOCK) in effect for a
number of signals including SIGCHLD.  This caused recursive submakes
of the make process in question not to receive SIGCHLDs when their
jobs exited.  This was a second, independent cause of bin/18895 in
addition to the race condition already fixed.  Fixed by unblocking all
signals before executing the job.
2002-12-09 01:23:53 +00:00
martin
92fb024e28 Follow the sparc port and use the MI versions of setrunqueue and
remrunqueue.
2002-12-08 22:30:53 +00:00
lukem
4e4f8e40cc build.sh -E 2002-12-08 22:16:30 +00:00
lukem
239dc05c4f Add -E - "expert mode". If this is not specified, builds to DESTDIR=/ are
not permitted.
By using this flag, you are taking responsibility for any issues that
may occur because of this...
2002-12-08 22:14:00 +00:00
perry
a7a74b4b41 add qsubst 2002-12-08 21:54:03 +00:00
manu
4386631757 regen 2002-12-08 21:53:57 +00:00
manu
9f6565f2bd A working fork/vfork implementation. Darwin fork differs from our fork by
two ways:
- the child gets its pid as retval[0] (userland stub will turn it into a 0),
retval[1] is 1 and it is 0 in the parent.
- in the child, the fork syscall is successful, hence we must skip the next
instruction.
2002-12-08 21:53:10 +00:00
perry
43e55ca474 add qsubst
re-sort and re-format SUBDIRs
2002-12-08 21:50:36 +00:00
leo
e1de9af762 regen. 2002-12-08 21:33:56 +00:00
leo
cacf2eb6c2 Make things work with the new autoconf stuff:
- The pcibus is now called 'pcib' and the isabus 'isab'. Their attributes are
  'pcibus' and 'isabus' respectively. This makes the underlying busses
  attach again.
- Initialize the parent structure in the config_console() function.
  Otherwise we end up without a console.
2002-12-08 21:31:35 +00:00
perry
101d2f766f Some KNF, via indent(1) and hand work. Still needs a lot of cleanup. 2002-12-08 21:29:27 +00:00
thorpej
c4a72b6436 Centralize the definition of the tool name prefix (i.e. "nb") into
bsd.own.mk, as the _TOOL_PREFIX variable.
2002-12-08 20:19:56 +00:00
pk
74a8332ee9 cpu_switch(): avoid raising the interrupt level and enabling traps at the
same time as this may cause a spurious interrupt in some implementations.
Pointed out by uwe.
2002-12-08 16:16:59 +00:00
uwe
38b8c5689a Use 0x07ffffff for LOADADDR mask. This still provides for 128MB (and
given that PROM maps just 4 or 16 this is not going to be a bottle
neck).  Doesn't really affect normal kernels, need it for the changed
kernel base address (uncommitted) hack for broken javastation OFW.
Ok by pk.
2002-12-08 14:36:55 +00:00
ichiro
d24191b40d delete unneed pmap for LED and Clock 2002-12-08 13:22:31 +00:00
ichiro
51b12685a4 change flags of pmap_enter() in ixp12x0_io.c, ixpsip_io.c
bug fix: ixp12x0_pci.c
2002-12-08 13:21:44 +00:00
junyoung
81ed087074 - Rename struct linux_ctx to linux_fpctx.
- KNF.
2002-12-08 11:20:22 +00:00
mrg
e7e34e98bb fix an error message 2002-12-08 10:49:22 +00:00
mrg
18c97a1496 remove some #if 0 debug code 2002-12-08 10:49:03 +00:00
mrg
be9dc1869d fix the description for "-p" to match reality, new text provided in PR#18949. 2002-12-08 10:00:12 +00:00
scw
94932a0f44 SH5 asm versions of some low-level libc routines.
Most of these copied from libkern.
2002-12-08 09:48:36 +00:00
lukem
4f856ef51a - be consistent about option ordering in build.sh usage display
- use Fl and Ar instead of Sy and Em to format options
2002-12-08 08:42:51 +00:00
jmc
9bea8ca9b7 Fix logic screwup in determining which bits to set in alloc'ing data maps 2002-12-08 05:59:05 +00:00
mrg
bad4b3376e oops, remove a debug statement from the previous. 2002-12-08 02:00:10 +00:00
mrg
c3510d1409 add --exclude support.
XXX:  --exclude & --exclude-from are still not 100% compatible, but since
rafal fixed --exclude-from's most annoying bug, they mostly work now.
2002-12-08 01:35:12 +00:00
jmc
29a7ff6364 Put back MSG_IDENTIFY_LUNMASK (renamed to just be within the IHA namespace.
The definitions were not the same between the scsi_messages file and this
definition so simply removing it here and letting the other one be used
results in incorrect behavior (regardless of whether it made the code
compile....)
2002-12-08 01:09:34 +00:00
manu
3bc2c4cf57 Now it uses BSD system calls with alternate path checks in compat/common,
Darwin does not need freebsd_file.c anymore.
2002-12-08 00:52:04 +00:00
manu
daccb0339c regen 2002-12-08 00:51:24 +00:00
manu
3b0f6d78ed Introduce BSD system calls with alternate patch checking (in /emul) in
compat/common, so that they can be shared by several emulations, and use
them for Darwin.

This removes the ugly dependance on FreeBSD freebsd_file.c for COMPAT_DARWIN
2002-12-08 00:50:23 +00:00
scw
d4cfbd3754 Implement __cpu_simple_lock{,init,try}() for sh5. 2002-12-07 22:31:33 +00:00
tsutsui
12a1bc1fff Add (commented out) options SYMTAB_SPACE. 2002-12-07 21:55:44 +00:00