thorpej
d2809fcf8a
Put -X into MAKEFLAGS on FreeBSD and Mac OS X; they have a small ARG_MAX.
2003-03-14 05:22:50 +00:00
thorpej
c5007c219b
Add a -X option, which prevents make(1) from putting variables
...
set on the command line into the environment individually. This
can be useful on systems which have a tight limit on the size
of the argument space.
2003-03-14 05:19:43 +00:00
thorpej
deff8aa15f
__APPLE__ has <stdint.h>, too.
2003-03-14 04:34:27 +00:00
thorpej
61f1ee2222
Link back-end helper host tools against libnbcompat.
2003-03-14 03:44:11 +00:00
thorpej
241ed6a4c1
Add a putc_unlocked().
2003-03-14 03:38:42 +00:00
simonb
1ff45ded4f
Fix some white-space niggles.
2003-03-14 02:21:01 +00:00
he
275c432125
Make this compile again. Cast char variable to int before comparing
...
> 0x7f, so that this gives the same result for machines with signed
and unsigned char.
2003-03-13 20:49:11 +00:00
thorpej
04d0b802f7
Include <sys/types> before <sys/lock.h>, shuffle <ucontext.h>.
2003-03-13 19:51:33 +00:00
thorpej
213cc4baf9
Don't do the madvise(2) call if __APPLE__. Even though madvise(2)
...
exists on Mac OS X, and we pass valid arguments, the call always
results in EINVAL, and the warning annoys me.
2003-03-13 18:23:02 +00:00
joda
1835525147
regen: more nvidia devices
2003-03-13 17:55:57 +00:00
joda
fd202f08fe
more nvidia devices
2003-03-13 17:55:24 +00:00
matt
0c29e154e3
Use __asm & __volatile to make lint(1) happy.
2003-03-13 17:30:38 +00:00
matt
8344279675
Synchronize macppc and evbppc majors when possible. Add a lot of missing
...
devices to evbppc.
2003-03-13 17:02:52 +00:00
thorpej
1d994487b3
Fix the socklen_t test; we need to explcitly list the headers we want
...
included for that test.
2003-03-13 16:27:03 +00:00
drochner
6b8fef6400
cleanup, delete declarations now in libsa/iodesc.h
2003-03-13 16:02:39 +00:00
drochner
66a5580c6e
Remove remaining uses of libsa/netif -- the "netif" structure was only
...
used to lookup a "struct of_dev", everything else was ballast.
Do it straightforward now and assign the ofdev directly to io_netif.
2003-03-13 15:36:06 +00:00
hannken
42cc9f8839
Add wscons to MAKEDEV. Add wsfont major number.
2003-03-13 14:56:56 +00:00
drochner
6e14bfebea
Remove remaining uses of libsa/netif -- the "netif" structure was only
...
used to lookup a "struct romdev", everything else was ballast.
Do it straightforward now and assign the romdev directly to io_netif.
2003-03-13 14:49:12 +00:00
scw
bfca0494bd
Try to configure all children of cprc0, not just clock.
2003-03-13 14:37:36 +00:00
drochner
7d2a35f773
kill the last use of NENTS
...
(We shouldn't use libsa/netif here at all.)
2003-03-13 14:15:58 +00:00
drochner
a15dcfdce7
Avoid conflict with sockets[] definition in net.h
...
and add some typecasts.
Thanks to Juergen Hannken-Illjes for compile-checking.
2003-03-13 14:05:53 +00:00
drochner
20b8952600
cope with removal of this sick NENTS macro from libsa/netif.h
2003-03-13 13:59:11 +00:00
briggs
85d93f8d10
Detect SMC EZ Card as 64-bit. Patch from Pavel Cahyna in kern/20680.
2003-03-13 13:57:01 +00:00
drochner
e537123c66
cope with changes to libsa/netif.h
...
(This shouldn't use libsa/netif at all.)
2003-03-13 13:55:24 +00:00
tsutsui
9053a4f127
NEC RISCstation 2200 (NEC-R94) doesn't have the secondary SCSI,
...
so prepare struct pica_dev for R94 in p_nec_r94.c to handle its quirk.
The problem was reported by David Hopper on port-arc.
XXX We should use ARC BIOS to get info of these devices.
2003-03-13 13:52:09 +00:00
scw
d4f824014d
A bunch of things:
...
- Clean up the way cpu-specific tlb/cache functions are configured
and used.
- Add a workaround for a problem whereby cpu* at superhyway? fails
to probe.
- Print more info about the cpu/cache.
- Move the RESVEC handlers back into generic sh5 code and ditch
the panic stack hack.
- Make the on-chip SCIF device the default console on Cayman.
- Add experimental support for booting via a standalone bootstrap
program (not yet committed) and using the boot parameters passed
in by it.
- Add a few more SH elf constants.
- Tick a couple of items off the TODO list.
2003-03-13 13:44:16 +00:00
drochner
caa65123a8
cope with removal of this sick NENTS macro from libsa/netif.h
2003-03-13 13:35:55 +00:00
scw
31b3a7c37f
In scif_getc(), check SCIF_SCFSR2_RDF in addition to SCIF_SCFSR2_DR to
...
detect waiting Rx data. This fixes an occasional console lockup when
when pasting text at the ddb prompt.
2003-03-13 13:19:01 +00:00
drochner
e7bde1e9c7
adapt for void *io_netif
2003-03-13 12:44:48 +00:00
drochner
47fe380b4c
make netif_close() return value void
...
fix prototype
2003-03-13 12:15:31 +00:00
mjl
79ea3ffca9
Fix handling of control and non-ascii charachters. Print a space
...
instead of what happens to be at that position (out of bounds)
in the char array. Prompted by OpenBSD PR/3147.
2003-03-13 12:13:43 +00:00
hannken
f2746edc5b
Explicit cast for netif.
...
Approved by: Matthias Drochner <drochner@netbsd.org>
2003-03-13 12:02:54 +00:00
mjl
15e3b4e9bf
Correct handling of empty arguments as reported in OpenBSD PR/3146.
...
While there use strlcpy instead of strncpy and STDOUT_FILENO instead of 1.
2003-03-13 11:57:23 +00:00
drochner
e5cc00b939
Remove remaining uses of libsa/netif -- the "netif" structure was only
...
used to lookup a "struct of_dev", everything else was ballast.
Do it straightforward now and assign the ofdev directly to io_netif.
2003-03-13 11:35:54 +00:00
dsl
30630417a8
Validate pgid arg to TIOCSPGRP
2003-03-13 10:24:38 +00:00
dsl
a485005f79
Ensure that the pgid arg to TIOCSPGRP is in the current session.
...
Correctly treat a +ve value as a pgid and a -ve one as a pid.
2003-03-13 10:20:06 +00:00
dsl
53d2320e25
Check that the process/process group id passed to TIOCSPRP is in the session
...
of the current process.
2003-03-13 10:18:35 +00:00
bsh
436b3debe1
make this compile with SLHCI_DEBUG
2003-03-13 06:50:23 +00:00
thorpej
3550b00b45
Move -no-cpp-precomp logic to defs.mk.
2003-03-13 05:15:49 +00:00
thorpej
8b1707fd43
Disable pre-compiled headers on Darwin.
2003-03-13 05:00:28 +00:00
thorpej
0164fc61c8
We don't actually need libutil when building as a hostprog.
2003-03-13 04:50:53 +00:00
thorpej
c0d5461540
Pass -no-cpp-precomp to the C preprocessor on Darwin; our use of
...
libnbcompat is incompatible with pre-compiled headers (which the
compiler correctly detects, but warns about profusely).
2003-03-13 04:43:37 +00:00
thorpej
acd9c2da10
Allow "-no-cpp-precomp", which disables use of pre-compiled headers
...
on Mac OS X.
2003-03-13 04:40:45 +00:00
thorpej
72ec5d6a9c
Check for sys/socket.h and socklen_t.
2003-03-13 04:30:39 +00:00
simonb
3c7ff59b5b
Sprinkle some "volatile"; fixes problems with the {read,write}_{1,2}
...
functions big-endian Au1xxx CPUs.
2003-03-13 03:04:13 +00:00
jhawk
2c14f3de0e
Note todo item (overlay/split info for non-future areacodes)
2003-03-13 02:55:01 +00:00
thorpej
c24b9b414e
Support Mac OS X host.
2003-03-13 02:17:58 +00:00
thorpej
104c77b807
The preprocessor in Apple's GCC 3.1 doesn't like being passed a macro
...
with empty arguments on each side of the comma; hack around this.
2003-03-12 23:00:40 +00:00
dsl
741870b7ef
Validate that pgid argument to TIOCSPGRP in part of current session.
...
Treat +ve numbers as process group ids and -ve as pids (see tcsetpgrp() in part of current session.
Treat +ve numbers as process group ids and -ve as pids - see tcsetpgrp(3).
(approved by christos)
2003-03-12 23:00:03 +00:00
dsl
5786e3a6e8
Add pgid_in_session() for validating TIOCSPGRP requests
...
(approved by christos)
2003-03-12 22:54:44 +00:00