pk
5f2d466997
Make room for another value' in struct bootpath. Drop the global
bootdv'
...
in favour of storing the device pointer in the bootpath[] element corresponding
to the boot device. This also allows the opportunity to get to "intermediate"
devices (e.g. busses) should the need for this ever arise.
1996-04-10 20:33:38 +00:00
pk
1a1a8ba8c9
Undo unintended change in previous commit: _mcount is static.
1996-04-08 20:55:36 +00:00
pk
bb0897eec6
Various cleanup; mostly trailing spaces/tabs.
1996-03-31 22:21:21 +00:00
pk
1c8b452515
Add a non-interrupt-priority-lowering version of SPL(). Used by splpmap()
...
at the moment.
1996-03-31 22:20:14 +00:00
pk
76404b0bbe
Add sun4m CPU/MMU identifications.
1996-03-31 22:18:16 +00:00
pk
5703b83d00
Move autoconf subroutine prototypes to autoconf.h
...
Deal with sun4m `software interrupts'.
1996-03-31 22:17:14 +00:00
pk
8d9fbd0949
Add some v3 PROM glue.
...
Move autoconf subroutine prototypes here (from cpu.h).
1996-03-31 22:12:34 +00:00
pk
0ab4a52862
Add SRMMU/sun4m support. Size and layout of `struct pmap' has changed.
1996-03-31 22:09:13 +00:00
pk
922201e06a
Add SRMMU/sun4m definitions.
...
Cleanup (i.e. mostly delete) `#if defined (SUN4*)' in here.
1996-03-31 22:06:55 +00:00
christos
b646bc023a
New md conf.h per Jason's plan.
1996-03-30 21:17:55 +00:00
christos
70e15a2ba9
Make fpu_regs a union of doubles and ints to get the alignment of the
...
machine dependent portion of the context correct. Thanks pk [1 of 2]!
1996-03-26 19:04:48 +00:00
christos
5b2bf5a548
add rom routines declarations
1996-03-16 23:51:44 +00:00
jtc
2ce5f1478b
Add _BSD_WINT_T_ definition so we can handle wint_t type added in NA1.
1996-03-16 01:31:45 +00:00
christos
9af46afa21
Fix prototypes for the latest kpc changes.
1996-03-15 00:01:21 +00:00
christos
9a07d9dec9
Add missing prototypes and fix the fp struct for svr4.
1996-03-14 19:49:04 +00:00
pk
808df5543f
Remove cpu_set_init_frame().
1996-03-14 00:49:20 +00:00
pk
894fde6bdd
Remove __FORK_BRAINDAMAGE.
1996-03-14 00:48:30 +00:00
cgd
18ec26aa21
add _MACHINE and _MACHINE_ARCH, which are like MACHINE and MACHINE_ARCH,
...
execpt without quotes. meant to be __CONCAT()ted for easy #includes
of machine-dependent headers for MI code (e.g. for the MI ISA/EISA/PCI/TC
bus code).
1996-03-04 05:04:10 +00:00
gwr
2de7b2e5cb
update PMAP_PREFER
1996-02-28 22:44:33 +00:00
thorpej
edf9d66f32
First-cut support for P4 framebuffers. Currently supports P4 variants
...
of bwtwo, cgfour, cgsix, and cgeight. Includes support for attaching
the overlay plane of the cgfour and cgeight as a bwtwo instance (a'la
SunOS).
P4 register descriptions, cgfour driver, and cgeight driver partially
derived from OpenBSD.
This code may still need polishing.
1996-02-27 22:09:14 +00:00
pk
2f3ad94f8d
An #ifndef _LOCORE to make this file safe to include in locore.s.
...
Introduce a couple of `CPU-type' helper macros to reduce the preprocessor
tangos in many a source file.
1996-02-22 21:59:08 +00:00
pk
e259a02425
Correct some prototypes.
1996-02-22 15:04:07 +00:00
pk
f1518de67c
delay() prototype.
1996-02-16 22:13:34 +00:00
pk
773f74b60d
Change some caddr_t's to void *'s.
1996-02-13 22:43:33 +00:00
christos
8a8e1a4d94
caddt_t -> caddr_t
1996-02-13 17:13:22 +00:00
christos
cbb1d18e70
- Fix setcxsegmap prototype.
...
- Cast ?TO? macros to NULL to avoid compiler warnings
1996-02-13 17:04:58 +00:00
christos
c6edd77b23
A few prototype fixes
1996-02-09 23:14:14 +00:00
pk
5fd7df3063
Move splbio to level 5.
1996-02-03 16:10:58 +00:00
mycroft
88e512b693
LOCORE -> _LOCORE
1996-02-01 22:28:24 +00:00
thorpej
3f8e0d27a6
Add a "mountroot hook" mechanism so that devices can take care of
...
special needs before being used in (*mountroot)().
1996-01-15 00:06:49 +00:00
pk
f278cec042
Move bus_map() prototype here.
1996-01-11 21:55:57 +00:00
thorpej
5b39541e48
New generic disk framework. Highlights:
...
- New metrics handling. Metrics are now kept in the new
`struct disk'. Busy time is now stored as a timeval, and
transfer count in bytes.
- Storage for disklabels is now dynamically allocated, so that
the size of the disk structure is not machine-dependent.
- Several new functions for attaching and detaching disks, and
handling metrics calculation.
Old-style instrumentation is still supported in drivers that did it before.
However, old-style instrumentation is being deprecated, and will go away
once the userland utilities are updated for the new framework.
For usage and architectural details, see the forthcoming disk(9) manual
page.
1996-01-07 22:01:38 +00:00
pk
dd9e5c93c7
Use {U,L} suffices per Charles' recommendation.
1996-01-05 18:10:57 +00:00
mycroft
3a89082ff4
Make this work for GCC < 2.6.
1995-12-29 18:53:01 +00:00
mycroft
cd8fe86bcb
Make the type of __builtin_va_list a long.
1995-12-26 01:16:24 +00:00
mycroft
0c00214737
Use __builtin_va_alist.
1995-12-26 00:19:09 +00:00
mycroft
fa887628d8
Stylistic changes.
1995-12-25 23:15:31 +00:00
mycroft
72e24c3168
Update for GCC 2.7, and fix bugs.
1995-12-25 22:24:54 +00:00
pk
528ea56588
Change mapdev() and mapiodev() to take a `struct rom_reg', enabling the use
...
of IO spaces to construct device mappings.
1995-12-11 12:31:02 +00:00
pk
51c8280df1
Prototype dvma helper functions `dvma_malloc()/dvma_free()'
1995-12-11 12:25:17 +00:00
mycroft
46366f34e7
Include vm.h, rather than guessing which files we need.
1995-12-10 06:50:58 +00:00
mycroft
292120bf63
Define __FORK_BRAINDAMAGE.
1995-12-09 04:41:41 +00:00
pk
f6a3272e25
DVMA space is described by the variables dvma_start' and
dvma_end'.
...
Prototype dvma_map*() routines.
1995-12-06 22:35:54 +00:00
pk
e9a919b88f
Code from Jason to better configure /dev/fb.
1995-11-29 01:45:36 +00:00
pk
dc3c0d7db7
Define VIDEO enable bit (per Jason Thorpe; PR#1672).
1995-10-23 23:36:28 +00:00
pk
87a0c55d23
Patch from Jason to factor out a common framebuffer size determination
...
routine from the individual drivers.
1995-10-08 01:39:13 +00:00
pk
de0c6a97bd
RCONSOLE => RASTERCONSOLE.
1995-10-05 00:26:07 +00:00
pk
dad96c6619
Add a few constants used for mapping bit and pieces in the kernel driver.
1995-10-04 00:21:27 +00:00
pk
b89096d14f
Remove all rcons related stuff from `fbdevice'; this is now defined in
...
dev/rcons/rcons.h.
1995-09-17 20:41:30 +00:00
pk
b04e172458
Rename a `xxx' function.
1995-09-04 09:53:53 +00:00