Commit Graph

104515 Commits

Author SHA1 Message Date
enami
d1c7d5dcae Cope with intr.h of rev. 1.29 to prevent panic when DEBUG is defined;
since splsched() now raises system priority level just to IPL_SCHED,
we can't assert that current priority level is IPL_HIGH on cpu_switch.
2002-11-01 06:06:17 +00:00
enami
68c7a9fc3f Pass an argument to panic() correctly. 2002-11-01 05:49:01 +00:00
simonb
3338dd4bd0 Fix fallout from gehenna-devsw merge. 2002-11-01 05:47:23 +00:00
enami
fc1c4219ef Make this works with QUEUEDEBUG defined; don't use queue pointer after
removing an element from queue.
2002-11-01 03:34:07 +00:00
enami
5eec77bccd Cosmetic changes. 2002-11-01 03:32:21 +00:00
fvdl
4244ef3b22 For INTERLOCK_ACQUIRE, s/splsched/spllock/. 2002-11-01 01:13:32 +00:00
fvdl
5fca9b943c Make splsched == splclock, and splserial > splsched. Unfortunately,
we have to retain the 'pick unlocked interrupt handler' hack for
the MP case for now.
2002-11-01 01:12:43 +00:00
matt
71416f6690 In struct emul, e_nsysent is *not* initialized to *SYS_NSYSENT but
*SYS_MAXSYSCALL.  Adjust to this and simply compare 'code' to it instead
of doing the p-o-2 dance.
2002-11-01 00:02:40 +00:00
thorpej
f8b18efd0c xstrdup the return value of basename() before recording it in the bfd
with bfd_elf_set_dt_needed_soname().  Fixes the "NEEDED crtend.o"
problem reported on tech-toolchain/current-users.

Problem spotted by Ryo HAYASAKA <ryoh@jaist.ac.jp>.
2002-10-31 23:21:17 +00:00
itojun
8b5e86873c typo, reported by avsm@openbsd 2002-10-31 23:01:27 +00:00
jdolecek
f7d9e82965 constify trap_type[] 2002-10-31 22:32:40 +00:00
jdolecek
b56a7c4e6b update trap_type[] according to include/trap.h contents 2002-10-31 22:24:42 +00:00
matt
8b4993db5d Convert to register prefixes. Use ANSI string concatenation for
multiline asm strings.
2002-10-31 21:31:08 +00:00
matt
01ba93bc3c Convert to register prefixes. 2002-10-31 20:23:25 +00:00
itojun
ad337ee31a plug a memory leak. from sam leffler. sync w/kame 2002-10-31 17:36:16 +00:00
wrstuden
5b0a9938fd Use signed char to replace int8_t, not just char. Should fix macppc
cross-build problems introduced in rev 1.59.

Pointed out by Valeriy E. Ushakov uwe at ptc dot spbu dot ru on
tech-toolchain.
2002-10-31 17:14:46 +00:00
wiz
471dfb05bc regen (veriexec). 2002-10-31 15:35:28 +00:00
scw
f8647e7e3c Make interrupt routing work for PCI slots 2 and 3. 2002-10-31 14:54:37 +00:00
scw
bc159224ed Missing newline. 2002-10-31 14:52:54 +00:00
scw
78aeffb90b Add an explicit ULL suffix to a 64-bit constant to appease gcc-current. 2002-10-31 14:52:30 +00:00
scw
3795c4e6f4 Since we keep a list of all mappings for a given physical page (even
unmanaged mappings) so we can deal with cache aliases, make sure to
skip unmanaged/wired mappings (added via pmap_kenter_pa()) when doing
things like pmap_page_protect().
2002-10-31 14:34:17 +00:00
scw
6a3f09110b Catch NMIs when DDB is defined, instead of DEBUG.
Drop the interrupt level to zero when before handling ASTs in the
exit path of h/w interrupts.
2002-10-31 14:24:16 +00:00
scw
8bf915f645 When setting the SP for a process, copy the same value to the
process' FP for the sake of consistency.
2002-10-31 14:20:39 +00:00
martin
8ab4396fef Rearange struct mach64screen to be derived from struct rasops_info,
move a few bits around and make adding screens after attach time
actually work.

When not booting as console, try to properly set up the hardware to
get a display nevertheless (XXX - does not yet work on my U5).

#if 0 some unused functions planned for future extensions (to make clear
they are unused now)
2002-10-31 14:10:07 +00:00
junyoung
c6326ab133 Now VGA_CONSOLE_SCREENTYPE can be specified with VGA_RASTERCONSOLE.
Currently only 80x25 and 80x30 modes are supported.
2002-10-31 13:06:50 +00:00
junyoung
78e97058d5 Simplify vga_raster_setscreentype() and clean up code. 2002-10-31 11:05:25 +00:00
ichiro
c0c620567a regen 2002-10-31 10:40:19 +00:00
ichiro
5cbc05430b add WLI-USB-KS11G USB wlan adapter 2002-10-31 10:36:42 +00:00
petrov
664489a4cb follow-up rpcgen changes. 2002-10-31 08:39:13 +00:00
wiz
30d6695239 Comment out cross-references to man pages that don't exist.
Closes PR 18862 by rtr at wasabisystems com.
2002-10-31 02:51:06 +00:00
christos
e6535bf628 XXX: be32toh on powerpc does not cast to int32_t so passing u_long to
be32toh produces an unsigned long result, causing a printf argument
mismatch. This is the wrong fix, but I am not going to change the
powerpc macros; fix the powerpc macros and revert my change.
2002-10-31 02:40:41 +00:00
christos
277101f13c PR/18866: David A. Holland: missing const keyword in rpcgen output 2002-10-31 02:05:35 +00:00
christos
905b699ab7 support for % command [matching parens/brackets/braces] on vi modes.
From David Laight, thanks!
2002-10-31 02:01:46 +00:00
manu
293419f314 int format long arg problems 2002-10-30 23:08:00 +00:00
kleink
ade418e6fd Revert rev. 1.16, as per PR kern/17411.
While a hard link to a symbolic link is not ruled out by POSIX-2001,
the ln(1) utility (sans -s) is to perform equivalent to the link(2)
function on its operands, which includes the resolution of symbolic
links in source_file arguments.
2002-10-30 22:52:10 +00:00
kleink
0917926472 Revert rev. 1.147, as per PR kern/17411.
While a hard link to a symbolic link is not ruled out by POSIX-2001,
the link(2) interface is to perform normal pathname resolution,
which includes the resolution of symbolic links.
2002-10-30 22:36:46 +00:00
jdolecek
1f771a07f4 usr.bin/tail done
pkgsrc/www/thttpd already compiles with kqueue support, the patches
  were apparently integrated to the distribution already
move the 'kqfilter for systrace' to 'items todo' rather than 'to fix'
2002-10-30 21:50:47 +00:00
jdolecek
64275c4aaf use kqueue to watch the file if possible
from FreeBSD via Luke Mewburn

this specifically does NOT include FreeBSD rev. 1.28 change; it's
my understanding -F is specifically meant to only detect removal
of the tailed file, not to watch for intermediate path changes
2002-10-30 21:48:50 +00:00
matt
1cec255a41 Move child_return back to syscall.c
Fix syscall to use emulations SYS_syscall/SYS___syscall definitions.
Use the emulation NSYSENT to limit code.
Don't define *syscall_fancy if it will never be used.
2002-10-30 18:34:15 +00:00
matt
c9699a165e Add missing file. 2002-10-30 18:31:39 +00:00
rafal
2fdb31c4e3 Fix a bug with list handling that caused this to abort with a "extraneous
<string>" message if the stars were aligned incorrectly due to fast-and-
loose list handling.

The list handling code didn't discriminate between list nodes and list
heads, resulting in string comparisons using memory in the "list heads
by length" array as the target of the comparison; if the string being
handled was short enough and the pointers present in the list heads
array were just the right form the tool would get spurious matches and
exit with the above message.

PR toolchain/18858
2002-10-30 18:14:37 +00:00
provos
5f7d4eab6c fix bug in determining execve name 2002-10-30 17:39:34 +00:00
agc
79cd9d5c9c Add a missing /usr/share/man/cat4/veriexec.0 as well 2002-10-30 17:02:14 +00:00
agc
0176e1f8e5 Might as well install the veriexec(4) man page. 2002-10-30 15:45:10 +00:00
christos
74e8fc3424 fix fat binary architecture choosing code. mach binaries now execute as
poorly as before the x86 MP merge.
2002-10-30 15:21:01 +00:00
christos
dc5aff13e6 make this compile again. 2002-10-30 15:04:47 +00:00
christos
1e48015df9 more debugging for the overwrite trap. 2002-10-30 15:04:17 +00:00
christos
a22639c38a make this link again [mp branch merge lossage] 2002-10-30 15:03:42 +00:00
tsutsui
5e1deee8cf Build ramdisk kernel for dreamcast. 2002-10-30 12:42:24 +00:00
tsutsui
f76d1dd00a Tidy up config files:
- make GENERIC more generic
- add GENERIC_MD, which has MEMORY_DISK stuff and just includes GENERIC
- add a call of dbsym(8) in Makefile.dreamcast.inc

Approved by marcus.
2002-10-30 12:22:55 +00:00