Age | Commit message (Collapse) | Author |
|
|
|
|
|
handler is invoked with spl raised to the given level, otherwise all nubus
interrupts are processed at level 2.
|
|
too, so we can make these constants.
|
|
cpu_disklabel can go away, since nothing anymore needs to use it; ok miod
|
|
to support hotplug media on most architectures. disklabel setup and
verification done using new helper functions. Disklabels must *always*
have a correct checksum now. Same code paths are used to learn on-disk
location disklabels, to avoid new errors sneaking in. Tested on almost all
cases, testing help from todd, kettenis, krw, otto, dlg, robert, gwk, drahn
|
|
|
|
help miod@, art@
ok deraadt@
|
|
unconditionnaly.
|
|
it's a good idea to use atomic.h operations on it. This mechanic
change updates all bit operations on p_flag to atomic_{set,clear}bits_int.
Only exception is that P_OWEUPC is set by MI code before calling
need_proftick and it's automatically cleared by ADDUPC. There's
no reason for MD handling of that flag since everyone handles it the
same way.
kettenis@ ok
|
|
rt and such; tested and ok miod drahn
|
|
right now that are supposed to be atomic with respect to interrupts and
SMP: atomic_setbits_int and atomic_clearbits_int.
All architectures other than i386 and amd64 get dummy implementations
since at first we'll be replacing operations that are done with
"a |= bit" and "a &= ~bit" today. More proper implementations will follow
kettenis@, miod@ ok
|
|
use of MD spl code bowels. No functional change.
|
|
for cpu_swapin() on hppa* which is kept).
|
|
|
|
worst case, the Booter will happily feed us up to 8 ranges, so we have to
get prepared.
|
|
|
|
in it.
|
|
physacc() die. As a bonus, kvtop() dies too.
|
|
declarations in <machine/{cpu,param}.h> and elsewhere.
|
|
m68k-based platforms.
|
|
are not used in OpenBSD.
|
|
ok miod@
|
|
|
|
fields. No functional change.
|
|
so that it is not necessary to change settings from MacOS before booting
into OpenBSD; from NetBSD.
|
|
moving out common adb code as well, and merge adb_direct.c into adb.c to
simplify external header files.
No functional change; more cleanups to come.
|
|
|
|
|
|
|
|
used by default, and since all PRAM accesses are either directly fiddling
with VIA registers or through ADB commands, the MRG code has no reason to
stay. This means the kernel is now not running unknown PROM code anymore.
|
|
rename the types using the __ protected namespace (e.g. __size_t).
Idea from FreeBSD.
|
|
drivers, and to wscons as the console; a few parts borrowed from OpenBSD/macppc
as well.
Currently only working with displays configured in 1bpp or 8bpp modes; this
limitation will be worked on ASAP.
Tested by claudio@ kettenis@ martin@ nick@ and I on various models. X11 changes
coming soon.
|
|
remove a wrong comment aboute startrtclock() being invoked twice.
|
|
smarter spl levels and the clock drift is reduced; adapted from NetBSD.
|
|
cruft for old compilers and environments. there may be a 2nd round of
polishing after this; ok miod and others
|
|
from NetBSD
|
|
arches; except on sparc where the range is 4-8 for !sun4m and 4-64 for sun4m,
selected at runtime.
|
|
- Add bus_space_*_stream_N functions
- Replace PGOFSET with m68k_trunc_page() or m68k_page_offset()
from NetBSD, testing help by otto@
|
|
from NetBSD
|
|
- Simplify grfmv_phys() to work like grfiv_phys(), and eliminate the
second argument to both, as we don't use it anyway.
- Handle fbbase and fboff consistently throughout.
- Eliminate grfaddr() by pulling it into grfmmap(), which is the
only place it was used, previously.
- grfmap() now gets the physical address of the framebuffer from
the appropriate driver, rather than try to compute it by itself.
Be careful with aligning the base to a page address and increase
the length of the mapped region appropriately.
- Store the PA of the framebuffer in the softc. This eliminates the need
for the sc_phys callback; we can just store the PA in the grfbus attach
args, rather than a function pointer, which simplifies the code nicely.
- Disable Valkyrie interrupts on the Quadra 630
- New and improved console framebuffer initialization and autoconfig. This
resolves a great many issues, including Performa 58x interrupt handling
and offset displays on some models.
- Remove unused grf ioctls
- Some KNF and other minor things
help and ok miod@
from NetBSD
|
|
public.
|
|
|
|
|
|
|
|
|
|
for good.
|
|
- KNF
- typos
- sync some parts with NetBSD
input and review by miod@
|
|
shrink diff to NetBSD
ok miod
|
|
ok miod@
|