Commit Graph

37501 Commits

Author SHA1 Message Date
chuck
5ad9218203 fix uvm-related protection error: we can't write protect the
vmcmd_map_readvn() area until after we do vn_rdwr().  should fix
problem reported by sean doran.
1998-02-23 18:53:22 +00:00
thorpej
a3a297cc40 Two purely cosmetic whitespace changes. 1998-02-23 18:45:44 +00:00
drochner
4f80f2803f Add a diagnostic panic() to catch attempts to call vm_page_unwire() with
an unmanaged page argument. This can lead to unpredictable results,
depending on the pmap interface (ie, MACHINE_[NEW_]NONCONTIG).
1998-02-23 14:37:00 +00:00
drochner
49c1580874 -make compile without BROKEN_INDIRECT_CONFIG
-don't include <machine/pio.h>
1998-02-23 14:12:18 +00:00
jonathan
5e0e8cec39 More table-driven changes for different toolchains:
* new bsd.own.mk variable OBJECT_FMT with values "a.out" or "ELF".
  * use OBJECT_FMT in Makefile tests that depend on toolchain.
  * Add new bsd.own.mk variable NOSHLIB that, if set indicates a given
    port doesnt yet do shared libraries. Set on powerpc.
  * Document new feature-test variables in src/share/mk/bsd.README.
Tested on i386, mips, fakedup Alpha environment.
1998-02-23 10:09:31 +00:00
scottr
c285c9fbfa Remove the limit on bufpages we picked up from i386 in 1993
(which was removed from that port not long after), as it's not
an especially meaningful test.

Also, bump the number of swap buffers allocated to 3/4 the amount
of file i/o buffers (taken from the Amiga port).
1998-02-23 07:24:44 +00:00
lukem
63e548eb1d exclude 127.127 servers when automagically determining ntpdate hosts 1998-02-23 05:20:52 +00:00
mycroft
ee0b9799e7 Fix layout of powerpc_saved_state; copy in saved MSR. 1998-02-23 03:23:05 +00:00
mycroft
79f597383e Fix layout of powerpc_saved_state. 1998-02-23 03:22:16 +00:00
mycroft
d387a356c8 Clean up, add physadr. 1998-02-23 03:21:40 +00:00
scottr
c1a185be97 Mostly KNF. There's still a bunch of ugly comments and some problems
with long lines, but this is at least a big step in the right direction.
1998-02-23 03:11:26 +00:00
scottr
e50238f77a Rewritten II-series ADB code from John Wittkoski. Also, a whole
lotta KNF.
1998-02-23 03:09:40 +00:00
mycroft
d56d21012f Slight rearrangement. 1998-02-23 01:54:26 +00:00
jonathan
90ba84a41a Remove WARNS= 0 from HEAD. 1998-02-23 01:04:08 +00:00
jonathan
f0409ef098 Descend into gprof on all ports to build doc/psd/18.gprof.
Don't define PROG in gprof on ELF or powerpc.
Put back WARNS= 0 for compatibility with 1.3.1.
1998-02-23 01:03:25 +00:00
is
85c6760e2d Initialize keyboard structures also from kbdopen(), if necessary.
To do this, move the flag variable to kbdenable().
This will make kernels with serial console provice a working keyboard driver.
1998-02-23 00:47:30 +00:00
jonathan
a369db44b3 Add more LINKS+= lines to make (hard) links from libtermcap to libterm as
required by ELF toolchain.

Don't use symlinks links as bsd.lib.mk does for ELF, because
bsd.link.mk creates symlinks before it creates the hard link.
1998-02-23 00:31:07 +00:00
mark
1876c03a83 Only include armfpe.h if we are building FPE support into the kernel.
Missed from the last commit.
1998-02-22 23:45:13 +00:00
mark
c67078a448 Update arm_fpe_[gs]etcontext() functions to take a struct fpreg pointer
as the second argument.
1998-02-22 23:39:53 +00:00
mark
5a2727a17e Fix arm_fpe_[gs]etcontext() prototype declarations to take a
struct fpreg pointer as the second argument.
1998-02-22 23:38:18 +00:00
mark
b9ce4e7ddb Include arm32/fpe-arm/armfpe.h for arm_fpe_[gs]etcontext() prototypes.
Remove unnecessary include files and cleanup some dead code.
1998-02-22 23:35:45 +00:00
is
7667dac2d2 Actually fix, rather than mask, the Amiga big machine panic: the pmap needs
to (pre)allocate enough kernel page table pages to (among others) map the
buffer cache buffers.
1998-02-22 22:51:46 +00:00
kleink
e32643d8e3 Update to reflect that copy*str() implementations must be able to handle NULL
being passed in the 'done' argument.  Also, s/NULL/NUL/ where appropriate.
1998-02-22 17:38:35 +00:00
christos
a06495e3c4 WARNSify 1998-02-22 15:40:39 +00:00
mycroft
c1444078b5 Finish making this compile after libkern changes. 1998-02-22 15:25:28 +00:00
mycroft
a81d3c2db8 Fix omission in last. 1998-02-22 15:24:08 +00:00
mycroft
b20ba808f2 Clean up after ffs() change.
Do *not* set runtime here; the way it was done was highly bogus, and the value
just gets blasted right away by mi_switch().
1998-02-22 15:13:36 +00:00
mycroft
bf94e4e2cd Copy up. 1998-02-22 15:11:28 +00:00
mycroft
a51494cbe3 Expose ffstab as __ffstab. 1998-02-22 15:11:01 +00:00
christos
c727065ddd WARNSify 1998-02-22 14:57:28 +00:00
drochner
e225b4cbdd -check MBR signature before using MBR partition data
-add new FAT types and Linux EXT2 to the faked-up partition table
1998-02-22 14:48:27 +00:00
drochner
74b401ffd1 -correct misleading name and comment for MBR partition type 14
-add FAT32 and EXT2FS
1998-02-22 14:45:43 +00:00
ragge
1e3fb9012d Type fix so that time get read correct on VS2000, from Ken Wellsch. 1998-02-22 14:19:39 +00:00
mycroft
1638d144ca Always go to splhigh() inside DDB. 1998-02-22 14:07:21 +00:00
christos
795e0608f6 WARNSify 1998-02-22 12:55:44 +00:00
hannken
1bb761e96f Didn't compile with option MEMORY_DISK_HOOKS. 1998-02-22 12:53:53 +00:00
christos
0499e8aedb WARNSify 1998-02-22 12:17:31 +00:00
christos
3404312dcc This has been WARNSified.. 1998-02-22 12:17:24 +00:00
christos
b4cc7532f2 WARNSify 1998-02-22 12:08:33 +00:00
scw
ef52501a4f Implement changes for UVM. 1998-02-22 11:33:10 +00:00
mycroft
8a66afbcba Move random() from kernel. 1998-02-22 09:33:27 +00:00
mycroft
bb0363853f ffs() is identical to the one from libc, so just use that.
Move random() to libkern.
1998-02-22 09:31:00 +00:00
mycroft
8ad4f24f50 Add memcpy() and memset(), and sort. 1998-02-22 09:18:38 +00:00
mycroft
79376487cb Sync with libc. 1998-02-22 09:13:16 +00:00
mycroft
d0daf2d571 Add the same protection as other files have for _KERNEL, which at least works
for the kernel.
1998-02-22 09:12:57 +00:00
mycroft
4477c62148 Add various things from libc. 1998-02-22 09:08:34 +00:00
mycroft
f948529426 Add some more items to KMSRCS. 1998-02-22 09:04:50 +00:00
mycroft
5ba0f1cae2 Move random.S from kernel. 1998-02-22 08:53:33 +00:00
mycroft
533de19431 Remove random.s. 1998-02-22 08:51:04 +00:00
mycroft
dcfb8695ab Move to libkern. 1998-02-22 08:50:17 +00:00