Commit Graph

42763 Commits

Author SHA1 Message Date
mark 61bd706797 Include machine/vmparam.h 1998-08-25 21:56:14 +00:00
mark bd14bb41f0 Define KERNEL_PD_SIZE in terms of various constants defined in vmparam.h 1998-08-25 21:55:06 +00:00
mark cda0e37703 Collect various kernel constants together and define them in all one
place (some moved from param.h)
Define several constants such as page table addresses in terms of other
constants.
Increase some of the limits :
  MAXTSIZ	8MB -> 16MB
  DFLDSIZ	16MB -> 128MB
  MAXDSIZ	256MB -> 512MB
  DFLSSIZ	512KB -> 2MB
1998-08-25 21:53:37 +00:00
mark 4e8239cdca Removed a number of kernel constants as they have moved to vmparam.h 1998-08-25 21:50:54 +00:00
ross f670fa10c5 Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
ross 029a64cc29 from Erik Bertelsen <erik@mediator.uni-c.dk>
{ put } { in } { lots } { of } { these } { to } { shut } { up } { egcs }
1998-08-25 19:18:12 +00:00
ross 12eb02fc43 {} "fix" for lame egcs warning, from Erik Bertelsen <erik@mediator.uni-c.dk> 1998-08-25 19:11:11 +00:00
thorpej b42b94b608 Shave yet more translation ops from the inner loops of pmap_protect(). 1998-08-25 18:21:17 +00:00
ragge 218681f3e5 Kernel stach should be 4K, not 32K. Increase MCLSHIFT to 11.
Remove ovbcopy().
1998-08-25 17:35:23 +00:00
tv 8cfe18e8d3 Add CWARNFLAGS+=-Wno-format-y2k. 1998-08-25 15:13:16 +00:00
tv eb6956eecf Introduce CWARNFLAGS, idea from kernel Makefiles, which goes after "-Wall
..." in the CFLAGS and can be set in directory Makefile or mk.conf.
1998-08-25 14:57:21 +00:00
lukem 8d2c1463af document check_disklabels 1998-08-25 13:50:45 +00:00
lukem 3a3b03bdd7 * if $check_disklabels=YES, backup and compare of disklabels of current disks.
should detect added or removed disks as well. backup labels go in
  /var/backups/disklabel.XXX (XXX = disk name, e.g., sd0), and the
  changelist style backups have .current or .backup suffixes
* minor whitespace, formatting, and comment cleanup
1998-08-25 13:47:29 +00:00
augustss a48f7d8a24 Attach the OPL FM synth to the ESS driver.
It probes, but alas, no sound.
1998-08-25 12:52:47 +00:00
tv 450705382c Back out previous. -Wuninitialized is disabled in the latest egcs
sources, and -Wno-format-y2k is inserted into the proper Makefiles only
(as this is likely to become a permanent option).
1998-08-25 12:04:59 +00:00
matthias fb5e3aef9b For the pc532 MACHINE (pc532) isn't equal to MACHINE_ARCH (ns32k) but there
is no sys/arch/ns32k.
1998-08-25 11:52:26 +00:00
thorpej 2fa5652849 Break the code that cleans out page tables from pmap_remove_mapping() into
separate functions that perform the cleanout starting at the l3pt, l2pt,
or l1pt.
1998-08-25 09:00:19 +00:00
pk af5a3e52a5 yanko 1998-08-25 08:28:53 +00:00
lukem 26afa02db6 * implement -x; extended disk statistics. option inspired by solaris' iostat.
* fix a few typos
* a bit of KNF and egcs cleanup
* add a HISTORY (hopefully correct)
1998-08-25 08:05:47 +00:00
thorpej 33caa59da3 Optimize the pmap_protect() loop. Will make a similar change to pmap_remove()
once some changes are made to how pt pages are cleaned up.
1998-08-25 08:00:15 +00:00
ross 57b46db5d1 Add -Wno-uninitialized -Wno-format-y2k, with an attached XXX 1998-08-25 07:46:23 +00:00
ross 66fcc15333 Kill the CFLAGS+=-Wno-format-y2k; see the log message for bin/ps/Makefile 1998-08-25 07:44:16 +00:00
ross 17dbc471f0 Kill the CFLAGS+=-Wno-format-y2k which will go, for now, into bsd.sys.mk
It wasn't working anyway, although that could have been fixed by moving it
down below the .include <bsd.prog.mk> line.

It's not completely clear that this usage of %y is in fact y2k-safe, it
seems safer for now to have a single XXX option in bsd.sys.mk, and we need
to rev this anyway for -Wno-uninitialized
1998-08-25 07:43:20 +00:00
thorpej b7fb6e1711 Change pmap_changebit() to take a mask of bits to set, and a PTE mask,
shaving several instructions out of the inner loop.
1998-08-25 06:21:16 +00:00
thorpej daa8ad1747 Add some braces to make egcs happy. 1998-08-25 04:56:01 +00:00
thorpej 9f42788795 Add some braces to make egcs happy. 1998-08-25 04:43:46 +00:00
thorpej 2cffea3962 Use do { ... } while (0) in RTFREE(). 1998-08-25 04:22:33 +00:00
scottr 2d981dac3b The return value from intr_dispatch() is no longer necessary. 1998-08-25 04:03:56 +00:00
scottr 2aa56b1c61 Implement splaudio(). 1998-08-25 03:59:01 +00:00
mark f920e4e2d6 In physconinit(), don't use printf() to clear the screen but call
the console's putstring function directly.
1998-08-25 03:26:36 +00:00
mark b75234f009 Add calls to cpu_cache_cleanID() after calling setttb() during initarm().
This is necessary as the memory addresses being used for the cache clean
(if the CPU is a SA110) may have been remapped by the setttb() call and
thus the cache could loose sync with memory.
1998-08-25 03:10:25 +00:00
nisimura e37ce1c5b6 Make spl(9) rountines target port dependent. delay() is also port
dependent anticipating a target with high resolution timer available
for on-the-fly re-programming.  Enum decstation_t was removed from MI
trap.c.
1998-08-25 01:55:38 +00:00
thorpej 9c3e900094 Use the pool allocator for pmap structures. 1998-08-25 01:46:01 +00:00
hubertf 2fb1caee16 Pass prefix for depending pkgs. 1998-08-25 01:16:03 +00:00
thorpej 7ff538b614 Oops, use M_VMPMAP as the malloc type in pool_init(). 1998-08-25 01:11:11 +00:00
thorpej 4dfff51650 Use the pool allocator to allocate pmap structures. 1998-08-25 01:09:04 +00:00
thorpej 85c6c03e2a Change the 32-bit fields of the RFA to an arrays of bytes, so that
egcs won't attempt to optimize inline copies of them into a single
load/store (the RFA is not 4-byte aligned in the DMA area).

Just use memcpy() to copy those fields, now, not our own home-grown.
1998-08-25 01:08:15 +00:00
hubertf d54f140300 Remove some trailing (extra) "."s. 1998-08-25 00:54:08 +00:00
hubertf 1285035fe7 Don't exit cleanup() functions if not called from signal handler - this
will show error messages before aborting.
Patch supplied by Jim Bernard <jbernard@ox.mines.edu> in PR 6010, cleanup()
in delete/perform.c prepared to be used as signal handler by me.
1998-08-25 00:12:16 +00:00
matthias 6caa7ce3d9 MEM now has a rtx length of two. Take this into account in calc_address_cost. 1998-08-24 22:54:25 +00:00
matthias 04232f6196 declare end[] everywhere the same, fix an egcs "missing braces" warning. 1998-08-24 22:52:23 +00:00
mrg 514a5d2570 vm_page_bootstrap takes vaddr_t *'s not paddr_t *'s 1998-08-24 22:36:36 +00:00
hubertf 814a994a5e Replace some homegrown string-functions with standard-<string.h>-macros.
Reported by Joseph Myers <jsm28@cam.ac.uk> in PR 6028.
1998-08-24 22:26:23 +00:00
hubertf 5f3ed2ad7d Kill unused parameters, per PR 6023 by Joseph Myers <jsm28@cam.ac.uk>. 1998-08-24 22:07:37 +00:00
drochner 103b7e7b17 The Intel 82371MX identifies itself erroneously as a miscellaneous bridge.
(from "Johnny C. Lam" <lamj@stat.cmu.edu> per PR kern/6021)
1998-08-24 19:27:05 +00:00
tv fe17f99289 Remove files obsoleted in egcs 1.1. 1998-08-24 19:17:11 +00:00
tv 8bbd864248 Import of egcs libstdc++ 1998-08-24 snapshot 1998-08-24 18:45:53 +00:00
tv 687193cf68 Resolve corn flakes. 1998-08-24 18:28:20 +00:00
tv 3fe379ca4b Bugfix import of egcs 1.1, 1998-08-24 snapshot. 1998-08-24 18:00:40 +00:00
augustss 4e7c07c2b4 Write MIDI data from the sequencer to the device in a more sane way. 1998-08-24 17:59:25 +00:00