simonb
50897b84e0
Direct copy of sys/arch/i386/stand/lib/loadfile.c.
...
XXX: This should probably be MI in sys/lib/libsa. After 1.4...
1999-03-24 23:51:26 +00:00
dbj
4717d3e130
fix typo allocating color framebuffer map.
1999-03-24 23:47:46 +00:00
simonb
b4848d6b90
Code to initialise and add bootinfo records.
1999-03-24 23:47:37 +00:00
dbj
a859ba2b23
Applied patches from Matt Debergalis <deberg@mit.edu>.
...
These patches include:
Added framebuffer mapping for color framebuffer to support color wscons
which is coming soon.
Renamed wskbdmap_mfii[ch] to wskbdmap_next[ch]
Changed video to be white on black instead of black on white.
Now handles and discards mouse interrupts.
Video and keyboard is now working on mono machines.
1999-03-24 23:15:51 +00:00
ender
235abbff06
Garbage collect a bit of old VM missed by the initial pass.
...
Fix supplied by Dave Huang <khym@bga.com> in PR #7226 .
1999-03-24 22:28:49 +00:00
is
35bbdd4cd2
AGA: VGAonly timing (GRF_AGA_VGA), by Adam Ciarcinski
1999-03-24 22:24:42 +00:00
drochner
88a179595a
regdef.h is back
1999-03-24 21:15:17 +00:00
minoura
fdd6c4d819
Add function keys mapping.
1999-03-24 14:12:52 +00:00
minoura
b28f2306c9
G/c amiga's key repeat handler.
1999-03-24 14:11:47 +00:00
minoura
a76b0b1bf5
Shut up gcc -Wall.
1999-03-24 14:07:38 +00:00
minoura
ff8cf815a8
Mach VM removal.
1999-03-24 14:01:50 +00:00
simonb
71bb7683db
Initiailise to bootinfo pointer to NULL. In lookup_bootinfo(), if the
...
bootinfo pointer is NULL, just return instead of trying to make use of it.
1999-03-24 12:59:15 +00:00
tron
732f052e13
Don't include "opt_uvm.h" any more.
1999-03-24 12:41:27 +00:00
tron
4cdff58b76
Don't include "opt_uvm.h" any more.
1999-03-24 12:16:50 +00:00
tron
75377e1815
Don't include "opt_uvm.h" any more.
1999-03-24 11:35:30 +00:00
tron
1eb060a0ba
Remove remaining "ifdef UVM" checks.
1999-03-24 11:23:45 +00:00
tron
e1d80e2d51
Don't include "opt_uvm.h" any more.
1999-03-24 11:21:47 +00:00
mrg
ca5f9685bb
clean up kernel/config files files for machVM lossage.
1999-03-24 06:06:09 +00:00
mrg
d2397ac5f7
completely remove Mach VM support. all that is left is the all the
...
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
jonb
a50349ea32
Comment out options that are already the default... (I'm leaving them
...
around as an example of what to change if needed.)
1999-03-24 03:48:04 +00:00
nisimura
f719570f0a
- Restore 'regdef.h' lost since last January.
1999-03-24 03:45:36 +00:00
mycroft
006ee23e99
Fix another problem is the modified bit emulation that caused double faults.
...
We need to set the L2 type preemptively, as it may still be L2_INVAL if the
page had not been previously accessed.
1999-03-24 02:45:27 +00:00
simonb
0ba02670be
New bootblock directory structure.
1999-03-24 02:07:22 +00:00
mycroft
11d7efb7ba
Forgot a return instruction in the error case.
1999-03-24 01:51:56 +00:00
simonb
0074502b0a
o Add bootinfo support by checking the fifth and sixth arguments for a
...
magic number and a pointer to the bootinfo data.
XXX: A bootinfo_magic record is not checked for at the moment, even
though test bootblocks initialise the bootinfo data with one.
o Use the bootinfo symtab information in preference to searching for a
valid a.out exec header after _end for initialising DDB.
XXX: Should retire a.out exec header support altogether. Loosing the
ability to load symbols from old bootblocks isn't much of a loss.
After 1.4?
o Add "booted kernel" machdep sysctl.
1999-03-24 01:49:10 +00:00
jonb
6c6ff861c6
put in compiler options to reduce object size by half
1999-03-23 23:02:14 +00:00
simonb
729eda4324
Define a bootinfo record and initial structures that the pmax will use.
...
Modeled on i386 and bebox bootinfo.h.
1999-03-23 22:53:02 +00:00
simonb
aca34380db
If on entry the stack is within 4kB of _start, don't reset the stack
...
pointer to just underneath _start. Allows bootblocks (or other kernel
calling programs) to pass more than 4 arguments if it sets up the stack
properly.
The 4kB figure may be overkill - on the pmax it only needs to be a dozen
of so bytes.
1999-03-23 22:43:18 +00:00
simonb
c9e3b47a0f
Don't build anything while bootblocks are being updated.
1999-03-23 22:23:11 +00:00
simonb
f93b8168c0
Include <machine/db_machdep.h> instead of <mips/db_machdep.h>.
1999-03-23 22:15:36 +00:00
simonb
41febd3a3c
Move DB_{AOUT,ELF}_SYMBOLS (and DB_ELFSIZE) definition to port-specific
...
db_machdep.h file.
1999-03-23 22:07:06 +00:00
simonb
027594b1eb
Add CPU_BOOTED_KERNEL to CTL_MACHDEP definition.
1999-03-23 22:04:01 +00:00
drochner
76fa1751fe
Add a macro to check for sufficient pointer alignment in bus.h context,
...
"BUS_SPACE_ALIGNED_POINTER()".
Equal to the param.h "ALIGNED_POINTER()" normally, but obeys additional
requirements of the bus_space_xxx_n() macros. (BUS_SPACE_DEBUG)
1999-03-23 21:29:03 +00:00
bad
b5348881aa
Add tcic PCMCIA controller.
1999-03-23 20:08:55 +00:00
bad
23d89d53f3
config(8) glue for the TCIC PCMCIA backend.
1999-03-23 20:07:39 +00:00
mycroft
1bb64b0636
__SWAP_BROKEN is no longer useful here.
1999-03-23 19:16:03 +00:00
mycroft
6bb727e736
Nuke some more code that was fetching PT_M and PT_H from pv_flags.
1999-03-23 18:39:38 +00:00
wrstuden
3c8e65b670
Oops. macppc doesn't use PCLK as a baud rate source.
1999-03-23 18:07:19 +00:00
mycroft
5f63cab877
The page and section fault handling paths are essentially identical, so
...
combine them. This also fixes a performance issue, in that we always
faulted pages twice in order to write them.
1999-03-23 18:02:02 +00:00
wrstuden
a7678930b4
Oops. mac68k does NOT use PCLK as a clock source, so don't enable it in
...
the default channel setup.
1999-03-23 17:55:03 +00:00
mycroft
79e56d3237
The ARM has the same copy-on-write bug as the i386 -- the write enable bit in
...
PTEs is ignored when in kernel mode. Hack around this just like we do on the
i386, by adding a prepass to copyout() to check for write permission on the
destination pages.
1999-03-23 17:14:34 +00:00
minoura
87c8a7e347
u?vm_page_physload args are in page.
1999-03-23 15:55:43 +00:00
christos
f36829e285
s/DEBUG/LDT_DEBUG/ This got too verbose when running Wine.
1999-03-23 15:48:19 +00:00
mycroft
8f3d31a32b
More cleanup...
...
* Don't bother pulling PT_M and PT_H bits from pv_flags; they can't ever be
set there!
* Actually make pmap_clear_reference() do something useful.
* Also set the referenced bit (PT_H) when emulating a write fault.
1999-03-23 13:52:48 +00:00
mycroft
da99fe308e
Repeat after me:
...
If we're doing modified bit emulation, we must revoke write permission in
pmap_clear_modify(). This is non-negotiable. I will revoke write permission
in pmap_clear_modify(), or suffer the wrath of a thousand bricks.
1999-03-23 13:27:48 +00:00
mycroft
3c8512dbb5
We could not possibly have been updating the pv attributed correctly in
...
pmap_enter(), so... make the obvious change.
1999-03-23 12:30:45 +00:00
dbj
c1824c37af
more minor changes, mostly in minor tweaks to debuggin output.
...
tweaks to handling dmasize != dmalen correctly.
changed minimum dma segment length for tail buffer.
1999-03-23 08:42:39 +00:00
gwr
c19324e6bb
Fix prototype mismatch.
1999-03-23 05:54:11 +00:00
minoura
86ecebe5e8
Move high-memory detect routine.
...
This seems to fix the problem that it hangs up on 040turbo without
high-memory.
1999-03-23 04:18:50 +00:00
thorpej
63b6321834
VM_MBUF_SIZE is in terms of MCLBYTES, not CLBYTES.
1999-03-23 00:31:59 +00:00