Commit Graph

120365 Commits

Author SHA1 Message Date
itojun
91ba57dca7 need_trigger/idx should be u_int. millert@openbsd 2003-10-31 00:31:53 +00:00
uwe
1d729d7bc4 First cut at implementing software single stepping for sh3. We need
it because sh3 ports don't provide PT_STEP.  It is finally possible to
run programs under gdb now, though there are still issues to be
resolved.  It was deemed useful enough to commit early, while the work
is still in progress.  Tested on hpcsh.

Blessed by christos@.
2003-10-31 00:11:27 +00:00
kleink
9356ead951 Pasto. 2003-10-30 23:34:16 +00:00
cl
68a0d153d2 Don't grab the sched lock in lwp_continue() because lwp_continue() is
called from kpsignal2() with the sched lock held.  Get the lock in
sys__lwp_continue() instead.
2003-10-30 23:31:21 +00:00
matt
22b4a90181 Fix another lasttx uninitialized variable 2003-10-30 23:05:56 +00:00
matt
88810a30df Fix uninitialized variable warning. 2003-10-30 23:05:07 +00:00
kleink
617742615c It turns out the hppa ABI we're using does not support an extended-
precision type, so drop the library support for now but leave in place
(#ifdef _LP64) the header definitions.
2003-10-30 22:46:17 +00:00
matt
fbcc3c4d38 Fix real uninitialized variable bug. 2003-10-30 22:35:38 +00:00
he
a52e0441cf Add include of <lib/libsa/stand.h> for memcpy() and memset() prototypes. 2003-10-30 22:27:05 +00:00
matt
b569a45229 Fix indentation/whitespace. 2003-10-30 22:25:42 +00:00
he
4f5db11dc0 Add -I${S} for <lib/libsa/stand.h> inclusion, and add
include of ../Makefile.booters for -ffreestanding.
2003-10-30 22:23:51 +00:00
he
da61544d69 Add .rodata.str1.1 to the text segment, and discard the .comment section. 2003-10-30 22:21:56 +00:00
he
a2498bfff8 Add -ffreestanding to CFLAGS to avoid type conflicts with built-in
functions in gcc.
2003-10-30 22:20:43 +00:00
he
202ba2bdcf Add a prototype for memset(). 2003-10-30 22:15:28 +00:00
mycroft
68a1d153b6 Use ratecheck() to prevent envstat(1) doing many ACPI calls at once. Now my
MP3 player doesn't skip...
2003-10-30 22:12:02 +00:00
matt
b9e31106e8 Stop some (bogus) gcc unitialized variable warning. 2003-10-30 22:04:39 +00:00
matt
a72426fa60 Fix (real) uninitialized error. (Someone familiar with this should see
if is really an error).
2003-10-30 22:03:46 +00:00
fvdl
7d342b5852 * keep track of PCI buses that aren't known by firmware, but are found
by NetBSD
* use this info in in intr_find_mpmapping
* get rid of the last argument to intr_find_mpmapping, it was redundant
2003-10-30 21:19:54 +00:00
matt
ab3d7937b5 Fix uninitialized warning. 2003-10-30 21:19:02 +00:00
matt
cf19625775 Make this compile with 32bit kernels. 2003-10-30 21:02:55 +00:00
drochner
d6fa98c3f0 getttyent(3) was changed to complain about unknown words at the end of
tty definitions. Use '#' to separate comments.
2003-10-30 20:40:20 +00:00
drochner
559255f8db there is no SHMMMNI 2003-10-30 20:37:01 +00:00
mycroft
95dfd3bd55 Use AcpiEvulateObjectTyped() to simplify some code. 2003-10-30 20:29:54 +00:00
he
5a5cdb5717 Add -ffreestanding to CFLAGS, to avoid type conflicts with built-in
functions in gcc.
2003-10-30 20:19:25 +00:00
kent
d96125aa86 For ICH4/ICH5, set IOSE flag to make them compatible to old ICHs. 2003-10-30 19:33:51 +00:00
mycroft
9e419e7a10 Check to see if we have valid status info before looking at it. 2003-10-30 19:33:24 +00:00
kent
c88bf03d33 For ICH4/ICH5, set IOSE flag to make them compatible to old ICHs. 2003-10-30 19:30:26 +00:00
mycroft
208fa12050 Remove another extra AcpiGetObjectInfo(). 2003-10-30 18:15:35 +00:00
mycroft
97fa5fbf36 Minor tweaks:
* Only fetch the object info a second time if we activated the device.
* Do not attempt to activate a device with no HID.
2003-10-30 18:13:38 +00:00
mycroft
3dc763c88b Patches from Christos to fix double-frees and error handling. 2003-10-30 17:46:08 +00:00
mycroft
adfa67a197 Oops, fix comments. 2003-10-30 17:42:23 +00:00
mycroft
87c704cac0 Add dummy scripts for these events. 2003-10-30 17:34:45 +00:00
mycroft
1455475ac4 Use logger(1) to log errors -- otherwise the output goes nowhere. 2003-10-30 17:32:45 +00:00
jdolecek
5a9f1cf173 ksiginfo_put(): only copy what's needed of ksiginfo_t, to slightly optimize
the operation, and improve code readability at the same time
2003-10-30 16:32:58 +00:00
wiz
61ea2c0760 file system, not filesystem; e.g. is an abbreviation; use FAT instead of msdos
when describing the file system.
2003-10-30 14:58:23 +00:00
christos
4c1141b840 t_pgrp can be null. 2003-10-30 14:51:01 +00:00
yamt
71b290e975 use explicit "l" suffixes. (eg. lea -> leal) 2003-10-30 13:56:37 +00:00
dsl
db9b05af0d Make /bin/pwd almost conform to IEEE 1003.1
- Make 'pwd -L' fall back to 'pwd -P' if PWD is incorrect.
- Ignore PWD if it contains "/./" or "/../".
- Garbage collect some redundant code.
It is still non-conformant because posix mandates that the default
be 'pwd -L' (aka ksh), not 'pwd -P' (historic practise everywhere else).
Changing the default will break too much...
2003-10-30 13:52:23 +00:00
kleink
6d25a1e180 Don't define __HAVE_LONG_DOUBLE for __mc68010__. 2003-10-30 13:18:24 +00:00
grant
a1e0a00965 "The fgets() and functions gets() do not..." ->
"The fgets() and gets() functions do not..."
2003-10-30 12:59:23 +00:00
wiz
bc81ecac30 sigwait(2), not (3). 2003-10-30 12:57:11 +00:00
skrll
d1ef336230 Fix a typo so that hack actually takes effect. 2003-10-30 12:30:39 +00:00
kleink
fed901e1cd s/sgn/sign/, for consistency with IEEE headers. 2003-10-30 12:05:41 +00:00
jdolecek
e2e1314ccd bump date too 2003-10-30 11:53:33 +00:00
jdolecek
f65cf67b62 xref sigwait(3) 2003-10-30 11:51:42 +00:00
hannken
c0818405f1 Complete last commit: Remove assigned-to but otherwise unused variable. 2003-10-30 10:02:16 +00:00
dsl
df5bd11fb9 Validate the arguments to 'pwd'. Treat -L and -P as per pwd(1).
Note that 'pwd -L' and 'pwd -P' almost always report the same answer as
the shell detects when 'cd' follows a symlink and discards its cached 'pwd'
2003-10-30 09:40:26 +00:00
itohy
f66caac2c0 Change __const to __pure for function return type. 2003-10-30 09:25:00 +00:00
scw
7a55b436b2 Move the alignment fault enable/disable code into macroes to avoid
needless duplication.

Additionally, merge AST handling into the same code.

exception.S and the generic irq_dispatch.S routines have been updated
to use the macroes.

XXX: I have patches for the non-generic IRQ dispatch routines, but they
need testing by someone with hardware.
2003-10-30 08:57:24 +00:00
itojun
4101558b6e validate packet length. KAME-PR-517 2003-10-30 08:46:04 +00:00