Commit Graph

14148 Commits

Author SHA1 Message Date
leo e4b379c7c1 Only try to initialize the PCI-bus when NPCI > 0. 1998-02-24 13:02:06 +00:00
thorpej 89d112dd92 Switch this kernel to UVM. 1998-02-24 11:05:37 +00:00
thorpej 7027d87a18 Duh! Use uvm_km_valloc_wait(), NOT uvm_km_zalloc() to allocate user page
tables.  (Thanks for pointing that out, Chuck!)
1998-02-24 07:42:05 +00:00
thorpej 58509e699f Add support for UVM. 1998-02-24 07:38:01 +00:00
scottr a316576397 A change ripped out of i386/machdep.c:
--
When allocating bus space in bus_space_alloc(), use EX_FAST to find
the first fit in the map.  The previous behavior violated the principle
of least surprise (especially annoying when you're debugging space allocation
problems).  Suggested by Chris Demetriou.
1998-02-24 07:06:39 +00:00
scottr 15b125de34 ROM vectors and related information needed to support the Performa 588
(and quite probably all LC/Performa 580/588 models).  Thanks to
Yasuhiro Endoh for providing the necessary data.
1998-02-24 07:00:14 +00:00
scottr 6f382db074 The code compiled in by the MADHATTER option is now standard issue. While
here, do a bunch of KNF, particularly whitespace issues.
1998-02-24 05:59:34 +00:00
mycroft 78875d069d ofd -> ofdisk 1998-02-24 05:49:28 +00:00
mycroft 6bab18f8f1 Catch up with changes in dev/ofw. Add mainbus. 1998-02-24 05:45:51 +00:00
thorpej 7198bb7811 Set the VM page size after clearing the BSS segment. 1998-02-23 20:05:09 +00:00
thorpej a3a297cc40 Two purely cosmetic whitespace changes. 1998-02-23 18:45:44 +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
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
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
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
mycroft c1444078b5 Finish making this compile after libkern changes. 1998-02-22 15:25:28 +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
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
scw ef52501a4f Implement changes for UVM. 1998-02-22 11:33:10 +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 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
mycroft 065e369ab5 Remove random.s. 1998-02-22 08:35:33 +00:00
mycroft 8776736cea Move to libkern. 1998-02-22 08:34:35 +00:00
mycroft 4b6d15532b Nuke random.s. 1998-02-22 08:21:33 +00:00
mycroft 5a22434af5 Remove this copy of bzero(). 1998-02-22 08:19:05 +00:00
mycroft f118bc7042 Move to libkern. 1998-02-22 08:13:47 +00:00
mycroft ab5aeaa789 Clean up #include paths.
Copy prom2boot() from kernel source.
rename _rtt() to OF_exit(), and add a _rtt() that calls it.
1998-02-22 07:42:30 +00:00
mycroft 03f75a79ff Nuke the override of libkern SRCS from orbit. 1998-02-22 07:19:02 +00:00
mark 39ce947f1a Add missing interrupt enable callbacks lost during the adding of ATAPI
support. Spotted while working on MI wdc support for the ICS interface.
1998-02-22 02:36:22 +00:00
mark 05fa7c54a5 Clean up the comments and correctly indent them. Change various RiscBSD
references to NetBSD ones.
1998-02-22 00:31:00 +00:00
mark 550b5bff23 Guard spl related variables and pmsputbuffer() with #ifdef MOUSE_IOC_ACK.
Declare pmsputbuffer() as static.
1998-02-22 00:25:03 +00:00
mark a0ce540d73 Guard spl related variables and qmsputbuffer() with #ifdef MOUSE_IOC_ACK 1998-02-22 00:24:12 +00:00
mark a55279da6a Updated to use cpu_reset() rather than boot0().
Set cpu_reset_address to 0x00000000 for currently supported systems.
Update associated comments.
1998-02-22 00:08:16 +00:00
mark d011ec2573 Provide a prototype for cpu_reset(). 1998-02-22 00:05:56 +00:00
mark dc37a51773 In the future we may want to branch somewhere other than zero when
reseting the CPU. Rename the boot0() function to cpu_reset() and
provide a variable to hold the cpu reset address.
1998-02-22 00:05:00 +00:00
jonathan 78b939d4b5 Pull up duplicated CPP definitions from float.h rev 1.10:
>DBL_MIN and DBL_MAX were less precise than they should have been.
1998-02-21 23:50:24 +00:00
mark 44e22f7606 Fix a couple of unused variable warnings for RC7500 builds. 1998-02-21 23:40:03 +00:00