bouyer
21e9a36edc
Add options P1003_1B_SEMAPHORE
...
to all GENERIC-like kernel config files where SYSV* options were already
present (commented out if the SYSV* options are commented out).
Fix lib/25897 and lib/25898.
2004-06-28 21:07:47 +00:00
abs
bd8eb3b5ed
Add (commented out) ALTQ options to all GENERIC-like files
2004-06-26 07:32:05 +00:00
christos
c22e4ed8cd
ptm is now mandatory, depends on pty, and can be disabled with -DNO_DEV_PTM
2004-06-18 15:02:29 +00:00
christos
0399e839cf
Add pseudo-device ptm on all the generic flavored kernels.
2004-06-16 15:07:39 +00:00
rumble
875866073a
sekiya-san's platform abstraction allows us to keep these
...
functions static.
2004-06-13 18:30:11 +00:00
rumble
0f58ff497d
General cleanup to improve style consistency and KNF adherence.
...
Updated comments and removed superfluous code. No functional
change intended.
ok'd by pooka and sekiya
2004-06-13 18:28:35 +00:00
rumble
533084bbc7
Refactor consinit() for readability by pulling out mach_type
...
specific code into their own functions. No functional change is
intended.
ok'd by pooka and sekiya
2004-06-09 23:01:01 +00:00
rumble
df731a5f0f
Use global static prom vectors within the module instead of
...
creating them on the fly. Simplify arcemu_ip12_putc() since the
printf vector behaves as expected.
2004-06-08 22:51:21 +00:00
kleink
7b3b647647
Factor out W{CHAR,INT}_{MAX,MIN} into their own header file.
2004-05-08 21:51:47 +00:00
pooka
88d0b8e68e
Return "video()" instead of "graphics(0)" for a graphics console,
...
since that's what even our code expects.
suggested by Steve Rumble
2004-04-14 10:29:26 +00:00
sekiya
7af65e354b
Back out portions of previous commit -- the mips/bus_dma.c code is less
...
correct than the sgimips-specific code.
2004-04-13 08:12:03 +00:00
sekiya
8af58b1851
Merge fixes from arch/mips/mips/bus_dma.c -- a curproc->lwp fix, and streamline
...
the cache magic for BUS_DMASYNC_PREREAD in _bus_dmamap_sync_mips3().
(Note to self: investigate feasibility of replacing MD bus.c with MI bus_dma.c)
2004-04-12 14:30:47 +00:00
pooka
0d197bf832
KNF some and make printf output a bit nicer.
2004-04-11 12:17:10 +00:00
pooka
34bd15648e
Add IP12 stuff. Most bits included are from Steve Rumble.
...
After this change it is possible to run IP12.
2004-04-11 12:13:20 +00:00
pooka
0e36d54eba
Fix base address for i8254 calibration code. This has the effect of
...
us writing to the correct addresses and the thing actually working.
2004-04-11 12:05:37 +00:00
pooka
95d984a2eb
Don't report page 0 as free memory, it makes bad things happen.
2004-04-11 11:34:13 +00:00
pooka
817b0a57d8
Make das blinkenlights, well, blink on IP12 also.
2004-04-11 10:29:20 +00:00
pooka
451031bddf
RCS Id police
2004-04-11 00:44:47 +00:00
pooka
4b60b79ce8
build arcemu
2004-04-10 22:48:44 +00:00
pooka
bc32b3ffbe
Clock interrupt routine for mips1 (ip12) from Steve Rumble.
2004-04-10 22:48:12 +00:00
pooka
03e520f443
* The HPC endianness register isn't mapped on my IP12, so don't try to
...
unconditionally read it
* IP12 glue from Steve Rumble
2004-04-10 21:59:42 +00:00
pooka
0df6470670
don't attempt to init pckbd console on IP20
2004-04-10 21:47:33 +00:00
pooka
3f96344b80
Don't unconditionally initialize seeprom chip type after we've
...
conditionally initialized it to the correct type.
spotted by Steve Rumble
2004-04-10 20:23:05 +00:00
pooka
9b2f4efe28
Rework conditional statement a bit to print bit about using ARCS for
...
console I/O if nothing really attached, not if we just called consinit()
with an invalid IPxy mach_type.
inpired by Steve Rumble
2004-04-10 20:15:12 +00:00
pooka
737a72e779
attach zs console on IP12
...
from Steve Rumble
2004-04-10 20:03:11 +00:00
pooka
cafa4ad8f9
ARCBIOS emulation code to be used on machines without ARCBIOS
...
Currently supports only IP12, but can be made to support others.
includes effort from Steve Rumble and myself
2004-04-10 19:53:48 +00:00
pooka
a7250523da
At least my IP12 works better without the port-flipping glue,
...
so un-glueify IP12 for the time being.
2004-04-10 19:20:19 +00:00
pooka
a674ac1bc3
and finally, the big moment you've all been waiting for:
...
make it actually compile
2004-04-10 19:07:58 +00:00
pooka
89a2f53d77
fix off-by-one in revision print
2004-04-10 19:07:06 +00:00
pooka
88764f7031
add watchdog enable and disable
...
from Steve Rumble
2004-04-10 19:06:33 +00:00
pooka
f59c5e58e8
Add physical offsets for memory configuration registers to be used
...
outside bus_space.
2004-04-10 19:02:39 +00:00
pooka
ade6841fe5
If argv[1] doesn't exist, don't try to use it.
2004-04-09 16:41:23 +00:00
pooka
b11a60fb35
apply wide-angle KNFication beam
2004-04-08 14:45:13 +00:00
tsutsui
646b733fd4
Tidy up total/avail memory message as well as other ports.
...
As per discussion on port-sgimips.
2004-04-05 16:01:43 +00:00
sekiya
49ecfdf2e4
Hook the IMC bus error handler into the ISR, otherwise bus error conditions
...
won't be properly dealt with.
2004-04-03 11:33:29 +00:00
pooka
3b19c32c1a
KNF
2004-03-25 15:16:11 +00:00
pooka
75033bc71e
replace terms ip1x and ip2x in comment
2004-03-25 15:08:57 +00:00
pooka
39a22bd417
Sprinkle some #ifdef MIPS3 to be able to compile the port without
...
including MIPS3 code.
for upcoming IP12
2004-03-25 15:06:37 +00:00
sekiya
e594b2f3d9
The lpt driver doesn't play nicely with the serial ports -- they share the
...
same interrupt, and something isn't quite right with the mace interrupt
dispatcher. Disable for now.
Pointed out by Tillman Hodgson and confirmed by ozone on port-sgimips.
2004-03-25 00:53:58 +00:00
drochner
cf8b697c65
remove license clauses 3 and 4 from my cpoyright notices
2004-03-24 17:06:57 +00:00
sekiya
27be14d39c
Checkpoint the GR2 wscons driver. Heavily derived from lonewolf@'s newport
...
driver. Still some issues:
* framebuffer setup seems incomplete. Some drawing primitives work 100%
of the time, while others fail one in ten tries. Perhaps my board is
slightly broken, as the exact model as probed by ARCS seems to shift
between Elan and XS24 from time to time.
* characters are drawn bottom-up rather than top-down (as the wsfont
definitions expect).
2004-03-18 08:52:04 +00:00
sekiya
0ee588cc1c
Add GR2.
2004-03-18 08:40:46 +00:00
sekiya
bf7ef66f3b
Add console attach glue for GR2.
2004-03-18 08:40:24 +00:00
sekiya
a924cfbf24
Add register definitions and console prototype header for the SGI GR2 family
...
of framebuffers.
2004-03-18 08:39:17 +00:00
bjh21
dff5222d3a
Abstract the interface between pckbc(4), and the pckbd(4) and pms(4)
...
drivers that attach to it. This allows for other host interface chips
that use the same keyboards and mice, such as the ones in the ARM
IOMD20, ARM7500, and SA-1111. The PC-compatible driver is still
called pckbc(4), and the new abstraction layer is "pckbport", so the
child devices have moved from sys/dev/pckbc to sys/dev/pckbport, which
also contains some code shared between all host controllers. To avoid
incompatibility, pckbdreg.h is still installed in
/usr/include/dev/pckbc.
In theory, this shouldn't cause any behavioural changes in the drivers
concerned. Thy just use rather more function pointers than before. Tested
on i386 and (with a new host driver) acorn32. Compiled on several other
affected architectures.
2004-03-13 17:31:33 +00:00
sekiya
4a4eccf833
Add int2_wait_fifo(), which will idle while awaiting a flag in the interrupt
...
controller to deassert. Needed for the more interesting features of various
SGI framebuffers.
2004-03-09 14:05:09 +00:00
sekiya
64732fc9ae
Print an informative message when unimpl_intr() is invoked, rather than panic().
2004-03-06 07:50:56 +00:00
sekiya
d289507533
Blinkenlitzen for IP20 (Indigo).
2004-02-28 00:53:56 +00:00
wiz
f05e6f1a3a
occured -> occurred. From Peter Postma.
2004-02-24 15:12:51 +00:00
sekiya
bb60b4d04f
Correct descriptive comment (these routines are not used for r5ksc).
2004-02-22 03:23:54 +00:00