thorpej
0739364536
Avoid a strict-alias warning.
2002-11-25 01:43:09 +00:00
thorpej
2cec7d4fd9
Makefile.kern.inc now includes -Wno-sign-compare, so use the default
...
warnings now.
2002-11-25 01:38:32 +00:00
thorpej
9337fb430e
Add -Wno-sign-compare; that flag was made implicit with -Wall in
...
GCC 3.3, and our sources aren't really up to the task, yet.
2002-11-25 01:37:11 +00:00
thorpej
3911a545e1
No newlines in string constants.
2002-11-25 01:36:35 +00:00
thorpej
6fd88f0e65
Avoid a trigraph.
2002-11-25 01:33:51 +00:00
thorpej
11707809eb
No newlines in string constants.
2002-11-25 01:31:12 +00:00
fvdl
9fcc1a32d4
Add COMPAT_NETBSD32 and EXEC_ELF32.
2002-11-25 01:11:37 +00:00
fvdl
5fc8b835db
First cut at GENERIC kernel.
2002-11-25 01:05:58 +00:00
fvdl
144469b350
Add strtoul.c
2002-11-25 00:55:22 +00:00
fvdl
77decc8b5a
Avoid uninitialized var usage in detach.
2002-11-25 00:51:33 +00:00
fvdl
90dbf6a726
Need <sys/device.h>; on a lot of platforms it's probably included
...
indirectly, but not on some others.
2002-11-25 00:49:52 +00:00
fvdl
4732d6d0dd
Set warning flags seperately, until the kernel can be compiled with
...
the default warning flags on with gcc 3.
2002-11-25 00:32:43 +00:00
fvdl
be7e49f1cd
No MCA here.
2002-11-25 00:28:46 +00:00
lukem
1847a76b62
use NOMAN instead of MKMAN=no. noted by David Bonnafous on port-i386@
2002-11-24 23:48:48 +00:00
chs
e5d34beb3e
in mkpath(), don't try to stat() the to-be-created directory beforehand,
...
just try to create it and interpret any error appropriately.
this fixes a problem where multiple "mkdir -p" processes can race,
with the loser returning a spurious error.
2002-11-24 23:40:07 +00:00
christos
c02b3bbdf4
Fixes from David Laight:
...
- ansification
- format of output of jobs command (etc)
- job identiers %+, %- etc
- $? and $(...)
- correct quoting of output of set, export -p and readonly -p
- differentiation between nornal and 'posix special' builtins
- correct behaviour (posix) for errors on builtins and special builtins
- builtin printf and kill
- set -o debug (if compiled with DEBUG)
- cd src obj (as ksh - too useful to do without)
- unset -e name, remove non-readonly variable from export list.
(so I could unset -e PS1 before running the test shell...)
2002-11-24 22:35:38 +00:00
manu
589ff87f68
Rewrite the excessive recursive loading protection by actually counting the
...
recursions instead of the total function calls. We limit to 6 recursion,
which is what Darwin does.
2002-11-24 21:59:43 +00:00
fvdl
03adc171d1
Don't explicitly add -Wall -Werror -g to CFLAGS, the .mk infrastructure
...
already takes care of this, and this makes NOGCCERROR builds fail.
2002-11-24 21:54:38 +00:00
fvdl
2ee89df87b
Avoid format warning for off_t printf.
2002-11-24 21:49:15 +00:00
martin
070e18f3f3
Assign a major number for "lpt* at ebus?".
2002-11-24 20:58:06 +00:00
martin
81f10d2dcd
Add support for /dev/lpt*
2002-11-24 20:53:53 +00:00
thorpej
7d013a7ef5
Skip passing -$ to the preprocessor, for now.
2002-11-24 20:24:54 +00:00
christos
40983baedb
add mach_sigcode.o to the files that depend on assym.h
2002-11-24 18:56:01 +00:00
fvdl
100e201ec6
Replace return -1 in rtld_bind with _rtld_die() call.
2002-11-24 18:19:23 +00:00
fvdl
d93db1cfce
Implement self-relocation as is required now.
2002-11-24 18:16:45 +00:00
fvdl
5505734fa9
For the debug case, print relocbase as well at the start of _rtld().
2002-11-24 18:13:30 +00:00
christos
9b564aed06
Fix bogon in compat re code.
2002-11-24 18:03:14 +00:00
thorpej
0eb35ef834
Instrument FP emulation traps.
2002-11-24 17:34:06 +00:00
thorpej
3d64e26035
Add an EVCNT_ATTACH_STATIC() macro which gathers static evcnts
...
into a link set, which are added to the list of event counters
at boot time.
2002-11-24 17:33:43 +00:00
manu
5bdd9578e4
Better vm_allocate emulation.
2002-11-24 17:22:59 +00:00
thorpej
baf5c58201
Use EVCNT_TYPE_TRAP.
2002-11-24 17:05:45 +00:00
yamt
3af39ea015
in lfs_fakebuf, make corresponding buffer busy to avoid
...
reading blocks that isn't written yet.
it's needed because we'll update metadatas in lfs_updatemeta
before data pointed by them is actually written to disk.
XXX should be solved with fake inode/indirect blocks instead?
2002-11-24 16:39:13 +00:00
yamt
290fa35864
add a XXX comment to lfs_reserve.
...
* it isn't safe to unlock vp here
* because we're passing data using inode from namei.
* (eg. i_offset)
2002-11-24 16:09:50 +00:00
isaki
fe7b4d99f1
Fix typo. s/cfdata/cfdriver/
2002-11-24 13:33:45 +00:00
fvdl
14480382cd
Correct old syscall path the same way as previous commit.
2002-11-24 13:19:27 +00:00
scw
46a9e7ed35
Quell uninitialised variable warnings.
2002-11-24 12:12:01 +00:00
scw
918d34d917
Quell an uninitialised variable warning.
2002-11-24 12:07:52 +00:00
scw
5b10944d66
Fix uninitialised variable warnings.
2002-11-24 12:06:12 +00:00
scw
7a4dfd98e4
Quell an uninitialised variable warning.
2002-11-24 11:52:13 +00:00
scw
e591e98c92
Quell uninitialised variable warnings.
2002-11-24 11:50:32 +00:00
manu
1aaacd96d2
Give a second chance when vm_allocate fail, by finding another free region.
...
Seems to fix some problems.
2002-11-24 11:49:36 +00:00
scw
fc3c6f554f
Quell an uninitialised variable warning.
2002-11-24 11:38:51 +00:00
scw
0f91ed3dfa
Quell uninitialised variable warnings.
2002-11-24 11:37:54 +00:00
scw
7009056578
Quell an uninitialised variable warning.
2002-11-24 11:09:13 +00:00
scw
ba1d389688
Fix an uninitialised variable warning.
2002-11-24 11:02:57 +00:00
scw
5521093d4b
Quell an uninitialised variable warning.
2002-11-24 10:52:47 +00:00
scw
5b169b8d2e
Fix a genuine uninitialised variable warning.
2002-11-24 10:51:56 +00:00
scw
009e79b59b
Remove some accidentally committed debug code.
2002-11-24 10:43:15 +00:00
jmc
33169df7d2
Provide a cast when setting up the interrupt handler (npxintr has a different
...
signature than the prototype expects)
2002-11-24 10:19:37 +00:00
yamt
84677ad64e
fix calculation bugs that prevents coalescing from working properly.
...
PR 19133.
2002-11-24 08:47:28 +00:00