Age | Commit message (Collapse) | Author |
|
LABELOFFSET and MAXPARTITIONS. Easier on the eye when scanning
through all these files. No functional change.
|
|
ok deraadt@
|
|
|
|
functionality. Same API and ABI except for the removed bits and no
behaviour change for programs using libsndio. With help from armani@
and mpi@, thanks.
|
|
interrupt logic, making sure the lock is not taken for clock interrupts.
Tested on aviion and luna88k.
|
|
the kernel_lock), as we already do better conversions in
user-mode. Yet, no need for every single driver to fiddle with the
conversion code as they are done transparently by common MI code. With
help from armani and miod, support from mpi
ok armani@
|
|
|
|
This makes wi(4) on PCMCIA work on luna88k.
ok miod@
|
|
|
|
This is basically glue codes attaching pcic(4) at cbus(4/luna88k),
based on src/sys/dev/isa/i82365_isa{,subr}.c.
Tested on some ne(4) network interface cards, wdc(4) with a CF memory
card, and com(4) with an old XJACK modem card. Currently wi(4) does
not work yet.
suggestions and ok miod@
|
|
stack from the main processor, instead of from the secondary processors
themselves. This used to work until recent churn in uvm require the kernel
lock to be taken, and cpu_configure() runs with the kernel lock held by the
boot processor.
Allocating the idle stack on the secondary processors themselves was choosen
early on, because there is no easy way, from the boot processor, to know the
assocation between physical cpu number (ci_cpuid) and logical cpu number
(the order they are initialized and reported in), especially on luna88k where
there is no way to get secondary processors parked by the prom.
Regression noticed by aoyama@. Verified to work on 2 and 4 cpu luna88k systems
and 2 cpu aviion systems.
|
|
- Handle interrupt priority level (IPL_XXX) in cbus_isrdispatch().
- Add a function that returns the status of registered cbus(4) interrupt
levels.
suggestions and ok miod@
|
|
These are preliminaries for upcoming pcic(4) support on cbus(4/luna88k).
suggestions and ok miod@
|
|
|
|
- rename uiomove() to uiomovei() and update all its users.
- introduce uiomove(), which is similar to uiomovei() but with a size_t.
- rewrite uiomovei() as an uiomove() wrapper.
ok kettenis@
|
|
|
|
|
|
usually invoked after initdisklabel() which proactively changes a zero disk
size to MAXDISKSIZE, causing this test to fail.
Allow for MAXDISKSIZE too in that test. This makes spoofed disklabels of SMD
disks have a proper `c' slice size.
luna88k disklabel_om_to_bsd() is modified accordingly, to keep diffability,
even though luna88k can't - to the best of my knowledge - sport SMD disk
controllers.
ok deraadt@ krw@
|
|
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.
|
|
|
|
|