Commit Graph

109548 Commits

Author SHA1 Message Date
taca
28d2056e12 make it compile in /usr/src/rescue directory. 2003-03-06 17:01:27 +00:00
christos
bcb98aa28e handle repositories that contain symlinks in their path. 2003-03-06 16:14:34 +00:00
darrenr
bacf7b9b2b When unblocking threads, do not call setrunnable() on the thread we will
be returning because the code path that calls is will very likely call
setrunnable() again on the returned thread, leading to a panic because
the thread returned is already at LSRUN.  This fixes a problem where netbsd
would panic when using gdb (5.3) on a process with multiple lwp's like this:
% gdb program
(gdb) run
^C
(gdb) quit
2003-03-06 15:31:14 +00:00
martin
5005fdb656 Run "arrival" scripts too in the inital pass on startup.
Open the routing socket before this pass to close a small window where
we would miss messages at startup (and get state kept by the scripts
out of sync).
Patch supplied by KOIE Hidetaka in private mail.
2003-03-06 13:33:29 +00:00
skrll
bcc03a47aa Add NULL cn_halt and cn_flush entries to consdevs. Hi Matt! 2003-03-06 13:09:28 +00:00
dsl
f24cb25605 - add keywords for utime, stime and ctime (output sss.ssssss if small)
- fiddle with keyword table - mainly to keep width under 80 cols
- add -k keylist so sort output
- don't use logs to work out field width, get -MAXINT right
- user defined headers can be 1 char (actually they can be zero length)
  so ?? in tty column isn't guaranteed to be wider than header
- remove some long long casts (compiles on sparc64 still)
- use kvm_openfiles(NULL, NULL, NULL, KVN_NO_FILES, ..) unless core file
  specified,
(approved by christos)
2003-03-06 09:04:21 +00:00
dsl
036e265716 - add keywords for utime, stime and ctime (output sss.ssssss if small)
- fiddle with keyword table - mainly to keep width under 80 cols)
- add -k keylist so sort output
- don't use logs to work out field width, get -MAXINT right
- user defined headers can be 1 char (actually they can be zero length)
  so ?? in tty column isn't guaranteed to be wider than header
- use PRId64 to remove some long long casts
- use kvm_openfiles(NULL, NULL, NULL, KVN_NO_FILES, ..) unless core file
  specified
(approved by christos)
2003-03-06 09:02:16 +00:00
rafal
d5afdde2ba Catch up to struct consdev changes. 2003-03-06 07:59:37 +00:00
igy
9ead47682a catch up to consdev update 2003-03-06 07:39:34 +00:00
matt
bd8300b07a Update ELF_MAXPAGESIZE to 64K to match elf32vax.sc. This to facilitate
page table page sharing.
2003-03-06 07:36:30 +00:00
matt
7b28c56025 Align psections to their specified alignment (if possible). Use
mmap(2) MAP_ALIGNED.
2003-03-06 07:34:56 +00:00
matt
210f48e582 Remove unneeded conditional code. 2003-03-06 07:15:46 +00:00
igy
3c0a5d1f13 Remove #ifdef __HAVE_GENERIC_SOFT_INTERRUPTS switch and old interrupt
support.  Ixp12x0 port always uses generic soft interrupt.
2003-03-06 06:17:43 +00:00
igy
edcaa77675 insert macro to protect itself against multiple includion. 2003-03-06 06:14:16 +00:00
matt
3dc865b386 Relocate Discovery first thing in initppc (if not at expected address).
This implies that if PMON tells us where the GT is, we write that address
in gtbase.
2003-03-06 06:04:21 +00:00
matt
a190651169 Make most of PPC (OEA) bus_space's identical (or as identical as possible).
(except mvmeppc).
2003-03-06 05:25:18 +00:00
lukem
7f9b0a178a add wcstok(3) (missed in previous?) 2003-03-06 04:05:45 +00:00
fvdl
27e2af69da Call db_machine_init to set up the ddb ipi vector. 2003-03-06 00:47:00 +00:00
matt
6074e25e08 Add support for mmap(2) to be able to return memory aligned on a 2^n
boundary.
2003-03-06 00:41:51 +00:00
matt
6221ccd63f Make sure to flush each line after printf. 2003-03-06 00:39:42 +00:00
matt
7109fe9012 Add cn_halt and cn_flush entries to consdevs. (needed for dma-only console
devices).
2003-03-06 00:38:26 +00:00
thorpej
40543d7e0e Go back to using bfd_{get,put}_32() for now. 2003-03-06 00:31:41 +00:00
thorpej
fab643fb6f Update dbsym(8) to work with the new BFD. From Tom Spindler, tweaked
slightly by me.
2003-03-06 00:26:10 +00:00
matt
0b8a5fd80f Adapt to powerpc/bus.h changes. 2003-03-06 00:20:39 +00:00
fvdl
4e5e707719 * Rework interrupt code
* Redirect some include files to x86
* Enable ioapic usage
* Do MP.
2003-03-05 23:55:57 +00:00
thorpej
6689073e50 When computing the LOADADDR() of .data and .sdata, use:
LOADADDR(previous_section) + (ADDR(current_section) - ADDR(previous_section))

to avoid using SIZEOF(), which does not properly take into account
the size of orphans that might be sorted with the section.
2003-03-05 23:54:22 +00:00
christos
1fbc199e4e use M_ACPI where appropriate. 2003-03-05 23:00:56 +00:00
christos
35f9126434 Fix the fallout from potr malloc changes 2003-03-05 22:56:46 +00:00
manu
a6757a0de1 Less accurate vm_region, but it sticks better to Darwin results. 2003-03-05 22:39:48 +00:00
wiz
d201ab9752 Moved back to usr.sbin. 2003-03-05 22:09:46 +00:00
wiz
54ad96333d Build map-mbone, mrinfo, mrouted, and mtrace from usr.sbin again instead
of gnu/usr.sbin, now that the license has been cleared.
2003-03-05 22:09:07 +00:00
matt
ff2281b498 Add preliminary support Marvell (Galileo) Discovery System Controllers.
This code was contributed by Allegro Networks.
2003-03-05 22:08:18 +00:00
wiz
22c010e66d Update license, from OpenBSD. 2003-03-05 22:04:59 +00:00
thorpej
d61bfb46b5 Make sure we output %progbits instead of @progbits. @ is a comment
character in ARM assembly.
2003-03-05 22:03:22 +00:00
wiz
e6f08c9f93 Move back here from gnu/dist/mtrace now that mrouted license is cleared. 2003-03-05 22:02:03 +00:00
wiz
9aeb2c2f6a Add license, from OpenBSD. 2003-03-05 21:59:59 +00:00
wiz
ba718fd8b9 Move back here from gnu/dist/mrinfo now that mrouted license is cleared. 2003-03-05 21:58:20 +00:00
wiz
d67d82e27f Add license, from OpenBSD. 2003-03-05 21:56:26 +00:00
wiz
b22b38318c Move back here from gnu/dist/map-mbone now the mrouted license is cleared. 2003-03-05 21:55:51 +00:00
wiz
7f3982ff72 Add RCS Id; new sentence, new line; at least one mdoc fix; sort sections. 2003-03-05 21:48:59 +00:00
wiz
6b7e50194b mdocified man page from mpech@openbsd.org 2003-03-05 21:40:08 +00:00
thorpej
7c31b2a553 Fix a merge error which could result in the linker crashing
for static links.  Should fix toolchain/20589.
2003-03-05 21:34:27 +00:00
wiz
2dd997ff9e ANSIfy one more. 2003-03-05 21:32:51 +00:00
wiz
ff2bebb731 Use vsnprintf instead of vsprintf. From OpenBSD. 2003-03-05 21:15:18 +00:00
wiz
b4cca63351 Add license (from Xerox), from OpenBSD. 2003-03-05 21:12:26 +00:00
wiz
f74dd12ce6 License update from Stanford, via OpenBSD. 2003-03-05 21:07:14 +00:00
wiz
c60d41a9de Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
2003-03-05 21:05:38 +00:00
thorpej
925de95670 Remove the adjust-section-size-for-orphan code. That patch was rejected
by the FSF binutils maintainers, who instead suggested a different way
of addressing the problem.

(Besides, the size adjustment code was broken by the binutils update,
since about 1/2 of the changes got lost.)
2003-03-05 21:02:56 +00:00
thorpej
8844d7e3c0 In place_orphan, simplify the way we allow non-code read-only sections
to be merged with .text if no .rodata section is present.
2003-03-05 20:27:33 +00:00
tshiozak
326ed36874 changes related to lib/20576 and lib/20577.
- add wcstok() and wcswcs(),
  - add wcstok(3),
  - move btowc() and wctob() into each ctype modules,
  - bump ctype interface ABI version,
  - bump i18n modules' minor and
  - update sets.
and fix a stupid bug in _RUNE_ISCACHED macro.
2003-03-05 20:18:14 +00:00