Commit Graph

25310 Commits

Author SHA1 Message Date
thorpej 2bf5021447 - Use <errno.h>, not "extern int errno."
- Define FPU constants.
1997-02-02 07:53:16 +00:00
thorpej f10c97e7e7 zeropage -> devzeropage, and make it static. 1997-02-02 07:29:35 +00:00
thorpej 2a1f46c2d5 Gerbage-collect extra copypage() 1997-02-02 07:27:48 +00:00
thorpej f5c8779ed3 zeropage -> devzeropage, and make it static. 1997-02-02 07:17:14 +00:00
thorpej e38eb392aa - Set cputype and mmutype (XXX we set 68040 in the 68060 case)
- garbage-collect extra copypage()
1997-02-02 07:15:05 +00:00
thorpej c4756a90f1 Define CPU, MMU, and FPU constants. 1997-02-02 07:05:52 +00:00
thorpej de70c1051d prototype mappedcopy{in,out}(), {copy,zero}page(). 1997-02-02 06:56:57 +00:00
thorpej 9568fcee35 Build mappedcopy.c conditional on "options MAPPEDCOPY" 1997-02-02 06:55:15 +00:00
thorpej e9eba07a8f Add the Utah mappedcopyin/mappedcopyout functions to a common m68k
area.  These functions are designed to improve performance of large
copyin/copyout operations by mapping the user page in to the kernel
address space and using bcopy(), rather then copying across protection
boundaries.

XXX This doesn't work yet -- the way it's called doesn't obey C calling
XXX conventions.  That will be fixed soon.
1997-02-02 06:54:10 +00:00
thorpej 7dae9fb29b Add two optimized functions used by pmap.c:
- copypage() -- a single page-aligned NBPG-byte copy.
- zeropage() -- a single page-aligned NBPG-byte zero.
These functions don't play around with alignment, etc.  Their use
causes a measureable performance improvement in pmap_copy_page()
and pmap_copy_page().

A few m68k ports already had copypage() in their locore.s.  It has
been moved here so it can be shared.
1997-02-02 06:50:06 +00:00
thorpej 834bef67f2 If the user has halted the system, allow them to press a key to reboot. 1997-02-02 05:33:30 +00:00
thorpej 6dc3c24a7c Add missing \n in printf format for "cannot mount root" error message.
Pointed out by cgd@netbsd.org
1997-02-02 02:55:06 +00:00
carrel 31ff345489 My config files. To quote from thorpej: "for kicks". 1997-02-02 00:23:23 +00:00
thorpej 312e813007 Oops, need PFIL_HOOKS. 1997-02-02 00:11:33 +00:00
thorpej f28303c413 - Garbage-collect a kludge necessary when we were using old config.
- Synch the "clean" rule with the i386 port's.
- Add a commented-out rule for generating assym.h w/ the new genassym.sh.
  Some slight changes need to be made to genassym.h to make it work with
  m68k, so we can't use it just yet.
1997-02-01 23:55:10 +00:00
scottr 37fbc156dc Now that we can compile without warnings, enable -Werror 1997-02-01 21:55:23 +00:00
mrg 96c21c1fcf no need to delcare mcount here; fixes warnings(errors) when compiling a kernel with profiling. 1997-02-01 20:56:40 +00:00
carrel eb7a3e7987 Display names for more frame buffer types
Patch from Klaus Klein.  Fixes port-hp300/3039
1997-02-01 13:04:36 +00:00
lukem 4c7551e4f0 don't display negative ETA upon SIGINFO because filesize isn't known 1997-02-01 11:26:34 +00:00
lukem 3a50014d60 [Yet Another Huge Ftp Commit - hopefully the last for a while,
barring any more little things people want added ...]

New features:
* progressmeter is now asynchronous, so "stalled" transfers can be
  detected. "- stalled -" is displayed instead of the ETA in this case.
  When the xfer resumes, the time that the xfer was stalled for is
  factored out of the ETA. It is debatable whether this is better than
  not factoring it out, but I like it this way (I.e, if it stalls for 8
  seconds and the ETA was 30 seconds, when it resumes the ETA will still
  be 30 seconds).
* verbosity can be disabled on the command line (-V), so that in auto-fetch
  mode the only lines displayed will be a description of the file, and
  the progress bar (if possible)
* if the screen is resized (and detected via the SIGWINCH signal), the
  progress bar will rescale automatically.

Bugs fixed:
* progress bar will not use the last character on the line, as this can
  cause problems on some terminals
* screen dimensions (via ioctl(TIOCWINSZ)) should use stdout not stdin
* progressmeter() used some vars before initialising them
* ^D will quit now. [fixes bin/3162]
* use hstrerror() to generate error message for host name lookup failure.
* use getcwd instead of getwd (it should have been OK, but why tempt fate?)
* auto-fetch transfers will always return a positive exit value upon failure
  or interruption, relative to the file's position in argv[].
* remote completion of / will work, without putting a leading "///".
  This is actually a bug in ftpd(1), where "NLST /" prefixes all names
  with "//", but fixing every ftpd(1) is not an option...
1997-02-01 10:44:54 +00:00
matthias cd80e9aae6 remove second RCS-Id line. 1997-02-01 09:51:48 +00:00
matthias 1a9434cf9f fix a typo 1997-02-01 09:34:03 +00:00
matthias a6befcbede * clean, depend :: -> : change
* use genassym.sh to create assym.h
1997-02-01 09:23:02 +00:00
cgd 9eb66b4bab back out some of the previous change. In particular, go back to
#defining MALLOC/FREE to use malloc()/free() if DIAGNOSTIC (not DEBUG)
since DIAGNOSTIC is what enables freelist consistency checking, and
don't force the definition of KMEMSTATS if DEBUG is defined (there's no
reason to, since users can do it themselves if they want it).
1997-02-01 05:33:32 +00:00
ghudson fc073ea198 Document the meaning of gid 0 to the su command. 1997-02-01 02:46:38 +00:00
cgd 3d3f4afbea use cnpollc() appropriately in getstr() 1997-02-01 02:28:48 +00:00
mhitch e65c38353c Use the disk offset to the boot block (first block in the partition) to
pass the block number of the boot partition to the kernel.  The kernel
will use the block number to determine which disk device the kernel was
booted from and set the boot device based on that instead of the old
"generic" method.
1997-02-01 01:46:26 +00:00
cgd 1a0b411d75 list 'a'+MAXPARTITONS-1, rather than just 'a'+MAXPARTITIONS, as last partition 1997-02-01 00:39:14 +00:00
mhitch 3af372d68a If the bootloader passes the boot partition offset, try to determine which
disk device was the boot device and use that for setroot().
1997-01-31 23:26:10 +00:00
mhitch 965c7a43fe Get the boot partition offset from the boot loader. Also pass it when
doing a reload.  The partition offset will be used to determine which
disk device was the boot device.
1997-01-31 23:18:56 +00:00
ghudson b440233d15 Document the recent change in group wheel semantics. Also, it wasn't
previously documented that anyone could su to root if group 0 didn't
exist.
1997-01-31 23:12:17 +00:00
carrel 3d7d96333d add NetBSD CVS ids 1997-01-31 23:12:12 +00:00
carrel 914d884a22 fixed grfinfo to properly display errors
added man page
1997-01-31 23:06:52 +00:00
carrel 05c0e704dc Make "options HP340" actually work without having "option HP360". 1997-01-31 23:01:21 +00:00
mhitch d8489a6f7e "options GENERIC" is obsolete, don't need the prototype for setconf() anymore. 1997-01-31 22:59:19 +00:00
mhitch 78d0024855 "options GENERIC" is obsolute. 1997-01-31 22:55:42 +00:00
gwr 186a6ad683 Add include <machine/mon.h> so this compiles, etc. 1997-01-31 22:33:47 +00:00
ghudson 1b6b85b894 As discussed on tech-userlevel, allow anyone to su if group wheel has
no members (if you have just "root" as a member, which is the shipped
default, then no one can su, as before).
1997-01-31 22:22:47 +00:00
pk 1cdfe6e18c Simplify a bit by using `next' statements, eliminating the `matched' variable.
Also, ignore lines with just whitespace, instead of reporting a syntax error.
1997-01-31 21:56:28 +00:00
pk d4e0e6e7a3 - remove two debugging (apparently) lines.
- generate a `return(0)' at the end of the generated `int main()'.
- append a newline when printing the rest of a `^quote[ ]+' line.
1997-01-31 21:38:16 +00:00
carrel 32f2102a58 Patch from thorpej to mark non-console grf's and ite's alive. 1997-01-31 21:16:50 +00:00
thorpej 2c94d6307c Fix typo introduced in new setroot code. (There's only just a little
irony in that, eh?)

From Klaus Klein <kleink@layla.inka.de>, PR #3173.
1997-01-31 20:20:53 +00:00
thorpej 604572daf0 This file is now obsolete. 1997-01-31 19:11:31 +00:00
thorpej 2ca27c5550 Garbage-collect "argdev". 1997-01-31 19:10:27 +00:00
cgd 95963edf4f add KMEMSTATS to ALPHA, clean up ports diagnostic/debug options 1997-01-31 18:00:33 +00:00
fvdl ffffefac59 nfsrv_readdirplus also suffered from the off-by-one loop problem; fix it too. 1997-01-31 16:12:26 +00:00
veego 87ba0ff405 :: -> : (pr #3154 with a minor change) 1997-01-31 10:16:07 +00:00
veego 8a514d0afa Remove the last change. fil.fr_icode ist char and NOT unsigned char.
Fix pr#3169
1997-01-31 10:10:11 +00:00
thorpej a2ea85a36d Faily major kernel change went in today; bump date to 199701 and
version to 1.2C.
1997-01-31 09:30:05 +00:00
thorpej bcdef359ef Fairly major kernel change went in today; bump the version to 1.2C. 1997-01-31 09:28:05 +00:00