Commit Graph

95039 Commits

Author SHA1 Message Date
jdolecek
2e327b16be expose emul_search() 2002-04-02 20:18:06 +00:00
manu
062e23b4e2 Added IRIX fcntl(F_GETBSDLK) and fcntl(F_GETBSDLKW) 2002-04-02 19:58:38 +00:00
christos
d3ffde02ce don't add a search line if the domain name is empty. Pointed out by perry. 2002-04-02 19:16:59 +00:00
christos
93756e61ad XXX: this code needs a lot more cleanup... There is no clear malloc/free
policy and the data dependent initialization is very fragile. I.e.
     the code assumes because the data entry is of type foo, it has
     initialized certain fields and others not.
- make sure list is not NULL before you use it.
- don't realloc on every loop iteration!
- don't increment i when there are short lines; leads to uninitialized
  list[i] entries [fixes bills' core-dump, hi bill!]
2002-04-02 18:59:54 +00:00
christos
3afdbb7d94 XXX: this code has a lot of bugs and needs further cleanup.
- don't allocate:
	char *p = malloc(len * sizeof(char *))
  when you mean:
	char *p = malloc(len)
- eliminate duplicated code by creating functions and try not to wrap
- use mvwinnstr instead of mvwinstr
2002-04-02 18:57:01 +00:00
atatat
d68a625e3d Fix a spelling error in the usage, and while I'm here, make it a
little more intelligent about the arguments.  A count of the
"from-unit" can now be passed more easily on the command line.
2002-04-02 18:08:28 +00:00
thorpej
875238901e Garbage-collect the Filecore stuff, and make /usr the "d" partition
(RAW_PART == "c").
2002-04-02 17:46:20 +00:00
jdolecek
83bb6f6dd7 Changes to make it less likely to need to be revisited later again:
* fdesc_attr(): don't panic for 'unknown' descriptor types, rather use
  (*fp->f_ops->fo_stat)() hook, as for DTYPE_SOCKET and DTYPE_PIPE
  XXX perhaps use different vnode type than VBAD for these?
* fdesc_setattr(): just return 0 regardless of type, rather than paniccing
  for 'unknown' descriptor types
2002-04-02 17:46:06 +00:00
christos
1f44bd39de - don't trash the old resolv.conf.
- say that we generated it and when.
- unfortunately we cannot restore it back, since dhclient does not call us
  when it exits.
2002-04-02 17:39:47 +00:00
thorpej
c7eb256693 Add aout2elf upgrade support. 2002-04-02 17:02:54 +00:00
ichiro
56d2b07be1 fix channel list to be 1-14.
txrate parameter value determines the rate at which the
Probe request frames will be sent.
bit0 1Mbps
bit1 2M
bit3 5.5M
bit4 11M
2002-04-02 16:59:14 +00:00
thorpej
0c3d55ef67 Switch remaining ARM ports (acorn32, cats, shark) to ELF. 2002-04-02 16:34:49 +00:00
fvdl
03295688de Return 0 when no interrupt was handled. 2002-04-02 16:02:38 +00:00
isaki
677cd20c7f initialize codec variables every open(). 2002-04-02 15:22:37 +00:00
isaki
fec379f5cd Correct ADPCM -> linear8 conversion routine.
Now, we can record on vs0 (but it's very noisy)
2002-04-02 15:19:00 +00:00
bjh21
a2b01cf96b Move Mark Brinicombe from the port maintainers' section to the list of other
developers, since we've deleted his port.
2002-04-02 15:09:07 +00:00
agc
5e5f49ecfa Check the return code from the second invocation of installprereq(), to
make sure that a failed installation of a rpe-requisite package kills
the attempt to add the package. This reverts pkg_add(1) to traditional
behaviour.

Bump version number accordingly.
2002-04-02 15:08:33 +00:00
heinz
7719786762 wording 2002-04-02 14:16:34 +00:00
heinz
87e2a62572 typos 2002-04-02 14:14:45 +00:00
bjh21
ee7cd026e8 This script has no excuse for ever failing: set -e 2002-04-02 13:17:41 +00:00
bjh21
9597ab134f Add a missing closing quotation mark. NetBSD's /bin/sh coped fine without
it, but bash (rightly) complained.
2002-04-02 13:14:43 +00:00
skrll
f99120f163 Updates for the ALLNOTES case:
- add cats and shark
	- remove arc (it doesn't have a Makefile)
2002-04-02 12:35:43 +00:00
skrll
3a7b27405d First attempt at cats notes. 2002-04-02 11:36:34 +00:00
jmc
70ba374a66 Treat pipes like sockets and don't do setattr on them 2002-04-02 10:34:54 +00:00
jmc
457298dd98 Change to native_to_svr4_signo after recent change in
compat/svr4/svr4_signal.h
2002-04-02 10:25:21 +00:00
jmc
ec75756238 Provide a definition for sbp2 2002-04-02 10:11:50 +00:00
jmc
a3850d2694 Add another exception condition (XXX...I'm gonna have to give in and just
put in support for the new p1212 spec that isn't a standard yet).

Also, minor cleanups and one off by one error when copying text descriptors.
2002-04-02 10:10:54 +00:00
petrov
71419e9eb9 Return from interrupt handler after chip init(reset). 2002-04-02 09:48:27 +00:00
ragge
98ac85610c Check that each region is inuse before freeing their related extent.
This fixes (hopefully) PR#16164.
2002-04-02 09:47:34 +00:00
thorpej
ef861642cb #define HOST_BITS_PER_LONGLONG 64 2002-04-02 07:28:23 +00:00
chs
dbb8bddd9c make this compile with DEBUG. 2002-04-02 06:39:32 +00:00
thorpej
c23f2ad0b9 * Use <elfos.h>, not <svr4.h>.
* Use <dbxelf.h>.
* Undef CPP_PREDEFINES before defining it.
* Remove the undef of HANDLE_SYSV_PRAGMA; we need this in order for
  weak externs to work properly.
2002-04-02 06:22:28 +00:00
gmcgarry
2ec9c06efb cosmetic formatting 2002-04-02 05:46:36 +00:00
lukem
9c0c79c7ab Add support for optional ${CRUNCHGEN_FLAGS}.
Per discussion with Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
2002-04-02 05:36:23 +00:00
lukem
d213d804f7 Rename MEMORY_DISK_SIZE (formerly MINIROOTSIZE) to MEMORY_DISK_ROOT_SIZE,
which was suggested by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> as
being more consistent with what it's controlling...
2002-04-02 05:30:34 +00:00
briggs
bc565cd41f Sync with walnut/conf.c (leaving alone devices that are present here, but not
in the configuration).  wd mismatch pointed out by smi@sm.sony.co.jp
in port-powerpc/16165.
2002-04-02 05:24:59 +00:00
gson
c32a17670a When profiling a user process, fuswintr() and suswintr() could store
the value fusubail in the pcb_onfault field of the wrong process if a
profiling timer interrupt happened to occur inside cpu_switch() at a
point where curproc had been updated to point to the new process but
curpcb still pointed to the old one.  trap() would then fail to ignore
any page fault in fuswintr/suswintr and the system would lock up.

This bug only affected systems with kern_clock.c 1.72 or newer, as
earlier versions only call addupc_intr from interrupts that occur in
user mode.  Fixed by assigning to curproc->p_addr->u_pcb.pcb_onfault
instead of curpcb->pcb_onfault, as the former is what trap() checks.
2002-04-02 04:02:32 +00:00
thorpej
2e52a189a8 Remove non-existent ldexp.c from SRCS. 2002-04-02 03:41:26 +00:00
garbled
ed4b98d40c This file had gotten out of date with /etc/defaults/rc.conf and caused sushi
to be very unhappy with life.  Audited this file again, which should
bring it back in line, and fix the problem noted by Bill Studenmund.
Thanks for taking the time to find the bug Bill.
2002-04-02 03:00:05 +00:00
thorpej
f22a65a5af Add etc files for NetBSD/algor. 2002-04-01 23:32:17 +00:00
thorpej
621ccd1f35 Fix up set lists for acorn32. 2002-04-01 23:22:08 +00:00
thorpej
2ae4cde5ea Nuke NO_DBSYM; dbsym now uses BFD for everything. 2002-04-01 22:03:46 +00:00
thorpej
002142a2b5 * Don't use NetBSD's ELF headers, use those provided by BFD.
* Use bfd_{get,put}_{16,32,64}() rather than NetBSD's htobe32(), etc.
2002-04-01 21:58:09 +00:00
manu
5f93fe2017 undef SYSCALL_SHIFT after using it so that it is possible to define both
COMPAT_IRIX and COMPAT_LINUX without getting warnings about SYSCALL_SHIFT
being redefined.
2002-04-01 21:06:21 +00:00
bouyer
4940346b10 Add a chan_name to struct scsipi_channel, holding the channel's name.
Set this to dv_xname for scsibus and atapibus.
Set the name of the kernel thread to chan_name instead of controller's
name:channel number (so that we can use this name for controller-specific
threads).
2002-04-01 20:37:41 +00:00
thorpej
6cd0f2f79c Add -nbsd to OUTPUT_FORMAT BFD target names. 2002-04-01 20:34:36 +00:00
thorpej
f34ab7f99f Add -nbsd to OUTPUT_FORMAT BFD names. 2002-04-01 20:33:37 +00:00
thorpej
5269e780e1 Update DEFAULT_VECTOR and SELECT_VECS for arm--netbsdelf BFD changes. 2002-04-01 20:25:50 +00:00
thorpej
fc6514a57b * Add 2 new BFD targets, "elf32-littlearm-nbsd" and "elf32-bigarm-nbsd".
These targets are identical to the non-nbsd versions except that they
  mark resulting ELF objects and executables as OSABI_NETBSD version 0.
* Add big-endian ARM BFD vectors to arm-*-netbsdelf.  Make the -nbsd
  BFD target the default for arm-*-netbsdelf.
2002-04-01 19:53:05 +00:00
bjh21
3d0d823bd8 Fix up makesums line to use ${MAKESUMS} and the correct directory. 2002-04-01 19:12:16 +00:00