Commit Graph

56474 Commits

Author SHA1 Message Date
darrenr d2c8da2c36 patch from Greg A. Woods to fix panic problems with code that attempts to
recover from failures to accept a socket successfully.  Problem suggested
by this:
> It would appear (from two "panic: closef: count < 0" failures in less
> than 12 hours) that Darren's fix to accept(2) for lost file descriptors
> isn't quite correct.  His fix inserts a call to closef() to handle one
> of several possible error conditions.  However everywhere else in the
> socket code in the same file where falloc() cleanup is necessary the
> function used is ffree().
1999-10-27 11:54:56 +00:00
simonb 87082426d7 Use the new ELF macros and structures from <sys/exec_elf.h> and not the
old ones from <mips/elf.h>.

XXX: If there's no MIPS API issues, {pmax,pica,newsmips,hpcmips,mips}/elf.h
can be thrown away...
1999-10-27 11:54:53 +00:00
nisimura f476de66fe Use an MI routine in ioasic_subr.c. 1999-10-27 10:16:00 +00:00
haya 91b09f5b16 Change cardbus API. The first argument of cardbus_mapreg_map() is
changed to struct cardbus_softc * from cardbus_devfunc_t.  The old
function is renamed to Cardbus_mapreg_map().
1999-10-27 10:04:41 +00:00
haya 7b66141eed Use opt_cardbus.h for cardbus.c and opt_cardslot.h for cardslot.c.
Remove unnecessary include from cardbus.c.
1999-10-27 09:29:18 +00:00
simonb 8994bd9b3f Add a few comments from <mips/elf.h>. 1999-10-27 09:21:35 +00:00
is eaf45b75c1 Fix spelling of contributors name 1999-10-27 09:10:27 +00:00
nisimura 5cf97491d8 Add a temporary kludge to recognize PMAGD (HX+) as 'sfb' hoping 8bpp
configration of it is compatible enough with PMAGB-BA.
1999-10-27 04:32:35 +00:00
simonb fb8de5803e Use ELFCLASS32 instead of ELFCLASS. 1999-10-27 03:28:54 +00:00
takemura 00d7e6697e Fix symbol names, Elf_e_indet and Elf_e_siz because sys/exec_elf.h was changed. 1999-10-27 02:22:21 +00:00
haya 0263d8db3d Do not stop no matter when pci_mapreg_map fails to map bridge socket
registers.  When it fails, reset Socket Base Address register and map
registers using rbus.
1999-10-27 00:48:36 +00:00
wrstuden 2f8d442b6a Up the size of the ifa_flags and ifa_refcnt from shorts to ints. Now will
deal correctly with more than 32767 routes out an interface.

Should close PR 7148 regarding problems when ifs_refcnt overflows.

Bump kernel version from 1.4L to 1.4M.
1999-10-26 22:32:44 +00:00
mjacob fb6f289535 nuke a debug printout I thought was already gone 1999-10-26 22:23:20 +00:00
itojun 31f706c2ef fix backward-compatible upgrade function name. (__RENAME thing)
the digit after the function name must be (shlib major + 1).

From: Klaus Klein <kleink@ira.uka.de>
1999-10-26 22:16:48 +00:00
kleink 910cf4bd15 Add ELF64 versions of st_info manipulation macros I missed in previous. 1999-10-26 19:10:26 +00:00
drochner 29dd0803eb allow to wildcard the serial channel 1999-10-26 18:20:44 +00:00
drochner 0247fe44f6 regen 1999-10-26 12:35:14 +00:00
drochner 7254017312 remove duplicate entry 1999-10-26 12:34:41 +00:00
drochner 9eed0f5d8a change PMAF-F to PMAF-FA for consistency, add some more stuff 1999-10-26 12:23:13 +00:00
nisimura 95c618a810 - Fix bogus cursor drawn by sfb_cursor(). From eye-opening input from R.C.
Dowdeswell.
- Remove write memory barriers in sfb_copyrows() as dst. is always distant
  enough from src. for copying rows.
1999-10-26 10:57:04 +00:00
itojun 52c808fa73 increase shlib minor for z_off_t changes. 1999-10-26 10:00:29 +00:00
itojun 90fe937b44 disable ipflow (IPv4 fast fowarding) when IPsec is configured into the kernel. 1999-10-26 09:53:17 +00:00
cgd c9c2181ed9 provide an __ELF__ version of _C_FUNC and _C_LABEL, convert the assembly
#defines in asm.h to use them, and convert code which needs to use C labels
to use _C_LABEL as well.  (I can't see any reason why the label vs. function
differentiation shouldn't be GC'd; i only added uses of _C_LABEL.)  This
should help if this port is converted to use ELF, and was checked by
compiling all kernels in arm32/conf (with some driver removals and some
MI header fixups re: common blocks) with an arm-linux ELF toolchain.
1999-10-26 06:53:41 +00:00
cgd adefe1f0dd fix handling of '-t' flag, and pause for a little bit after drawing happysnake 1999-10-26 06:38:31 +00:00
cgd f55171028e correct description of representation of snake 1999-10-26 06:36:53 +00:00
cgd ec6fa7bcf2 support arrow keys. 1999-10-26 06:35:49 +00:00
simonb 5fefdd5a2c The netboot kernel is called "install.ecoff", not "install". 1999-10-26 05:57:48 +00:00
itojun fb26763771 make z_off_t into off_t, which used to be "long" by mistake.
backward compatibility functions are supplied.

XXX increase shlib major, or minor?
1999-10-26 03:42:58 +00:00
thorpej 909f85b9dd Add register prefixes. 1999-10-26 01:49:38 +00:00
itohy cef3e31058 Fix the problem that single-step tracing of a trap instruction
drops the system into kernel debugger.
1999-10-26 00:20:34 +00:00
thorpej 3b435a7396 Add register prefixes. 1999-10-25 23:48:07 +00:00
wrstuden 092a6ee985 Since we don't put layered device nodes in the spechash hash chains,
initialize vp->v_hashchain to NULL.
1999-10-25 23:34:31 +00:00
simonb a25e84441f Remove ./usr/include/i386/loadfile_machdep.h 1999-10-25 22:47:20 +00:00
jdolecek 5ab36cc0e0 ntfs_lookup(): use cnp->cn_proc as the third parameter to VN_LOCK(), so that
the code will DTRT on FreeBSD
1999-10-25 21:18:37 +00:00
jdolecek 9134b1791c partly backup previous: don't use LK_RETRY when calling ntfs_vgetex() 1999-10-25 21:17:21 +00:00
drochner 353a512c22 create "machine" symlink 1999-10-25 20:27:48 +00:00
drochner b4fc704a74 avoid cast 1999-10-25 19:39:54 +00:00
drochner 16dcb3a8fd more radical fix for the last problem, from the egcs/gcc mailing list
(http://egcs.cygnus.com/ml/gcc/1999-10/msg00400.html).
Log message:
          * combine.c (get_last_value): If the last set of a register
        is after subst_low_cuid, then we can not use it to determine
        the register's last value.
1999-10-25 19:30:19 +00:00
drochner 87568e8d82 defopt the XNS protocol (options NS), clean up the use of related
option headers / defines
1999-10-25 19:18:10 +00:00
jdolecek 2e860c12d3 pass the lock flags in the NetBSD version of VN_LOCK(), VGET(),
VOP__UNLOCK() macros, g/c VOP__LOCK()
add some comments
use LK_RETRY flag as appropriate
g/c the FreeBSD vnode_pager_uncache() staff, as was done in FreeBSD tree a while
	ago (actually, when they merged the first round of NetBSD patches)
use VN_LOCK() & VOP__UNLOCK() consistently throughout the code instead
	of vn_lock() and VOP_UNLOCK()
minor whitespace changes
1999-10-25 19:08:26 +00:00
drochner 7a63478423 make the code which decodes the MAKEBOOTDEV()-style boot device
(as passed by the pre-1.3 bootloader) optional
1999-10-25 17:26:05 +00:00
drochner 0bd36d187b EXEC_ELF32 is already defined in std.i386 1999-10-25 17:13:45 +00:00
itojun 44a06d35fa use "options \t" instead of "options\t\t" to avoid change in column
when you comment an option out.
1999-10-25 16:47:03 +00:00
drochner b4548e6710 remove obsolete file 1999-10-25 16:44:53 +00:00
is 57a250cc8c Add code to do link level address matching for ARCnet interfaces.
ARCnet link level addresses are encoded as :HH (``:'' followed by a
byte encoded in hexadecimal notation).
1999-10-25 16:39:37 +00:00
drochner 4cc6f12c09 Don't let loadfile_machdep.h make it to /usr/include - the i386
stand Makefiles already set up the compile environment so that
machine/loadfile_machdep.h can be found.
1999-10-25 15:12:16 +00:00
leo c9a3053200 correct second argument of bus_space_unmap(). 1999-10-25 14:52:55 +00:00
drochner e5f51da9de -mask interrupts w/o a handler
-update PIC _after_ the interrupt handler is linked into the chain
This fixes problems with dynamically installed interrupt handlers:
Interrupts were enabled before the handler was installed under some
circumstances (esp. on faster machines), leading to endless interrupt
handling.
1999-10-25 14:49:41 +00:00
drochner 713601779d btdt 1999-10-25 14:36:21 +00:00
kleink c1e3cb4761 Wrap an otherwise unused variable inside #ifdef DIAGNOSTIC; from Ben Mesander
in PR port-mac68k/8513.
1999-10-25 14:31:50 +00:00