Commit Graph

59252 Commits

Author SHA1 Message Date
christos
b41faac27c don't bitch if madvise returns EOPNOTSUPP 2000-01-15 01:10:12 +00:00
christos
3bc3e6f774 use xwarnx instead of warnx 2000-01-15 01:03:45 +00:00
cgd
d447117750 Some additional sanity checks to keep this code from bursting into
flame if presented with bad CIS data (e.g. because of a memory space
conflict):
* more sanity checking on LONGLINK_MFC CIS tuples (exact length check, sanity
  check on size vs. size of array we allocated for them), to avoid various
  missteps which could cause this code to complete trash the kernel stack.
* clear the entire contents of the state structure before processing, so
  things like uninitted pointers will actually have a known value!
* be more careful with CISTPL_CFTABLE_ENTRY: check to see that the current
  state's default_entry isn't NULL before dereferencing it.
2000-01-14 23:09:53 +00:00
msaitoh
df208e8ae8 sync with libkern 2000-01-14 22:55:46 +00:00
perseant
1b67daa4b4 Expand the category of "metadata" in lfs_markv to include Ifile data blocks.
This prevents a rare condition in which Ifile "ifile" blocks, that is, the
blocks of the ifile which point VOP_VGET at the inode block containing the
requested inode, from being "unwritten" when cleaning during intense disk
activity.
2000-01-14 21:41:11 +00:00
perseant
dbe30ed5d4 Better handling of various combinations of cleaning, vnode flushing, and
dirop writing.  In particular, lfs_writevnodes now writes all buffers from
a flushed vnode whether cleaning or not, and the same with the Ifile; and
lfs_segwrite does not attempt to write data from other non-cleaning vnodes,
even if a vnode is being flushed.
2000-01-14 21:38:46 +00:00
msaitoh
5cb845afcd remove SH3_PHYS_TO_P1SEG macro 2000-01-14 21:02:40 +00:00
msaitoh
1e15a3117c use clock_subr.c 2000-01-14 19:41:36 +00:00
msaitoh
06c297195a in_cksum.c ->in_cksum.S 2000-01-14 19:20:32 +00:00
msaitoh
f485f2635c add SH3_{PHYS,P1SEG,P2SEG}_TO_{PHYS,P1SEG,P2SEG} macros 2000-01-14 19:09:35 +00:00
uch
0a98216e35 fix mobilon hc-4100 keymap. 2000-01-14 18:37:58 +00:00
jwise
9aa0a45ccf Document USE_JAVA 2000-01-14 17:32:29 +00:00
msaitoh
69fcc26071 write through bit (SH4) 2000-01-14 16:06:11 +00:00
ad
ec54843fa3 - Make consistant with the new order.
- Ammend comment about PrestoServe.
2000-01-14 15:52:33 +00:00
ad
ba79e0aab8 Make consistant with the new order. 2000-01-14 15:52:00 +00:00
msaitoh
2d4348b99d in_cksum.S (bi-endian) 2000-01-14 15:47:42 +00:00
msaitoh
80d920c3d0 block prototype definitions with _LOCORE (for .S) 2000-01-14 15:46:02 +00:00
pk
c31e760978 Add missing `break'. 2000-01-14 15:25:28 +00:00
pk
757264e2b1 Remove old-style boot device recognition.
Sync device_register() et. al. with sparc/sparc/autoconf.c
2000-01-14 14:57:27 +00:00
augustss
a30f6c8ad9 Apply patches from Tatoku Ogaito (the author of the code). 2000-01-14 14:39:13 +00:00
pk
77bd08a06b Remove old-style boot device recognition. 2000-01-14 14:38:37 +00:00
pk
cd1f76b21b Remove old-style boot device recognition. 2000-01-14 14:27:14 +00:00
msaitoh
ac8d6acaa7 add cpgreg.h and pfcreg.h for "make includes" 2000-01-14 13:58:06 +00:00
pk
e42055a6de Deal with name space issues after libc/net updates. 2000-01-14 13:52:13 +00:00
pk
49b3458319 Expand `instfs' to 1.8MB. 2000-01-14 13:50:11 +00:00
pk
ce40e68a20 Zip it real good. 2000-01-14 13:47:27 +00:00
pk
6d238dc726 Expand md filesystem to 1.8MB. 2000-01-14 13:46:06 +00:00
simonb
bdf420bdbf Redo interrupt establishment, based in part on work on the
[nisimura-pmax-wscons] branch and suggestions from Toru Nisimura:
 - Remove bogus tc_slot_info[] name for interrupt handling array
   and replace with simplified struct intrhand  intrtab[] array.
 - Add intr_establish() and intr_disestablish() function pointers
   to struct platform and initialise this in each model-specific
   initialisation, and remove global tc_enable_interrupt function
   pointer.
 - Remove model-specific function declarations from ibus/ibusvar.h.
This is functionally identical to the current scheme, and doesn't
yet try to commonise interrupt establishment by bus type as the
[nisimura-pmax-wscons] branch does.

Also, move cpuspeed variable from autoconf.c to machdep.c
2000-01-14 13:45:21 +00:00
pk
3cb5a866dd Expand md filesystem to 3.6MB. 2000-01-14 13:41:45 +00:00
pk
0244320ed2 Sync with arch/sparc/include/makefile 2000-01-14 13:40:32 +00:00
tsutsui
7fcb8a3a8c minor cosmetic 2000-01-14 13:20:17 +00:00
mjacob
035b04d47a UltraMode is okay for SBus cards with chiptypes of 1020A. 2000-01-14 08:46:37 +00:00
mjacob
0e0104d0e9 There is no readily available tool to set NVRAM on isp's on sparc,
so ignore it.
2000-01-14 08:43:17 +00:00
itohy
cf055ef630 Change the implementation of ms(4) polling to use timeout(9) software
interrupt in order to eliminate glitches on MPU interrupt levels.
I don't know whether this is a good solution, but it does work.
2000-01-14 08:22:42 +00:00
itohy
dbb0c078a5 - Do not lower interrupt level at clock interrupt.
The original code lowers level 6 to 4, and if a
  clock interrupt occurs in splzs (or similar) the
  system may be in unpredictable state.
  To do such a hack correctly, checking the original priority
  and duplicated clock interrupts would be required.
  For now, just disable the hack.

- Do not use clock interrupt for ms polling.
2000-01-14 08:21:22 +00:00
mjl
5a14e8cac6 On memory allocation failure, return 3 as per POSIX. (from OpenBSD) 2000-01-14 07:14:41 +00:00
mjl
ec1d133cd3 Eliminate hard coded buffer sizes in fgets() statements, use
strlcpy() to avoid buffer overflows, increase filename buffer
to MAXPATHLEN. (from OpenBSD)
2000-01-14 06:53:48 +00:00
mjl
9dff294326 Fix off by one error in string length calculation (from OpenBSD rev 1.6) 2000-01-14 06:21:25 +00:00
oster
ef035f5a7b Make more 80-column friendly. No functionality changes. 2000-01-14 04:03:52 +00:00
nisimura
034d6278cf Fix an argument error of wsmouse_input() call. 2000-01-14 03:28:13 +00:00
mjacob
4cb8fbf10d Print out the contents of an otherwise unreported undecodable
sense data buffer. This helps catch adapter breakage mostly.
2000-01-14 02:40:45 +00:00
nisimura
a6b81f14b1 Make suline() compilable for 68040. 2000-01-14 02:39:22 +00:00
mjl
e6ac440ed4 Implement login_cap capability lookup. 2000-01-14 02:39:14 +00:00
mjl
633ab39a92 Make setusercontext() resilient against missing login.conf too. 2000-01-14 02:14:42 +00:00
ad
3090e2a588 Put RCS ID in the right place. 2000-01-14 02:11:54 +00:00
ad
6aa5f51487 - Either QVT/Term or the NT 'clipboard' converts tabs to spaces. I pasted in
some code via QVT/Term. Sigh. Fix it.
- Teeny KNF nit.
2000-01-14 02:10:08 +00:00
ad
2db85d5948 - Add some extra TC ID strings that we should recognise. From simonb.
- Function definition and RCS ID spacing.
- Fix multiple inclusion goo to be like the new order of things.
2000-01-14 02:00:46 +00:00
mjl
6009387d42 Updated to cater for login classes. 2000-01-14 01:04:24 +00:00
oster
11e019370e "fix" a serious problem with RF_AccTraceEntry_t tracerec stuff.
XXX the "fix" is incorrect, but that makes it consistent with
some of the other code here.  A this point you should *not* be
thinking about using this code. (At all.) (And I mean it.)
2000-01-14 01:00:26 +00:00
oster
ee867c7fdf Add some debugging printfs. 2000-01-14 00:57:57 +00:00