Commit Graph

24642 Commits

Author SHA1 Message Date
thorpej
5c7e0ada43 Use a pool cache for L1 PT pages. When we can allocate a cached,
constructed L1 PT page, this saves us from having to copy the kernel
L1 PTEs into the user L1 PT page at fork time (it's already set up).

A simple test shows a 1 second improvement of a rapid fork/exit operation
10000 times on a 533MHz 21164A (12s to 11s).
2000-12-07 05:59:07 +00:00
matt
f7b27589e3 Enable VS4000/90 SCSI controller in INSTALL kernel. 2000-12-07 01:24:25 +00:00
eeh
873101cd21 Fix a bug in rwindow_save() that always wrote out window 0 in 64-bit
code and caused problems with ksh.
2000-12-07 01:05:55 +00:00
eeh
297dba1163 Add a call to db_esp() and make `mach phys /u' read user addresses. 2000-12-07 01:03:17 +00:00
eeh
660d1fc6c7 Fixup calculating where fpstate should be saved in the signal trampoline
code so it doesn't overwrite something important like the registers.
2000-12-07 00:59:42 +00:00
eeh
a5a8c50c48 Initialize pcb_lastcall so db_dump_pcb() will not bomb on non-DEBUG kernels. 2000-12-07 00:53:29 +00:00
matt
a8ea1009e7 Add ThinkPad 820 audio driver (attaches but does not yet work). 2000-12-06 23:42:34 +00:00
is
7223efb0b9 Make this new-GAS ready. Code by Steve Woodford. 2000-12-06 21:31:05 +00:00
chs
4fa4734937 go back to the first version of the pte/pde dance now that kvtopte()
has been changed to consisently return a pointer into the recursive
page table mapping.
2000-12-06 03:20:35 +00:00
chs
2a95fc3517 in kvtopte(), return the mapping of the pde in the recursive page-table
mapping space rather than the mapping in the kernel address space.
2000-12-06 03:13:47 +00:00
simonb
7ca0abc4db Use 'make print-objdir' to get obj directory instead of guessing. 2000-12-06 02:35:19 +00:00
mrg
703ec39a02 fix warnings in DEBUG & DIAGNSTIC code. 2000-12-06 01:47:49 +00:00
scw
ac80517816 Add some #defines for offsets into the bugargs structure, and make the
register names usable within assembly code.
2000-12-05 21:57:13 +00:00
scw
86c7dac956 Replace the startup C code with assembler, which avoids having to
explicitly tell the compiler what registers the Bug args come in on.
2000-12-05 21:54:33 +00:00
scw
7da5cde117 bootxx doesn't need the code relocating stub linked in. 2000-12-05 21:51:38 +00:00
scottr
7fdcf44432 Don't reference a zs-specific variable unless NZSC is not zero.
Fixes PR 11566.
2000-12-05 21:38:38 +00:00
scw
634dc65636 Backout the last change; I'll deal with it another way. 2000-12-05 19:54:09 +00:00
scw
1f9f7cbe53 UPAGES -> 2 as recommended by Chuck Silvers. 2000-12-05 18:46:10 +00:00
scw
2ec144518f Add loadfile_machdep.h to list of installed machine headers. 2000-12-05 18:42:18 +00:00
scw
37f5782c0a Update pm_stats.resident_count when entering pages in the kernel pmap. 2000-12-05 16:07:39 +00:00
jdolecek
94e024dc14 constify 2000-12-05 10:45:09 +00:00
jdolecek
dae7d6d77c actually, pte is normally in user address space, but can also be in kernel
address space for LARGEPAGES kernel; to handle both, do the same dance
as for loc
2000-12-05 10:26:12 +00:00
mycroft
e4ae5a1406 In mem_regions(), deal with the case of a run of consecutive holes.
Now the cube works with the memory in any order.
2000-12-05 05:16:00 +00:00
briggs
e7a6bcd6eb Add the DrHw Apple 24AC "Boogie" video card.
Thanks to Lucas Lay <segfault@mac.com> for digging it up.
2000-12-05 05:05:52 +00:00
briggs
3503f0999b Add defines for:
Apple WGS SCSI / cache card
	FWB JackHammer SCSI card
2000-12-05 05:02:36 +00:00
bjh21
2caf09a602 regen 2000-12-05 00:44:21 +00:00
bjh21
1bdf317d96 Add the 16bit podules I got from abs (ColourCard, Centronics, sampler, MIDI). 2000-12-05 00:43:55 +00:00
scw
bfcd71c79c Clean up the build process to ensure libsa/libbug are built
before linking the bootloaders.
2000-12-04 21:25:57 +00:00
scw
349445391c Make this work with the ELF tape bootloader. 2000-12-04 21:24:34 +00:00
fvdl
3de7a35dc2 More cast / format cleanup to make this compile cleanly in 32bit mode. 2000-12-04 20:40:07 +00:00
fvdl
b5f5b707ea Make gcc happy about casts. 2000-12-04 20:33:12 +00:00
scw
5a17a935bc Declare start' in addition to _start'. 2000-12-04 20:31:16 +00:00
fvdl
95ed1f82c4 Make gcc like a cast. 2000-12-04 20:29:34 +00:00
fvdl
2ccdc61f62 Avoid (safe) cast warnings. 2000-12-04 20:19:49 +00:00
fvdl
2c81c82473 Comment out caxsa, it's not used. Avoids 32 bit compile errors. 2000-12-04 20:14:05 +00:00
fvdl
42efb3639a Avoid a warning in bus_dmamap_load_uio by inserting a 'return 0' for
good measure in this unimplemented function.
2000-12-04 20:12:10 +00:00
scw
269a30a733 s/a6/fp/ again... 2000-12-04 18:48:18 +00:00
scw
e267f2466b Add support for ELF boot blocks. 2000-12-04 18:44:51 +00:00
scw
b29bcb645b The LOAD_TEXTA flag is required when loading a.out kernels.
Also add some non-standalone versions for the benefit of installboot(8).
2000-12-04 18:41:51 +00:00
scw
c28723715c Prefix the register names with `%'. 2000-12-04 18:40:05 +00:00
scw
d0da91f9e2 Use -fomit-frame-pointer when compiling bugcrt.c; a6 needs to be reserved
for Bug arguments.
2000-12-04 18:35:16 +00:00
eeh
c5080ee564 Fix uninitialized variable bug and code cleanup. 2000-12-04 17:26:41 +00:00
tsubai
1b4a9cb335 Move INTSTK and SPILLSTK definitions to locore.[Ss] to allow allocation of
them in early startup.
2000-12-04 17:05:50 +00:00
fvdl
2fb588e51d Warning police. Mostly useless format warnings. Switch Makefile for
kernel compiles to the warning flags that other ports also use.
2000-12-04 16:01:18 +00:00
mrg
247f2c42d7 Remove __BROKEN_CONFIG_UNIT_USAGE. (sync with sparc) 2000-12-04 09:56:56 +00:00
scottr
fc6d3c5f48 Unmap the valkyrie register space when we're finished with it in
the match function.  It's not like we can save that state for later,
and we don't use it anyway.
2000-12-04 06:25:19 +00:00
scottr
b21b6272fa Fix PR 11000: The esp driver needs two longwords in DAFB register space to
implement pseudo-DMA transfers with the SCSI controller.  This caused our
match to fail when we couldn't map the entire DAFB register/control space
for our own use.  Instead, we map only (about) what we will need in two
separate regions.

As a consequence we no longer do Turbo SCSI configuration here; indeed, it
may have caused us trouble later on if we actually changed the values
stored in those registers in the esp driver.
2000-12-04 06:23:36 +00:00
mrg
ce0e1dea34 sync relocs with sparc64. 2000-12-04 01:49:34 +00:00
mrg
ac9988aef0 remove duplicate function prototypes. 2000-12-04 01:39:04 +00:00
mrg
3806c27f34 sync a comment with sparc64/include/types.h 2000-12-04 01:33:36 +00:00