Age | Commit message (Collapse) | Author |
|
make install
from Simon Nicolussi
ok jsing tedu
|
|
This should catch all the same bad cases, but be a little less aggravating
in circumstances where a prototype isn't necessary
ok deraadt
|
|
The third argument of evcount_attach() should point some permanent
variable, not an automatic variable. Now "vmstat -i" correctly prints
C-bus interrupt level number as irq, on C-bus devices.
ok miod@
|
|
cbus(4).
This work is based on the source code of NetBSD/pc98, an unofficial
NetBSD port for NEC PC-9801 series, written about 16 years ago.
Thanks to NetBSD/pc98 porting staff for their work, especially NAGAO
Tadaaki and N. Honda who wrote the original driver.
ok miod@
|
|
as same as aviion.
suggested and ok miod@
|
|
|
|
'C-bus' device drivers in it.
More devices on cbus(4) will be added, hopefully :-)
ok miod@
|
|
|
|
interrupts of PC-9801 extension board slot bus (so-called 'C-bus') on
LUNA-88K2.
Existing pcex(4) is now attached at cbus(4), i.e.
cbus0 at mainbus0
pcex0 at cbus0
With this driver, some other PC-9801 boards might be supported on luna88k
in the (near?) future:-)
ok miod@
|
|
|
|
|
|
used and depended, mimicking new changes by guenther to amd64.
|
|
PROT_NONE, PROT_READ, PROT_WRITE, and PROT_EXEC from mman.h.
PROT_MASK is introduced as the one true way of extracting those bits.
Remove UVM_ADV_* wrapper, using the standard names.
ok doug guenther kettenis
|
|
This had been used in the early years of poring OpenBSD to LUNA-88K,
but no longer used.
|
|
This makes it easier to remove components not required to do an install,
and subsequently add other desireable components ...
In snapshots (in various forks) for about a week.
Do some upgrades and installs, please.
|
|
|
|
|
|
2 spc(4/luna88k)'s share the same level 3 interrupt on LUNA-88K2. So
returns earlier when the device is not the source of interrupt.
NetBSD has the same code.
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/ic/mb89352.c#rev1.34
"it is the right thing to do" miod@
|
|
|
|
-Wstack-larger-than-. This is what modern GCC supports as well as LLVM.
ok miod@
|
|
Also add more comments on *int_mask_reg[CPU], delete possibly
unnecessary flush_pipeline().
Additional suggestion and ok miod@
|
|
|
|
This is straightforward port of Izumi Tsutsui's work on NetBSD/luna68k:
http://mail-index.netbsd.org/source-changes/2014/09/28/msg058972.html
>> Put dumb optimizations to avoid conditionals in putchar drawing loops.
This makes 4bpp wscons putchar ~8% faster on luna88k.
ok miod@
|
|
It makes 4bpp wscons putchar ~20% faster.
ok @miod
|
|
clock_reg[] is only used in clock.c, so move its definition from
machdep.c to clock.c.
ok miod@
|
|
|
|
ok mpi@, uebayasi@, dlg@
|
|
|
|
Note about workaround for 8bpp frame buffer:
Current LUNA wscons touches only first 4 planes (plane #0-#3), but
other program (e.g. mlterm-fb) can use all 8 planes on an 8bpp frame
buffer. When such program exits, it may not clear all planes, so
there may be some visible garbage data on the other 4 planes (plane
#4-#7) when we use default 256 rasops_cmap directly.
We should manage all 8 planes on LUNA, but that will be too much
overhead for 16 colors wscons. So, by repeating 16 colors in 256
colormap, we can ignore the values on the other 4 planes.
ok miod@
|
|
- Always use either: ((x & RB_XXX) != 0) or ((x & RB_XXX) == 0) in boolean
context (mostly if (x), or x ? y : z)
- prom_halt() in alpha is confirmed to take int as boolean
Converted by coccinelle. No functional change intended.
|
|
|
|
|
|
|
|
|
|
after discussions with beck deraadt kettenis.
|
|
rebooting a machine, like it is done in the hibernate case.
At least some USB host controller drivers rely on this to busy way instead
of sleeping. Avoid a panic on macppc with an uhci(4) cardbus plugged in.
ok deraadt@, uebayashi@
|
|
|
|
Again remove slightly different comments to reduce diffs. These will be
re-added once boot() become MI and its specification is clearly re-defined.
OK miod@
|
|
RB_TIMEBAD is documented well enough that the comment is not needed. sparc64
does slightly different and its comment is left with XXX.
OK deraadt@ miod@
|
|
OK deraadt@
|
|
denormal results) with C code using softfloat to correctly round the inexact
results in the best possible way according to the current rounding mode.
No functional change intended, and this assembly code was surprisingly almost
non-buggy, as opposed to the precise exception code replaced a few weeks ago;
still an improvement as this replaces 900 lines of arcane assembly with 90
lines of understandable C code.
|
|
'original' LUNA-88K.
|
|
fault handling with a C wrapper around the softfloat code, as already done for
88110 kernels.
As a bonus, attempting to read or write FPU control registers but fcr62 and
fcr63 in userland will now correctly signal an illegal instruction, instead
of leaving the destination register unchanged and pretending nothing bad
happened.
Be sure to rm m88100_fp.d in your kernel compile directory after updating your
tree.
|
|
|
|
ok miod@
|
|
|
|
with softraid(4) disks.
softraid(4) is the last real consumer of the doshutdownhooks(9) API and it is
not trivial to convert its hook to a DVACT_POWERDOWN handler since the latter
does not allow to sleep.
|
|
rebooting a machine, like it is done in the hibernate case.
At least some USB host controller drivers rely on this to busy way instead
of sleeping. Avoid a panic on macppc with an uhci(4) cardbus plugged in.
ok deraadt@, uebayashi@
|
|
processed on this driver.
"This is correct" miod@
|
|
|