Commit Graph

478 Commits

Author SHA1 Message Date
minoura f4316c1145 Tribial optimizations. 1999-05-21 15:32:38 +00:00
minoura 1567b0074d Sync GENERIC. 1999-05-21 15:15:33 +00:00
minoura fcb74cccfa Remove experimental/buggy options. 1999-05-21 15:08:27 +00:00
lukem e4a87aa1a9 * convert to using MI allocsys(). most ports were using an MD allocsys(),
although a couple still used the old pre-4.4-lite (?) mechanism.
* use format_bytes() to format the various printf()s that print out memory sizes
1999-05-20 08:21:42 +00:00
minoura 6e67e063ff Disable on-chip cache for PT and ST pages for '060 stability. 1999-05-19 14:06:59 +00:00
thorpej f98d358a1f Rework layer 2 protocol input routines. Instead of calling e.g. ether_input()
directly, call the function pointer (*if_input)(ifp, m).  The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary.  Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.
1999-05-18 23:52:51 +00:00
nisimura 7a50b38cbd - Adjust descriptive comment of cpu_fork() which returns nothing and
returns once.
- Minor fixes in mips/vm_machdep.c.
1999-05-14 02:11:59 +00:00
thorpej c10a926030 Allow the caller to specify a stack for the child process. If NULL,
the child inherits the stack pointer from the parent (traditional
behavior).  Like the signal stack, the stack area is secified as
a low address and a size; machine-dependent code accounts for stack
direction.

This is required for clone(2).
1999-05-13 21:58:32 +00:00
minoura d1954679df Missing #if for 060. 1999-05-13 14:24:27 +00:00
minoura 40594d5dfa 060 is much faster than Chuck thought according to Ken Midorikawa
<k-mid@msg.biglobe.ne.jp>
Print both the core clock and the bus clock on 040/060 machines.
1999-05-13 14:23:42 +00:00
kleink 6290fed1b6 SVR4-related typo in previous. 1999-05-06 14:16:07 +00:00
minoura db3bdbe86c Shut up gcc -Wall. 1999-05-05 14:31:16 +00:00
minoura ad762a0b97 Use mvme68k-derived delay routine.
Now that we support various models, the old constant-loop delay routine
may cause problems.
1999-05-05 13:46:20 +00:00
minoura 3fe3e5261b Add missing ia_size argument. 1999-05-05 13:41:44 +00:00
minoura 7cebd447fb Move config_console to ensure that it is always called. 1999-05-05 13:41:19 +00:00
minoura 63a9944d93 mem_exists was called with wrong 2nd argument.
Because of this, >12MB high memory was not detected.
1999-05-05 13:38:51 +00:00
christos ef6e15ad0e Include opt_compat_sunos.h 1999-04-30 16:50:44 +00:00
minoura ed3c676245 Branch address was wrong. 1999-04-30 15:31:18 +00:00
kleink e1529b8f93 Pull in the right generic m68k header. (Where was my mind?) 1999-04-29 14:38:39 +00:00
minoura ab5806d4b8 Message cosmetics. 1999-04-28 16:17:42 +00:00
minoura ea485e0d51 Handle fpunimp properly for fpu_emulate. 1999-04-28 16:16:58 +00:00
thorpej b8073b401b Garbage-collect the VM_MBUF_SIZE constant. Instead, use the size
(nmbclusters * mclbytes), so that the right amount of KVA space is
allocated if those variables are patched.
1999-04-26 22:46:44 +00:00
simonb 5d8b1ef3e4 g/c REAL_CLISTS. 1999-04-25 02:56:26 +00:00
minoura 43d6c498cc I deleted a necessary line by mistake. 1999-04-22 16:22:49 +00:00
minoura f9afee1b29 Bus error occurred on such machines without the SCSI ROM.
Insert badaddr() check before read the ROM.
1999-04-22 12:55:53 +00:00
chs 05b971dd5f in pmap_pageable(), rather than marking a PT page as not modified
to trick the pagedaemon into freeing it later, just unmap the page
and free it immediately.  fixes PR 7337.
1999-04-22 04:24:52 +00:00
kleink ed74932033 Add COMPAT_SVR4 for m68k. 1999-04-19 21:22:56 +00:00
minoura 35d1114201 Add missing par0. 1999-04-18 15:43:21 +00:00
minoura 26b74e1082 Handle T_ILLINST in kernel mode.
This occurs in fpu_probe() when the FPU is not installed on the system.
Because of this, FPU_EMULATE wouldn't work at all.
1999-04-18 14:39:10 +00:00
minoura 4fcf23e9b0 Handle F line emulation correctly when FPU_EMULATE is enabled. 1999-04-18 14:37:09 +00:00
minoura 8eb1fd77e9 Do not memcpy to the bouncebuffer in datain. 1999-04-18 00:38:58 +00:00
minoura bb2c24d761 More size hacks. We can now run the installer on 4MB machines. 1999-04-14 14:13:11 +00:00
minoura c12f6d6d4b Reduce the kernel size.
- Disable many options and devices which is not required to install.
 - Decrease the MINIROOTSIZE to fit with the actual embedded image.
1999-04-12 16:11:53 +00:00
chs f455dd6596 add a `flags' argument to uvm_pagealloc_strat().
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.
1999-04-11 04:04:04 +00:00
minoura 6733198ebd Fix the startup message.
attach_hook is now called without "mdX: " prefix.
1999-04-09 15:41:15 +00:00
minoura eb2c78dd2d Typo. 1999-04-01 14:11:21 +00:00
thorpej 967b8c433c Don't call configure() from cpu_startup(). 1999-04-01 00:17:45 +00:00
minoura 35b6e71f52 Enable rnd. 1999-03-31 15:38:32 +00:00
minoura 004b01c5ba Some trivial size reductions. 1999-03-31 15:38:06 +00:00
minoura d264521334 Mapped copy was always disabled. 1999-03-31 14:22:21 +00:00
minoura 2c62712a32 Remove unused files. 1999-03-30 04:29:09 +00:00
minoura d39738d85b Remove options (SWDEV|SWAP|VNODE)PAGE 1999-03-30 04:27:08 +00:00
minoura eabdc25095 Update dependency. 1999-03-30 04:26:01 +00:00
minoura 929875f387 G/c obsoleted devices. 1999-03-30 04:25:36 +00:00
minoura d808d6f5ff defopt EXTENDED_MEMORY and ITE_KERNEL_ATTR. 1999-03-30 04:25:07 +00:00
minoura 67ce202cb5 Fixed the bug described in the previous commit log.
Re-enabled the title image.
1999-03-28 14:03:36 +00:00
minoura 1dab9bf74a Work around for broken unzip routine.
Transition to egcs seems to have broken the trickily hacked inflate routine.
Disable the hack and size-consuming title image for a while.
1999-03-27 15:01:34 +00:00
mycroft 93768384ee Fix a bug in pmap_collect_pv(), even though nobody currently uses it:
When we put a page on the collection list, we must subtract NPVPPG from the
total free count: one for each pv_entry that's free in that page, and one for
each free pv_entry in other pages that we're going to eat by moving the ones
in the page being collected.
1999-03-27 05:57:02 +00:00
mycroft 9affa543a5 Oops; forgot to change some pmap_enter() calls. 1999-03-27 03:34:08 +00:00
wrstuden 2adccc50fa Add pps support. Only enable pps if CLOCAL & !MDMBUF. 1999-03-27 01:21:36 +00:00