pk
6b2ebb44a7
Move several PIL_* definitions into the scope of LOCORE stuff.
2000-01-21 13:22:55 +00:00
pk
f8ac5484fa
Medium sized code overhaul:
...
* Improve communication between the `hard' and `soft' interrupt handlers
to better distinguish various interrupt sources.
* Eliminate several race conditions where we would set a time out handler
only after starting the command on the hardware.
* Handle most timeouts by resetting the controller; there isn't much chance
of recovery in any other way. Currently, the exception is a timeout
on I/O, in which case we first try to pulse the controller's TC line
in order to abort the pseudo-dma sequence. Apparently, "normal"
conditions can induce such a timeout when there's no disk in the drive.
* Reduce the formatting gap parameter to 0x54.
* On the obio bus, interpret the `status' attribute.
* Minimize console diagnostic output if the errors we get appear to be
caused by the absence of a disk.
2000-01-21 13:22:01 +00:00
shin
7d6a332830
change miniroot size.
2000-01-21 11:29:53 +00:00
sommerfeld
aa195e816f
Fix PR9240: comment above cpu_fork() out of synch with reality on most ports.
...
(comment change only, but was wrong for more than just i386).
2000-01-20 22:18:54 +00:00
wrstuden
87e1b0f9b7
Add overlay to kernel configs.
2000-01-20 19:12:28 +00:00
mjacob
e1598bac13
fix misspelling
2000-01-20 17:16:25 +00:00
mjacob
c6459da685
add SES device
2000-01-20 17:13:27 +00:00
christos
c6b70bdfe2
Use .PATH.c not .PATH otherwise builds without objdirs fail from biosboot_com0.
...
Reported by Tron.
2000-01-20 16:51:01 +00:00
drochner
8395a5e928
like com.c, raise DTR/RTS in console initialisation
2000-01-20 15:22:57 +00:00
enami
9d51226cc3
fix typo in comment.
2000-01-20 03:19:27 +00:00
matt
5d5b2822ec
Don't need to include opt_vax8600.h. Always defined the 8600 specific bits.
2000-01-20 00:07:49 +00:00
thorpej
e92c1387ea
G/c unused variable.
2000-01-19 23:06:06 +00:00
thorpej
a0397a2573
Move callout initialization to a single location; no need to duplicate
...
that code all over the place.
2000-01-19 20:05:30 +00:00
tsutsui
e61f177ab1
STRIP -> STRIPPROG
2000-01-19 16:29:54 +00:00
tsutsui
995d49ac90
Add #include <machine/cpu.h>
2000-01-19 16:13:50 +00:00
tsutsui
644b514c39
Change STRIPFLAGS=-g for cross-toolchains.
2000-01-19 14:44:58 +00:00
cjs
b54595a488
Make sure that everything in GENERIC is in ALPHA, and that the two files
...
have config lines in the same order to make diffing easier.
2000-01-19 13:53:47 +00:00
leo
7396daca2b
No longer abuse cf_unit. This broke with the latest autoconf changes.
2000-01-19 13:23:14 +00:00
leo
4911054546
Allow storage-space to be passed to the alloc_bus_space_tag() functions. This
...
permits static tags to be used during early console init.
2000-01-19 13:12:54 +00:00
cjs
73b79d6c25
Make sure that everything in GENERIC is in ALPHA, and that the two files
...
have config lines in the same order to make diffing easier.
2000-01-19 07:04:23 +00:00
cjs
c79473b2b7
Add vr driver and missing phys.
2000-01-19 06:09:03 +00:00
danw
6c14ba0dba
Fill in the alignment trap handler a bit: now it can fix unaligned
...
floating point loads and stores (to work around a gcc bug), but will
still cause a bus error on other sorts of unaligned accesses.
2000-01-19 03:30:12 +00:00
danw
83cfcdd15a
Add a special trap handler for EXC_ALI that saves dsisr and dar
2000-01-19 03:28:21 +00:00
mycroft
c10e001ee2
Sync, +IPv6.
2000-01-19 03:05:06 +00:00
mycroft
1c92c8d7ed
Add a sequencer to go with the midis.
2000-01-19 03:01:46 +00:00
msaitoh
0b9af6bdce
check whether tv_usec >= 1000000
2000-01-19 02:52:16 +00:00
thorpej
1de974fc2e
Use PCI products defined in pcidevs.h
2000-01-18 20:05:23 +00:00
thorpej
f51f762b8d
Update to reflect current reality.
2000-01-18 20:02:32 +00:00
thorpej
ce2b722aec
No need to define MPC105 and MPC106 PCI products here.
2000-01-18 20:01:28 +00:00
thorpej
c4e802b942
Use b_cylinder as defined in sys/buf.h
2000-01-18 19:52:21 +00:00
thorpej
ca44eb8d21
iodone() -> biodone(), iowait() -> biowait()
2000-01-18 19:51:03 +00:00
thorpej
d7e6de4a08
iodone() -> biodone()
2000-01-18 19:50:32 +00:00
thorpej
4f27a98702
Use b_cylinder as defined in sys/buf.h
2000-01-18 19:48:02 +00:00
thorpej
8808155fa6
Use b_cylinder as defined in sys/buf.h
2000-01-18 19:46:07 +00:00
thorpej
8201b36ca0
Use b_cylinder as defined in sys/buf.h
2000-01-18 19:43:02 +00:00
thorpej
0684e6f83b
- Use b_cylinder as defined in sys/buf.h
...
- Add an empty dk_establish()
2000-01-18 19:40:53 +00:00
thorpej
c241e27b63
Use b_cylinder as defined in sys/buf.h
2000-01-18 19:37:58 +00:00
thorpej
d0bb9fdf22
Remove one line of junk.
2000-01-18 19:36:58 +00:00
thorpej
ed244ca8e4
Use b_cylinder as defined in sys/buf.h
2000-01-18 19:34:24 +00:00
thorpej
71b89434fa
Remove one line of junk.
2000-01-18 19:33:31 +00:00
simonb
251eb03a2b
Only prototype and include code for scc_kbd_init() and scc_mouse_init()
...
if NRASTERCONSOLE > 0. Fixes problem reported on port-pmax by Anders
Andersson.
2000-01-18 12:19:49 +00:00
msaitoh
7d3068a3b4
use macros
2000-01-17 21:59:43 +00:00
msaitoh
c330a893d5
- check whether tv_usec == 1000000, too.
...
- set the reload count of the timer unit 1 correctly
(Timer unit counts from TCOR to 0 (i.e. the length of the counts equals
to TCOR + 1)).
- use macros.
2000-01-17 21:54:32 +00:00
msaitoh
8cf5a56c3f
add some bit definitions
2000-01-17 21:41:13 +00:00
augustss
f7145f672e
Add USB-Ethernet adapters.
2000-01-17 17:47:03 +00:00
pk
725c6438c1
Use bus_space(9) functions to access the controller registers.
...
Add probes to the attach routines before poking the chip to see
where the registers are located.
2000-01-17 16:57:15 +00:00
pk
2d7f7ef7a6
Use bus handle to in `struct fdio' to read the chip registers.
2000-01-17 16:53:18 +00:00
pk
611f7a9938
Add offset to bus handle in `struct fdio'.
2000-01-17 16:52:04 +00:00
kleink
6910891781
Add NAN constant glue for sh3.
2000-01-17 16:27:53 +00:00
minoura
9a0577db94
Wrong () balance in dumpsize calculation.
2000-01-17 16:17:32 +00:00
shin
af0112be28
move keymap initialization into vrkiu_init().
2000-01-17 12:22:37 +00:00
matt
9546ee5f87
defopt VAX750 side effect.
2000-01-17 04:57:31 +00:00
matt
2665d4b7c6
defopt VAXnnn so the make depend does the right thing.
2000-01-17 04:55:25 +00:00
sato
114d690d03
delete unused codes.
2000-01-17 04:06:06 +00:00
sato
f3689bd429
- no need
...
-- rtc inherit offset from WinCE.
-- keymap set by plat id.
2000-01-17 03:11:12 +00:00
augustss
6db0de5efb
Enable kue driver.
2000-01-17 02:04:01 +00:00
nisimura
fc387549e3
Remove extra debugging/sanity checking code from GENERIC.
2000-01-17 00:58:01 +00:00
nisimura
d063175e87
Add a place holder.
2000-01-17 00:55:37 +00:00
uch
0a5ac26680
enable TX3922 write-back cache.
...
flip Telios fg/bg color.
2000-01-16 23:30:13 +00:00
uch
f96d767523
add platform dependent TX39 UART module hook.
...
remove delay from tc5165buf interrupt handler.
backlight config_hook.
2000-01-16 21:47:00 +00:00
uch
e8460d1fcb
disable noisy boot message.
2000-01-16 21:39:36 +00:00
is
e80be24250
Yet another cpu.h.
2000-01-16 21:19:44 +00:00
uch
dac63389a8
call config_hook_init before autoconfiguration.
...
initalize hr_mode.
2000-01-16 20:01:41 +00:00
minoura
2a71e2c15e
Minor cleanups & corrections.
2000-01-16 14:20:54 +00:00
augustss
1ef32571c0
Add some USB Ethernet adapters.
2000-01-16 13:59:38 +00:00
ragge
fa560ec3ee
Bogus context pointer sent to sigreturn() may crash the machine.
...
Bug found by der Mouse.
2000-01-16 12:43:52 +00:00
uch
1e74db1306
RCS Id.
2000-01-16 11:14:49 +00:00
cgd
9a222ad604
remove .cvsignore files; if the tree doesn't clean completely, that's a bug
2000-01-16 08:27:40 +00:00
drochner
062970567f
catch zeroed ID string (happens for disabled devices)
2000-01-16 03:30:23 +00:00
eeh
e73d544dec
Interrupt handlers return zero if they didn't handle the interrupt.
2000-01-16 03:13:24 +00:00
eeh
0e1153bb9f
The bootpath element must point to the appropriate bus node to work correctly.
2000-01-16 03:10:58 +00:00
takemura
45dec0d12e
Convert CR/LF -> LF.
2000-01-16 03:07:22 +00:00
assar
1f511ff199
(kdb_trap): do not enter DDB on traps when db_onpanic == 0
2000-01-16 01:42:03 +00:00
aymeric
626fbe9b6d
make this work again (include machine/cpu.h)
2000-01-15 17:09:47 +00:00
aymeric
20a96dc688
make DCIAS work for 020-only / 030-only kernels
2000-01-15 17:08:03 +00:00
aymeric
921c6acc0e
defined IPL_BIO, IPL_NET and IPL_TTY for soon to be integrated PCMCIA code
2000-01-15 15:04:21 +00:00
minoura
49f79ab628
Change physseg allocation strategy to VM_PSTRAT_BIGFIRST.
...
Required when big (>64MB) high memory is installed.
2000-01-15 14:47:25 +00:00
aymeric
b4406c3d63
make this compile again
2000-01-15 13:50:13 +00:00
nisimura
410a23c0a3
Revert to old ROM console I/O code.
2000-01-15 10:06:21 +00:00
msaitoh
150090f9b8
inittodr() and resettodr() supports SH4
2000-01-15 02:46:30 +00:00
nisimura
94c89f6863
Kludge to detect booted_device detection. Needs helpful 2nd stage boot
...
loaders for finer controls.
2000-01-15 02:06:31 +00:00
christos
1b02e0a7db
Build biosboot_com0 too.
2000-01-15 01:17:12 +00:00
msaitoh
5cb845afcd
remove SH3_PHYS_TO_P1SEG macro
2000-01-14 21:02:40 +00:00
msaitoh
1e15a3117c
use clock_subr.c
2000-01-14 19:41:36 +00:00
msaitoh
06c297195a
in_cksum.c ->in_cksum.S
2000-01-14 19:20:32 +00:00
msaitoh
f485f2635c
add SH3_{PHYS,P1SEG,P2SEG}_TO_{PHYS,P1SEG,P2SEG} macros
2000-01-14 19:09:35 +00:00
uch
0a98216e35
fix mobilon hc-4100 keymap.
2000-01-14 18:37:58 +00:00
msaitoh
69fcc26071
write through bit (SH4)
2000-01-14 16:06:11 +00:00
ad
ec54843fa3
- Make consistant with the new order.
...
- Ammend comment about PrestoServe.
2000-01-14 15:52:33 +00:00
ad
ba79e0aab8
Make consistant with the new order.
2000-01-14 15:52:00 +00:00
msaitoh
2d4348b99d
in_cksum.S (bi-endian)
2000-01-14 15:47:42 +00:00
msaitoh
80d920c3d0
block prototype definitions with _LOCORE (for .S)
2000-01-14 15:46:02 +00:00
pk
c31e760978
Add missing `break'.
2000-01-14 15:25:28 +00:00
pk
757264e2b1
Remove old-style boot device recognition.
...
Sync device_register() et. al. with sparc/sparc/autoconf.c
2000-01-14 14:57:27 +00:00
pk
77bd08a06b
Remove old-style boot device recognition.
2000-01-14 14:38:37 +00:00
pk
cd1f76b21b
Remove old-style boot device recognition.
2000-01-14 14:27:14 +00:00
msaitoh
ac8d6acaa7
add cpgreg.h and pfcreg.h for "make includes"
2000-01-14 13:58:06 +00:00
simonb
bdf420bdbf
Redo interrupt establishment, based in part on work on the
...
[nisimura-pmax-wscons] branch and suggestions from Toru Nisimura:
- Remove bogus tc_slot_info[] name for interrupt handling array
and replace with simplified struct intrhand intrtab[] array.
- Add intr_establish() and intr_disestablish() function pointers
to struct platform and initialise this in each model-specific
initialisation, and remove global tc_enable_interrupt function
pointer.
- Remove model-specific function declarations from ibus/ibusvar.h.
This is functionally identical to the current scheme, and doesn't
yet try to commonise interrupt establishment by bus type as the
[nisimura-pmax-wscons] branch does.
Also, move cpuspeed variable from autoconf.c to machdep.c
2000-01-14 13:45:21 +00:00
pk
3cb5a866dd
Expand md filesystem to 3.6MB.
2000-01-14 13:41:45 +00:00
itohy
cf055ef630
Change the implementation of ms(4) polling to use timeout(9) software
...
interrupt in order to eliminate glitches on MPU interrupt levels.
I don't know whether this is a good solution, but it does work.
2000-01-14 08:22:42 +00:00
itohy
dbb0c078a5
- Do not lower interrupt level at clock interrupt.
...
The original code lowers level 6 to 4, and if a
clock interrupt occurs in splzs (or similar) the
system may be in unpredictable state.
To do such a hack correctly, checking the original priority
and duplicated clock interrupts would be required.
For now, just disable the hack.
- Do not use clock interrupt for ms polling.
2000-01-14 08:21:22 +00:00
nisimura
034d6278cf
Fix an argument error of wsmouse_input() call.
2000-01-14 03:28:13 +00:00
nisimura
a6b81f14b1
Make suline() compilable for 68040.
2000-01-14 02:39:22 +00:00
ad
2db85d5948
- Add some extra TC ID strings that we should recognise. From simonb.
...
- Function definition and RCS ID spacing.
- Fix multiple inclusion goo to be like the new order of things.
2000-01-14 02:00:46 +00:00
ad
660d78e477
[#[@ ]]dpt* at eisa? slot ?
2000-01-13 19:10:22 +00:00
uch
ee917c935b
TX39 IR module (connected to TX39 UARTB module)
2000-01-13 17:53:35 +00:00
matt
32bb54d2ff
Enable IBCS2 (DEC SVR3) compatibility.
2000-01-13 15:09:52 +00:00
shin
d4cd1dcd2f
change '-G 32' to '-G 30' to avoid overflow(TX3912).
2000-01-13 05:32:41 +00:00
nisimura
765a46262c
- Add raidframe and wsmux.
...
- Fix off-by-one error of scsibus.
2000-01-13 01:04:33 +00:00
cgd
e838d6a869
these are needed due to the change in rev 1.16 of mips/include/mips_param.h
2000-01-12 19:33:18 +00:00
drochner
56b8bc14b4
-catch zeroed descriptors and skip nodes with no valid ressources,
...
needed to deal with disabled nodes
-Parse "fixed io descriptors". Their use in nonsense in principle
because 10-bit decoding is implied. Hope this is not real...
-Tolerate mismatches between node size and actually used space
as long as the used size is smaller than the buffer size. There
is at least one broken BIOS which reports node sizes larger than
the used one, and windows obviously doesn't complain...
2000-01-12 19:24:02 +00:00
cgd
67fd1bd089
add clean and distclean targets. Clean cleans out build-generated bits.
...
Distclean does that, plus removes other files windows is likely to
generate to make things unclean (.opt workspace options files, as well
as automatically updated versions of .dsp/.dsw files). This means
that if you distclean: your workspace options may be reset to the defaults
(hey, you did tell it to clean everything out!), and any modifications
that you incorrectly made to the .dsp/.dsw files w/o using the templates
and UNIX-based auto-generation will be clobbered.
2000-01-12 19:19:16 +00:00
dbj
b2236223c9
applied patch from "Christian Limpach" <chris@Nice.CH>:
...
I've fixed the problem that's been keeping me from using anything newer than
1.4.1 now. I tracked down the problem checkin, it's the big reorg of
nextdma.c between 1.19 and 1.20. It didn't introduce a new bug but it
activated a check which wasn't activated before. It's the
is-the-limit-in-the-right-window-check which was ifdeffed before because
some DMA-regs would sometimes have strange values. I think I've fixed the
DMA-reg stuff for now: at the end of nextdma_intr, when the csr is poked
to make DMA do something, I think the check for the ENABLE bit introduces a
race condition. I fixed this by unconditionally setting DMACSR_SETENABLE,
this seems to work and also makes the code more readable. I've also tried
setting DMACSR_SETSUPDATE unconditionally and this also works well, but I
don't know what it implies. Unless you have reasons to not set SUPDATE all
the time, I'd suggest making this change as well, it makes the code cleaner
and faster...
I've tested this patch and it does stop the panics, although I don't think setting
SUPDATE all the tima as he suggests is a good idea. The "SUPDATE" bit implies
a single update (i.e. the end of a dma chain.)
2000-01-12 19:18:00 +00:00
pk
e42b2c6cb7
When matching scsi disks, check for the scsibus parent in the previous
...
entry in the boot path. Noted by Matthew Jacob.
2000-01-12 15:53:29 +00:00
uch
a0628e8583
set limit value and local saved configuration. return -1 if calibration failed.
2000-01-12 15:00:47 +00:00
uch
dce2bc94e0
add UCB1200 sound module ucbsnd (core implementation only)
...
UCB1200 touch panel module moved to ucbtp and sync with vrpiu.
2000-01-12 14:56:17 +00:00
mjacob
e7f230b6d2
no need to guess about tgt/lun bounds- we know what they are
2000-01-12 14:53:17 +00:00
msaitoh
39caf082ca
use _C_LABEL()
2000-01-12 14:41:44 +00:00
msaitoh
908d5761a1
OBJCOPY?=objcopy
2000-01-12 14:40:49 +00:00
msaitoh
cf37b6ff3b
KNF
2000-01-12 14:40:27 +00:00
leo
2f371152d6
Init the preset_row_scan register. This fixes a sometimes partly scrolled-up
...
console.
2000-01-12 08:53:01 +00:00
cgd
5078d19283
foist my automatically generated evil upon the world.
2000-01-12 02:46:33 +00:00
cgd
ce9a9c483e
taking evil to the next level: config files, templates, and scripts
...
to automatically generate project (.dsp) and workspace (.dsw) files
from configuration scripts for the bits that have to be built
on windows. you build by saying 'make winfiles' here in stand,
then check in (on UNIX). The versions that windows sees have to have
CR-NL line termination, so for proper use with samba the generated
files contain CRs and must be checked in on UNIX (NOT from Windows
CVS).
2000-01-12 02:33:54 +00:00
nisimura
237f63f2d2
Put a comment about BREAK detection; DDB fails to resume. Need to clear
...
the condition before resume?
2000-01-12 01:59:45 +00:00
nisimura
acf3c1e59a
- Fix an error in clearing entire screen.
...
- Add 3 byte long mouse event parsing.
- Fix errors in comments.
2000-01-12 01:57:22 +00:00
pk
7935de2d85
Use a table to detect device aliases and add various `isp' and floppy
...
controllers to it. Also use a table lookup when matching busses/controllers.
2000-01-11 20:53:24 +00:00
ad
a4fe338bf5
Fix thinko in comment.
2000-01-11 20:36:17 +00:00
pk
c6b6f3883a
Remove old-style boot device recognition.
2000-01-11 12:59:43 +00:00
nisimura
866126dd49
Nuke unnecessary external variable declaration.
2000-01-11 10:29:35 +00:00
nisimura
18cef2d812
Use explicit 68040 calls for cache manipulations.
2000-01-11 08:24:14 +00:00
nisimura
a85aebd7fe
Allow to mount disk with UniOS (== ISI) disklabel as well as SunOS
...
label. Klude to access weird rootfs on 'c' via 'b'. ISI disklabel
can not be altered. Use SunOS label.
2000-01-11 08:22:38 +00:00
matt
b8701a20ac
Add ibcs2 signal tramp code.
2000-01-10 23:54:47 +00:00
pk
a744e28304
Cleanup the list of exported headers a bit.
2000-01-10 22:09:34 +00:00
matt
8e5ca16369
Add two missing header files.
2000-01-10 19:28:15 +00:00
takemura
7817a37e38
WSMOUSE_SCALIBCOORDS/WSMOUSE_GCALIBCOORDS support.
2000-01-10 14:07:58 +00:00
mark
e41b004de0
Increase the kernel VM area for both SHARK and Footbridge systems.
2000-01-10 07:44:55 +00:00
mark
8920fc9215
Rework of kernel I/O & memory mappings along with new implementation of
...
bus_space_map for PCI memory.
The mapping of system devices and I/O space has been shuffled to place them
at the top of memory leaving a larger contiguous chunk between the kernel
itself and the I/O mappings for the kernel VM area. This allows support
for kernel VM areas > 48MB.
The 144MB fixed mapping of early PCI memory space has been removed and a
new version of the bus_space_map() function has been implemented to map
PCI memory into the kernel VM area as required rather than using the fixed
mapping.
A mapping of the first 1MB of PCI memory is maintained for ISA memory
accesses and accesses to the VGA memory.
2000-01-10 07:43:07 +00:00
mark
656c8e63b4
Add description of the pciide & wd flags (from i386 GENERIC config).
...
Restore the isp driver now that we can down load firmware again.
2000-01-10 07:22:35 +00:00
tsutsui
6c5a73d0ea
Add IPv6 stuff.
2000-01-10 06:12:20 +00:00
jonb
3a852a52dc
Hmmm... The pc532 will only ever have one ncr device without major
...
hardware rework, so it doesn't need to be listed as ncr*. However,
this could also be thought of as covering up a (new?) bug in the
probe/attach code that has recently decided that there are at least
ncr0 and ncr1 with the same interrupt and address mappings. So
this change is just to let people build kernels that don't panic
at boot time...
There, is that a long winded commit message or what?
2000-01-10 04:47:08 +00:00
mark
996c945e65
Add a several casts (mainly cosmetic).
2000-01-10 04:05:50 +00:00
mark
62645f43ba
Add support for a boot argument podule?=mmmmpppp to enable the manufacturer
...
and product IDs for a podule to be overriden. The IDs are specified in hex.
A value of "ffff" means disable and replaces the podule?.disable option.
This allows podules whose IDs have been changed e.g. by PowerROMs to still
have the correct driver attached.
Based on my original patch but tided up and debugged by Stephen Hobbs.
2000-01-10 04:01:17 +00:00
eeh
082d2d0074
Add debugger single-stepping and fix interrupt dispatch bugs.
2000-01-10 03:53:20 +00:00
simonb
ede7778a1c
Remove unneeded include files (up to 16 in two files!).
2000-01-10 03:24:31 +00:00
matt
cbe54e5057
Add ibcs2 machine dependent file for VAX.
2000-01-10 03:06:44 +00:00
matt
1a241d6403
Move the ibcs2 setmachine function here (from compat/ibcs2) since it is
...
i386 specific.
2000-01-10 03:05:35 +00:00
matt
100b64e3c6
Add some i386 defines.
2000-01-10 03:03:54 +00:00
matt
a57402e015
Add VS4000 scsi attachment (does not yet work).
...
Add COMPAT_IBCS2 hook (for running DEC VAX SVR3 images).
2000-01-10 02:35:35 +00:00
matt
362ae13bea
Add some machine dependent stuff for vax.
2000-01-10 02:33:13 +00:00
matt
5dc0a61485
Add ibcs2_machdep.h and reformat so that adding new includes is a bit easier.
2000-01-10 02:30:33 +00:00
simonb
6713f95947
Add trailing quote to RCS ID.
2000-01-10 01:57:41 +00:00
ad
0ab584940f
RCS ID police.
2000-01-09 23:12:30 +00:00
ad
ef9dba7791
- Protect against multiple includes.
...
- Spacing.
2000-01-09 23:10:45 +00:00
simonb
82a7ef29e8
Move include of <sys/sysctl.h> after <vm/vm.h>
...
Add some parentheses around part of an expression to keep gcc -Wall happy.
2000-01-09 22:31:44 +00:00
pk
20018b9be8
Add special code for recognising a floppy drive as the boot device.
...
Sun's PROMs don't co-operate here, so there are _hacks_ involved...
2000-01-09 20:53:30 +00:00
simonb
0e7337b60e
Remove defines for VM_PHYSSEG_STRAT and VM_PHYSSEG_NOADD - these are
...
already in mips/include/vmparam.h. Now things work again (yo Andy!).
2000-01-09 20:09:43 +00:00
simonb
b4c00759ec
Clear up a comment a little.
2000-01-09 20:08:14 +00:00
uch
3e70433d39
fix TX39IO port debug routine bug. (TX3912)
2000-01-09 18:56:37 +00:00
joda
eaa635b930
add (commented out) xe@pcmcia entry
2000-01-09 17:31:56 +00:00
tsutsui
15e19e87b9
Fix y2k bug in inittod().
...
I misunderstood that "bad date in battery clock" message was
caused by dead-battery NVRAM. *sigh*
2000-01-09 15:56:52 +00:00
ad
838b5e08c9
- Fix RCS Ids.
...
- Spacing.
- Protect from multiple inclusion in a consistant way (except on headers
that do nothing except function as mips header wrappers).
2000-01-09 15:34:41 +00:00
ad
e37d8a4671
This is just a wrapper, nuke comment so it's like the others.
2000-01-09 15:12:31 +00:00
ad
ab208e6993
s/4(..)bsd/4$1BSD/
2000-01-09 15:08:42 +00:00
ad
699c278c21
Fix some spacing, spelling, RCS ID and KNF nits that I came across.
2000-01-09 14:34:33 +00:00
ad
010a8f8cb1
- Protect from multiple includes.
...
- Fix and beef up comments.
- G/C unused def.
2000-01-09 14:28:54 +00:00
simonb
24ddcc3162
Use the badaddr() prototype in mips/include/cpu.h by including
...
<machine/cpu.h> in mips/include/mips_param.h. Remove duplicate
badaddr() prototypes from some pmax header files.
2000-01-09 13:24:14 +00:00
simonb
ddc897f64e
Prototype stacktrace() and logstacktrace().
2000-01-09 10:05:55 +00:00
shin
5a5de631b0
split 'options SOFTFLOAT' to
...
NOFP don't touch FPU registers in kernel
SOFTFLOAT emulate FPU instructions in kernel
2000-01-09 08:01:54 +00:00
shin
b4d582b776
md_root.c: #include "opt_mdsize.h"
...
machdep.c: add 'ifdef' to compile without 'options DDB'
2000-01-09 07:59:51 +00:00
shin
2c751cff39
add options for sysinst (memory disk size etc.)
2000-01-09 07:57:43 +00:00
shin
355d8b383f
add Vadem Clio and Sharp Tripad
2000-01-09 07:55:57 +00:00
simonb
636b65bec8
The clean-up continues:
...
- Make local-only function and variables static.
- Move function prototypes and extern variable declarations to
header files.
- Delete unused variables.
There's still a handful of extern declaraions that should be fixed up.
2000-01-09 03:55:28 +00:00
uch
ce3b031d6d
TX3912 touch panel support
...
TX3912 SIB module + ADC part of UCB1200 (companion chip of TX3912)
2000-01-08 21:07:02 +00:00
dbj
5a458d0c73
resync with with hp300 port
2000-01-08 12:41:14 +00:00
dbj
2b4d2c0c58
add % to register names
...
use cpp macros for all symbol access
2000-01-08 12:38:27 +00:00
takemura
169eab5405
Update binary for MC-R530 and SHARP Mobilon HC-4100.
2000-01-08 05:25:44 +00:00
nisimura
e9c36a5c33
Kludge to avoid a panic in badaddr() when no framebuffer is installed.
2000-01-08 04:40:25 +00:00
takemura
ba04c55ed3
Absolute pointing device support.
...
- Wsmouse_input() get new argument 'flag', which indicates whether x/y/z are
relative or absolute.
- Wsmouse get new io controls, WSMOUSEIO_SCALIBCOORDS and
WSMOUSEIO_GCALIBCOORDS.
2000-01-08 02:57:22 +00:00
simonb
ee075b7de7
Function prototype cleanup.
2000-01-08 01:02:35 +00:00
mark
58465c9fcd
Print leading zero when displaying the date in resettodr().
...
Fixes PR9129.
2000-01-07 23:43:45 +00:00
uch
d998f29223
p7416buf and tc5165buf are merged.
2000-01-07 15:19:12 +00:00
uch
db8644e2c9
4bit greyscale mode currently disabled. (change to 2bit greyscale)
2000-01-07 15:10:50 +00:00
simonb
576e373b42
Start of the "The Big Cleanup" - remove "ifdef alpha". This has
...
diverged enough from the alpha scc.c that keeping any pretence of
portability is not worth it.
2000-01-07 14:12:51 +00:00
simonb
5f95b56bc8
Need to include <dev/wscons/wsconsio.h> for WSDISPLAY_FONTORDER_L2R.
2000-01-07 13:43:02 +00:00
msaitoh
08b1e4a63f
enable cpu_coredump()
2000-01-07 12:01:00 +00:00
msaitoh
665e9462e5
s/ECOFF/COFF/ (comment only)
2000-01-07 11:20:41 +00:00
pk
a77d141b28
Deal with `24 bit' devices which can still be plugged into an Sbus slot.
2000-01-07 10:54:11 +00:00
msaitoh
b3fa48ba9d
implement send/recieve break signal routines
2000-01-07 10:50:14 +00:00
msaitoh
049ad0d982
machine/exec_coff.h -> sys/exec_coff.h
2000-01-07 09:40:33 +00:00
nisimura
1aab1f58f9
Make consistent with other m68k ports fixing updates.
2000-01-07 09:09:35 +00:00
nisimura
f28fd51814
- Make SCSI work; by kludges of machine/bus.h. TEAC streamer tape drive
...
found to be tweaked. Need extensive verifications.
- Add wsmouse node under ws; not useful this moment.
2000-01-07 05:13:08 +00:00
msaitoh
1020615169
use PSL_IMASK macro
2000-01-07 00:13:24 +00:00
drochner
86fb34705e
clarify tss switch: remove bogus symbolic constant, add comment
...
no functional change
2000-01-06 18:41:24 +00:00
uch
f60ef90127
implement IT8368 legacy attr mode. Mobilon requires it.
2000-01-06 18:14:25 +00:00
uch
75961aa95f
change overrun interrupt treatment.
2000-01-06 18:11:23 +00:00
uch
6c7f28e845
add debug draw routines.
2000-01-06 18:10:42 +00:00
uch
f0d09739ad
regen.
2000-01-06 18:08:54 +00:00
uch
06a9750042
add SHARP Mobilon HC-4100 entry.
2000-01-06 18:07:53 +00:00
leo
a93741b5c7
Determine the default floppy type on the TT/Falcon by reading the config
...
switches. (Thanks to Michael Schwingen for the missing bits of information!).
2000-01-06 12:14:33 +00:00
leo
2b1c23376c
Fix y2k buglet in /dev/rtc reported by Julian Coleman. Note that the input
...
and output format of /dev/rtc is now changed.
2000-01-06 12:03:31 +00:00
is
fc0b743e44
Fix comment. No code change.
2000-01-06 10:53:34 +00:00
shin
9243684aaa
fix MC/R530 parameter.
2000-01-06 06:24:29 +00:00
simonb
770f6c71b8
Fix tyop in comment.
2000-01-06 05:22:07 +00:00
nisimura
3bec20781c
Fix a typo of screen size; pointed by tsubai.
2000-01-06 00:19:10 +00:00
ad
44ae4c89f4
- Update for changes to 'struct wsdisplay_font'.
...
- Add RCS Id string. This should probably be in 'othersrc'.
2000-01-05 18:49:13 +00:00
ad
59a1ab9791
Add two new members to 'struct wsdisplay_font': 'bitorder' and 'byteorder'.
2000-01-05 18:44:21 +00:00
takemura
42a0e30299
We can mmap frame buffer. Sorry, we had not been able to map it.
2000-01-05 15:12:42 +00:00
nisimura
95d00ea75d
Introduce NetBSD/luna68k port into CVS repository.
2000-01-05 08:48:53 +00:00
simonb
b1ab053e2c
Ick - include pmioctl.h to get the pmEventQueue typedef needed for
...
qvssvar.h (needed for the mouseInit() prototype). This _will_ be
cleaned up soon!
2000-01-04 23:15:03 +00:00
pk
8cbc7288d0
* Expand IOMMU DVMA space to top of address space.
...
* Remove confusing comments.
2000-01-04 15:08:30 +00:00
kleink
693059feda
const -> __const and include <sys/cdefs.h> earlier; fixes PR lib/9052
...
by Takahiro Kambe.
2000-01-04 14:20:05 +00:00
itojun
7fe7bda8e2
enable INET6. commit for boot floppy fix should follow.
...
add awi0 and cnw0 (commented out)
2000-01-04 08:05:49 +00:00
chopps
7d96c007f0
add ntwoc* at pci, and a commented out ntwoc0 at isa.
2000-01-04 06:58:54 +00:00
is
2e3d1cc048
The Ricoh chip has a seperate leapyear counter.
...
We must write this when we write the year register, keeping them in sync.
XXX the chosen algorithm only works for 1901 <= year <= 2099.
2000-01-03 21:52:14 +00:00
is
d14968078a
Write part of the y2k fix.
...
This is not strictly necessary, as
- at least for the Ricoh chip in the A3000 and A4000, as those chips' Y10
registers happily continue to count up from 0xA if manually incremented
past 0x9.
- the Amiga ROMs and "setclock" commands seem to interpret 0xA 0x? like
200?, etc.
However,
- the Amiga setclock writes the modulo 10 value into the chips
- the chip docs of both chips, including the Y2K information of their
manufacturers, only refer to the range 0-9
- the chips increment from 9 to 0
So we better conform to this, to avoid unpleasant surprises.
2000-01-03 20:30:51 +00:00
uch
f56a7d0967
clean up boot message.
2000-01-03 18:29:03 +00:00
uch
c6376f2e26
Change tx_poll_establish implementation and interface.
2000-01-03 18:24:03 +00:00
takemura
74ea35cd39
Now you can specify Windows raw device no to load the kernel in the style:
...
n:/netbsd (n=1..9)
2000-01-03 05:59:40 +00:00
msaitoh
518cfb0bde
userret() if the user process will be killed.
...
Now the NetBSD/sh3 works very stable!
2000-01-03 02:55:25 +00:00
is
5614cd4fce
*sigh*
...
Y2000-patch for A2000, A3000 and A4000 battery backed clock modules,
mostly by Adam Ciarcinski.
2000-01-02 18:29:22 +00:00
msaitoh
b75406e24f
remove exec_coff.h
2000-01-02 13:40:55 +00:00
msaitoh
da3eeac505
EXEC_COFF cleanup
2000-01-02 13:39:49 +00:00
shin
28087acb02
Change COPTS to "-Os -mmemcpy" for size reduction.
...
Suggested by Simon Burge.
2000-01-01 04:46:22 +00:00
shin
54fac7be8f
add MSDOSFS
...
delete redundant kernel 'config' lines.
add new option '-b={wd0,sd0,nfs}' to change boot device.
2000-01-01 02:22:35 +00:00
shin
7626f63930
compile kernel with
...
-mips2 -G 32
for size reduction. Suggested by Castor Fu.
2000-01-01 02:15:38 +00:00
uch
b4e898bafb
Fix MCS3 address.
1999-12-31 16:07:29 +00:00
ad
50fcd347dd
Comment px0 entry a little more accurately.
1999-12-31 12:21:06 +00:00
is
715da299de
assign the pointer
1999-12-31 08:38:13 +00:00
tsubai
e362a13605
Add zs softint definition. (I forgot to commit this...)
1999-12-31 08:15:48 +00:00
simonb
a58b73afb3
Remove duplicate
...
#com* at boca? slave ?
line.
1999-12-31 00:14:56 +00:00
pk
4681e48204
Remove private kernel members from `struct fpreg'; update accompanying comment.
1999-12-30 23:59:29 +00:00
is
b41bac45fe
Assign copyright to TNF and add license.
1999-12-30 21:09:56 +00:00
is
99943b2c6b
Rewrite of the Amiga bus_space machinery to prepare for the support of
...
the generic IDE driver and the PCMCIA slots.
1999-12-30 20:56:44 +00:00
eeh
e71251703c
Revamp 32-bit syscall entry points.
...
Change in-kernel FPU usage conventions.
1999-12-30 16:57:27 +00:00
uch
d136e27a9c
Before attach card, check card is detected.
1999-12-30 16:50:43 +00:00
eeh
98e266aba9
Update COMPAT_NETBSD32 stuff.
1999-12-30 16:42:10 +00:00
eeh
54b99fdd8b
Lots of changes:
...
remove ffs()
add bzero that uses block store insns
save %gsr to fpstate
revert to physical accesses for pmap_zero_page so we don't
have conflicting page mappings
general cleanup.
1999-12-30 16:39:53 +00:00
eeh
fe12b863f3
Add proc->md->fpstate and GSR to fpstate.
1999-12-30 16:35:25 +00:00
eeh
32834060c6
Fixup 64-bit type conversion issues.
1999-12-30 16:34:02 +00:00
eeh
724cd7eda1
Mark page table pages as wired rather than busy.
1999-12-30 16:31:18 +00:00
eeh
f1985e61f9
Add bootblk directory and only compile things on sparc64 machines.
1999-12-30 16:27:54 +00:00
eeh
58379b85fa
Make CLKF_INTR() more intelligent.
1999-12-30 16:26:18 +00:00
eeh
75402069b7
Use absolute size structures for H/W registers.
1999-12-30 16:25:17 +00:00
eeh
01dc4c4451
Update 32-bit sigcontext structures.
1999-12-30 16:24:33 +00:00
eeh
0e853e8d4a
struct core32 is now in MI headers.
1999-12-30 16:22:12 +00:00
eeh
2c1410f883
Implement PMAP_PREFER().
1999-12-30 16:21:25 +00:00
eeh
4558c5bfb7
Add the %gsr to our fpstate structure.
1999-12-30 16:20:43 +00:00
eeh
0e53075800
Switch libkern back to a library 'cause bzero's back in locore.s.
1999-12-30 16:19:00 +00:00
hubertf
ac80f7c7ac
add disabled entry for options APM_DISABLE_INTERRUPTS=0
1999-12-30 04:18:51 +00:00
simonb
49ee67c77e
Include qvssvar.h to get mouseInput() prototype.
1999-12-30 01:01:48 +00:00
simonb
5c8cb4e2a7
Make some functions static which aren't used anywhere else. Remove local
...
function definitions that are already in qvssvar.h.
1999-12-30 00:57:29 +00:00
simonb
644ff8f7ed
Include <pmax/pmax/cons.h> instead of <dev/cons.h> to get RCONSDEV.
...
That file includes <dev/cons.h>.
1999-12-30 00:31:02 +00:00
simonb
88edf446c2
s/lk_mapchar/lk_reset/.
1999-12-30 00:29:53 +00:00
pk
f152d57aa2
Make sure to reset the FP queue when loading new values into FP registers.
1999-12-29 15:21:27 +00:00
tsutsui
bcfe791812
Modify software interrupt handling a bit.
1999-12-29 05:01:13 +00:00
castor
7fc2807b2b
Make SOFTFLOAT emulation compatible with _MIPS_BSD_API_LP32_64CLEAN
1999-12-29 04:41:12 +00:00
tsubai
a1da0497d2
Remove two panic conditions.
...
XXX untested.
1999-12-28 13:49:20 +00:00
takemura
3e0dc7b316
VR41xx's PIU (Touch panel I/F unit) suport.
...
Currently it emulates relative pointing device like mouse, but it should
behave like an absolute pointing device. It needs more works in wsmouse side.
1999-12-28 03:15:16 +00:00
castor
2a0deb6e74
Add code to ensure delay slot is printed when disassembling.
1999-12-27 21:12:25 +00:00
castor
cf643fe983
Add macro for MIPS_PHYS_MASK and document use of bits in system status
...
registers.
1999-12-27 20:05:06 +00:00
uch
02464c54d0
Implement PCMCIA controller power up/reset.
1999-12-27 18:49:20 +00:00
msaitoh
941be5884f
computex(computex.co.jp)'s evaluation board.
1999-12-27 11:17:14 +00:00
msaitoh
b682f09cbb
fix missing SCI IRQ mask/unmask code.
1999-12-27 10:50:41 +00:00
takemura
0818609296
Update version no and executable binary for Compaq Aero 1530.
1999-12-27 01:56:18 +00:00
msaitoh
d73af2f624
use _C_LABEL()
1999-12-26 20:32:11 +00:00
jun
3c457707e6
add
...
Compaq Aero 1530
1999-12-26 17:27:53 +00:00
jun
c81c09d71b
regen.
1999-12-26 17:21:59 +00:00
jun
667e234adf
add platid:
...
Compaq Aero MODEL 1530
1999-12-26 17:21:03 +00:00
itojun
8be54624ce
add lines for boca 16-port serial card (BB2016), commented out.
1999-12-26 17:07:23 +00:00
uch
d034b79aa3
clean up.
1999-12-26 17:06:02 +00:00
uch
124aa3ecd0
totaly rewritten.
1999-12-26 17:05:28 +00:00
tsutsui
2b643fda30
Oops, forgot to add scsibus* at ncr?
1999-12-26 13:02:24 +00:00
tsutsui
79a990ffa1
Add ncr* at pci?
1999-12-26 11:39:16 +00:00
tsubai
fa34872358
Use software interrupt.
1999-12-26 09:05:38 +00:00
shin
fbae81d242
regen.
1999-12-26 05:51:25 +00:00
shin
5723de16d3
add platid for MC/R530, INTERTOP CX310(IT310).
1999-12-26 05:50:59 +00:00
scottr
97a60329d2
Apparently, the Mac TV is a re-packaged Performa 550. Add code to
...
recognize this so that Mac TV users can finally ditch the MRG_ADB option.
1999-12-25 08:16:34 +00:00
minoura
58b3ac77bd
Give up support of 4MB RAM machines for standard sysinst-based installer.
...
Restricted small installer must be used on those machines.
1999-12-24 17:02:13 +00:00
minoura
7330ce45ef
Replace shell script version of newdisk utility with C version.
...
Add the man page newdisk(8).
1999-12-24 16:51:24 +00:00
msaitoh
1d5d46cad0
round_page(data_segment_size), too
1999-12-24 08:32:58 +00:00
msaitoh
05781b11af
back to previous one (suggested by cgd)
1999-12-24 08:29:23 +00:00
tron
e1e62b88e3
Correct description of "vnd" pseudo device.
1999-12-24 00:15:50 +00:00
uch
36380814c1
coding style clean up.
1999-12-23 17:24:30 +00:00
uch
26125dde8a
Fix tx39clock_get bug.
1999-12-23 16:58:48 +00:00
uch
0028029538
Add TX39IO_MFIOOUTPORT_OFF option (debugging use)
1999-12-23 16:58:07 +00:00
uch
9481f398a2
Detect overrun interrupt. and add spl.
1999-12-23 16:57:14 +00:00
uch
115925987c
Off LCD power when serial console.
1999-12-23 16:56:16 +00:00
ad
103246974d
xcfbreg.h is essentially a copy of ims332reg.h with 3 xcfb specific board
...
offsets defined. Nuke it.
1999-12-23 16:07:58 +00:00
ad
7cc038239e
More variable naming pedantry.
1999-12-23 15:42:06 +00:00
ad
977ce29db3
Rectify the jumbled naming scheme of routines in lk201.c. Function names
...
are now lower case and prefixed by 'lk_'. XXX lk_mouseinit() is bogus. It
belongs somewhere else.
1999-12-23 15:34:17 +00:00
ad
e05b646600
mouseInput() should not be declared here.
1999-12-23 15:27:14 +00:00
tsubai
3a04d046b7
Fix typo.
1999-12-23 11:45:32 +00:00
kleink
11e6c54cfc
C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
...
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
1999-12-23 10:15:05 +00:00
tsubai
a2928f3d68
Remove 2 more unnecessary debugging codes.
1999-12-23 07:06:44 +00:00
tsubai
9909053174
* Apply updates from Shimizu-san received after the initial commit.
...
* G/C unused.
* Many cosmetic changes.
* etc...
1999-12-23 06:52:30 +00:00
takemura
98a2a24647
New button handler and power controller with configurable hooking mechanism.
1999-12-23 06:26:08 +00:00
tsubai
dd30883b03
Comment out -DBOOT_DEBUG.
1999-12-23 01:41:11 +00:00
tsubai
8a56c134db
Delete lines that I didn't intended to commit.
1999-12-23 01:40:06 +00:00
simonb
89b100b1a2
Get 2100/3100 model number correct (test was reversed). Bug report and
...
patch from Scott G. Akmentins-Taylor on port-pmax.
1999-12-22 22:10:07 +00:00
thorpej
7ec3575193
Update for BAT{U,L}() changes.
1999-12-22 18:57:47 +00:00
thorpej
db1042f3bc
Update some comments.
1999-12-22 18:57:12 +00:00
uch
508a4e8fd6
Implement TX3912/22 clock/timer module.
1999-12-22 15:35:33 +00:00
tsubai
1bc5465424
Remove unnecessary debugging code. (not intended to commit)
1999-12-22 08:16:45 +00:00
tsubai
70289b0f99
First cut of news5000 support.
...
Mostly from SHIMIZU Ryo <dejiko@di.gi.charat.org>.
1999-12-22 05:55:24 +00:00
tsubai
c594e4d0a3
news5000 support.
1999-12-22 05:54:41 +00:00
tsubai
ea69e534d2
* news5000 support.
...
* mips3_VCE[DI] now support L2CacheLSize != 32.
1999-12-22 05:54:18 +00:00
tsubai
efaa549162
First cut of news5000 support.
...
Mostly from SHIMIZU Ryo <dejiko@di.gi.charat.org>.
1999-12-22 05:53:21 +00:00
jun
2db6d32929
FIX:
...
port-mips/9016 [serious/medium]:
MIPS FPU emulator points wrong epc on exception case
Responsible: port-mips-maintainer (NetBSD/mips Portmasters)
State: open
Class: sw-bug
Originator: Shuichiro URATA
Release: current 12/11/1999
Arrival-Date: Fri Dec 17 10:18:00 1999
commit patch
http://www.a-r.org/~ur/softfloat1211.diff.gz
by Shuichiro URATA (ur@a-r.org )
1999-12-22 04:54:14 +00:00
msaitoh
8427734872
move sysctl definitions into ${MACHINE}/include/cpu.h
1999-12-21 22:19:16 +00:00
msaitoh
1e7bb23911
add some register definitions
1999-12-21 22:06:04 +00:00
msaitoh
67f8a5ca5b
fix the usage of .align 2
1999-12-21 21:41:56 +00:00
frueauf
60332c17b5
As per Chris G. Demetriou <cgd@netbsd.org> don't install
...
loadfile_machdep.h into /usr/include/hp300/, instead create a
link for machine and hp300 in ${.OBJDIR} like
sys/arch/alpha/stand/Makefile.buildboot does for alpha.
1999-12-21 21:06:26 +00:00
msaitoh
79f94c37ab
G.C.
1999-12-21 18:21:53 +00:00
msaitoh
4f62c264c8
".align 2" for mova instruction
1999-12-21 17:46:54 +00:00
drochner
a4cab38506
add rcsid + copyright
...
one more include file
1999-12-21 16:06:31 +00:00
drochner
5d8a0c0ddd
add a function which prints out the memory descriptors (for debugging)
1999-12-21 14:22:54 +00:00
drochner
b7b6c4bb4f
machdep.c is becoming an unmaintainable mess
...
put console initialisation into a separate file
1999-12-21 12:34:11 +00:00
tsutsui
386f0ea7b6
Typo.
1999-12-21 08:37:36 +00:00
frueauf
8870b49ed5
Add loadfile_machdep.h to includes to be installed - this makes
...
sys/arch/hp300/stand/* compile again.
1999-12-20 20:45:56 +00:00
jdc
016b030623
Added tctrl.h
1999-12-20 09:49:20 +00:00
scottr
1c5a093819
Make this compile without bpf. Problem noted by Bob Nestor, fix from
...
Frederick Bruckman.
1999-12-20 01:06:40 +00:00
tsubai
3b2d2cffe1
Introduce bootinfo.
1999-12-18 08:01:25 +00:00
tsubai
4d08b56ebd
Use hb_intr_establish().
1999-12-18 06:54:05 +00:00
tsubai
3488febf81
Move dma_intr() to here.
1999-12-18 05:00:56 +00:00
thorpej
a7f264fd2f
Update for BATU()/BATL() changes.
1999-12-18 01:37:00 +00:00
thorpej
8fc6795a77
- Comment the BAT bits.
...
- Add defintions for the PowerPC 601 BATs.
- Change the BATU()/BATL() macros to be a bit more flexible; allow size,
permissions, etc. to be specified.
1999-12-18 01:36:06 +00:00
thorpej
05684a14e6
Comment the MSR bits, and note which ones are not present on the PowerPC 601.
1999-12-18 01:34:15 +00:00
thorpej
0352041467
Hardware Implementation Dependent registers for the PowerPC 601.
1999-12-18 01:33:45 +00:00
msaitoh
45cbcdba34
round textsize only if the binary is demand-pagable
...
(for backward compatibility)
1999-12-17 08:25:35 +00:00
jeremy
a1c67d1d61
Renamed a temporary variable in pmap_enter() that conflicted with the
...
name of the new 'flags' argument, added as part of the new pmap_enter() API.
Added a comment which explains why there are still sun3x-specific flags
being passed in the unused bits of the physical address, and how these flags
are independent of the new 'flags' argument.
1999-12-17 08:10:59 +00:00
tsubai
4990e1cf94
Move common objects and libraries to common/.
1999-12-17 07:40:09 +00:00
tsubai
03ff4cb4df
Moved to common/romcalls.S,v
1999-12-17 07:33:21 +00:00
tsubai
0271e4c36a
Moved from bootxx/romcalls.S,v
1999-12-17 07:33:20 +00:00
jeremy
d6a3f7a016
Added inet_addr.c to the list of required modules from the kernel stand
...
library.
1999-12-17 07:28:01 +00:00
thorpej
6926d0d4b1
Hand-tuned pmap_zero_page().
1999-12-17 07:24:05 +00:00
tsubai
be68900e77
Add interrupt level locator and use it instead of hard-coding.
1999-12-17 06:05:37 +00:00
tsubai
5577683a2b
s/-G0/-G 0/
1999-12-17 03:24:33 +00:00
tsubai
9df2e626d6
Use hb_intr_establish().
1999-12-17 03:21:10 +00:00
tsubai
8a2b8d9a8b
Implement hb_intr_establish().
1999-12-17 03:06:13 +00:00
garbled
e89216c73c
avoid uninterruptable sleep on a CMD_REQ ioctl.
1999-12-17 00:32:25 +00:00
thorpej
18ab712015
Provide cpu_boot_secondary_cpus().
1999-12-16 20:24:58 +00:00
thorpej
a07b7d60e2
Garbage-collect.
1999-12-16 20:20:11 +00:00
thorpej
81f44f09a5
- Remove a misguided attempt to use procs as idle contexts for secondary
...
processors. Instead, allocate separate idle PCBs for them (including
the primary -- don't use proc0's for its idle context).
- Use SysValue to store the cpu_info for each processor.
1999-12-16 20:17:22 +00:00
msaitoh
e7924755fa
- round_page(ep_tsize). This fixes a bug which cause panic in pmap_enter_pv().
...
- DPRINTF cleanup.
1999-12-16 16:50:08 +00:00
shin
79adf0a66b
display CPU clock at boot time(Ex. NEC VR4121 rev0.0 131.072MHz).
1999-12-16 13:09:02 +00:00
shin
9751951da4
add CPU pipeline clock calculation function for VR41xx.
...
display CPU clock at boot time(Ex. NEC VR4121 rev0.0 131.072MHz).
1999-12-16 12:10:02 +00:00
sato
30c02c0abe
- support WSDISPLAYIO_GTYPE. (but currently return WSDISPLAY_TYPE_UNKNOWN.)
...
- support WSDISPLAYOP_GINFO. (but cmsize maybe not correct.. )
- not display kernel message when group 't' ioctl.
- support mmap()
1999-12-16 09:46:56 +00:00
sato
b92082a557
- dump some pmu registers at attach.
1999-12-16 09:37:33 +00:00
sato
0941c3a3c9
- cleanup a little..
1999-12-16 09:36:19 +00:00
thorpej
a5b316c4d5
Key off NSIO and NPCEB for (E)ISA interrupt support.
...
XXX Can probably nuke the SIO test; don't all of the Noritake-class systems
XXX have EISA?
1999-12-15 22:31:04 +00:00
thorpej
4f580f447c
Key off NSIO and NPCEB for (E)ISA interrupt support.
...
XXX Can probably nuke the SIO test; don't all of the Mikasa-class systems
XXX have EISA?
1999-12-15 22:30:40 +00:00
thorpej
58a51e3b72
Key off NSIO and NPCEB for (E)ISA interrupt support.
...
XXX Can probably nuke the SIO test; don't all of the ALCOR-class systems
XXX have EISA?
1999-12-15 22:28:15 +00:00
thorpej
c557690acc
Key off NSIO and NPCEB for (E)ISA interrupt support.
...
XXX Can probably nuke the SIO test; don't all of the Rawhide-class systems
XXX have EISA?
1999-12-15 22:25:21 +00:00
thorpej
3ffe65b597
Use alpha_shared_intr_{get,set}_private().
1999-12-15 22:21:45 +00:00
thorpej
deed2b3b4b
Fix a botch in stray interrupt reporting; report the kn300 IRQ, not the
...
interrupt enable bit on the MCPCIA the interrupt is mapped to.
1999-12-15 20:10:04 +00:00
ad
f607dfe4dd
- Change prefix for Bt459 register defs to BT459_IREG to indicate that
...
these are indirectly accessed registers.
- Add defs for directly accessed registers to bt459reg.h.
1999-12-15 15:09:36 +00:00
ad
f458e50bdf
Since mfb.c is the only user of defCursor[], move it from fb.c into there
...
and remove the extern'ed declaration in xcfb.c.
1999-12-15 14:48:24 +00:00
ad
278cb41098
Clean up a little.
1999-12-15 14:44:59 +00:00
ad
8307818a9b
Don't declare rcons_connect() - pull in <pmax/dev/rconsvar.h>.
1999-12-15 14:44:32 +00:00
ad
788d82a891
Clean up decl.
1999-12-15 14:36:41 +00:00
garbled
f02b80418b
add <machine/tctrl.h> where needed.
...
Add some undocumented commands to the ts102 registers file, and fix a few
typos.
Modifications to tctrl.c:
Add entrypoints to driver for open/close/ioctl/poll.
Make device work with apmd. (still no support for suspend/sleep)
Make device work with ENVSYS API.
Slightly restructure handling of events.
Add function to make microcontroller requests.
1999-12-15 08:12:30 +00:00
garbled
dd9ad672a9
add entrypoint for tctrl device, and add <machine/tctrl.h> to includes for
...
machdep.c
1999-12-15 08:03:43 +00:00
garbled
5e200de9b7
Add new spl level for tadpole devices splts102.
...
Device entrypoints for tctrl device (tadpole micro controller)
add header for direct-access ioctl to the tadpole microcontroller.
1999-12-15 08:01:00 +00:00
thorpej
30df737885
Nuke unused btinfo_symtab field.
1999-12-14 22:39:14 +00:00
thorpej
617f5f4169
Add console type for APCI.
1999-12-14 21:48:48 +00:00
thorpej
dd7c54248a
Add a type field to btinfo_bootpath.
1999-12-14 21:42:34 +00:00
thorpej
2eaf013302
Optimize for space.
1999-12-14 21:38:31 +00:00
thorpej
1ad07ba016
Recode the kernel transfer point entirely in assembly to completely
...
avoid compiler surprises.
1999-12-14 20:57:44 +00:00
thorpej
344d11c5f4
Make it possible to strip this down a little more.
1999-12-14 20:55:27 +00:00
thorpej
58ffb9ba82
Include loadfile() (and a.out support for loadfile()) in libsa.
1999-12-14 20:54:04 +00:00
thorpej
25c48ec858
First cut at loadfile() support for the hp300 boot program. Doesn't
...
work yet (kernel fails before MMU can be enabled).
1999-12-14 20:52:58 +00:00
thorpej
3f9e459666
Make sure the compiler doens't reuse the registers we use to convey
...
information to the kernel.
1999-12-14 19:14:49 +00:00
thorpej
56b2a5174c
Add a bootinfo facility, as is used on i386 and pmax, ports. We expect
...
the bootinfo to be located in the first page of kernel text (which has
been zero-filled for a Very Long Time to allow us to unmap KVA 0); the
boot loader will place it there after loading the kernel image.
1999-12-14 17:51:20 +00:00
thorpej
a817ac2b7c
Add COMPAT_LINUX, COMPAT_SVR4, EXEC_ELF32.
1999-12-14 17:46:05 +00:00
dbj
cf7de63ef3
add files needed to use KGDB as suggested by Christian Limpach <chris@Nice.CH>
1999-12-14 11:17:26 +00:00
sato
63a8704a00
- initialize vrdsu_softc sc_iot member in vrdsuattach().
1999-12-14 04:21:10 +00:00
augustss
d71ddb5075
Add Cirrus Logic CS4280 driver.
1999-12-13 20:22:53 +00:00
drochner
d057216913
add parsing of the "32bit memory descriptor" tag type
1999-12-13 20:12:22 +00:00
drochner
d9549f09b8
add EGA console support
1999-12-13 16:30:15 +00:00
uch
46fb1c9fce
initialize pciirq.
1999-12-13 15:42:05 +00:00
leo
ef4d7a827f
Change the copy_region function to shutup gcc's unused warnings in some
...
cases. Use the bus_space_tag without doing something useful... (idea from
Matthias Drochner).
1999-12-13 15:40:28 +00:00
sato
254fb071e7
- Vr4102 does not have PMUWAIT_REG_W register, so comment it.
...
- Vr4121 only have PMUDIV_REG_W register, so comment it.
1999-12-13 06:53:01 +00:00
sato
93482f6705
- change some comments.
...
- vr4102 have not BCUCNT3_REG_W register, so comment it.
1999-12-13 03:11:36 +00:00
sommerfeld
c86b5b3d08
Add new CPU feature flags (up through recent Pentium III and Celerons)
1999-12-13 01:31:30 +00:00
uch
0ad989b87a
remove unreferrenced header file.
1999-12-12 18:40:33 +00:00
uch
78a5012f77
add Telios keyboard (tc5165buf) information.
1999-12-12 17:11:20 +00:00
uch
97c3960184
SHARP Telios keyboard driver TOSHIBA TC5165 (tentative)
1999-12-12 17:10:01 +00:00
uch
b2098820d6
Telios keyboard support.
1999-12-12 17:08:37 +00:00
uch
f76253722c
clean up
1999-12-12 17:07:13 +00:00
uch
573725bd34
set stop timer interval.
1999-12-12 17:06:22 +00:00
uch
7780f42e8c
update comment.
1999-12-12 17:05:38 +00:00
uch
c8296edee4
code clean up.
1999-12-12 17:04:55 +00:00
ragge
ffbd2c2f5e
CL* discarding.
1999-12-12 14:39:18 +00:00
soren
0d5146155c
s/16x450/16x50/
1999-12-12 11:51:29 +00:00
scottr
3310f57beb
Replace references to PGOFSET with m68k_trunc_page() and m68k_page_offset(),
...
as appropriate.
1999-12-12 08:18:48 +00:00
scottr
8759c4e95e
Add m68k_seg_offset() and m68k_page_offset() to complement m68k_trunc_seg()
...
m68k_trunc_page(), respectively. Motivated primarily by a desire for
code clarity and symmetry.
1999-12-12 07:45:46 +00:00
thorpej
2128a07943
Put an interrupt-safe mutex around PCI configuration space access.
1999-12-11 20:48:25 +00:00
sommerfeld
85ba879817
MP: spinlockinit actually takes 3 args, not 4.
1999-12-11 19:39:31 +00:00
ragge
9beccd4e88
Detect "Infoserver 1000" also.
1999-12-11 17:55:13 +00:00
ragge
ae6ef93106
CL* discarding.
1999-12-11 17:54:04 +00:00
ragge
e921b99ca0
CL* discarding.
...
Move physmem setting to pmap_bootstrap().
Fix security problem in process_write_regs(), found by Klaus Klein.
1999-12-11 17:51:34 +00:00
simonb
f981fe2ed7
Don't need "extern int physmem" - <sys/systm.h> has this already.
1999-12-11 14:05:04 +00:00
simonb
3af7b06f11
Revert previous - the problem was a hard-coded KN01 dc address, not the
...
cookie value.
1999-12-11 13:49:18 +00:00
castor
e91bafa460
Replace unused keys with IGN instead of UNK for NEC MobilePro 750c,
...
to match usage of other systems.
Also, modify ALT keys to return AltL keysym so debugger key sequence
will work.
1999-12-11 08:23:29 +00:00
takemura
a9fc09cb1a
I've took 1 for i.
1999-12-11 03:29:26 +00:00
takemura
9fb0ec1daf
Recompile to support MobilePro 750 and Mobile Gear II for DoCoMo.
1999-12-11 02:58:22 +00:00
jun
a29e89ddf6
regen.
1999-12-10 09:14:27 +00:00
jun
5b17c4459e
change MG2 for Docomo,MCR-500A platid
1999-12-10 09:13:06 +00:00
mhitch
2553fa2352
Add multicast capability to the A4066 (es) driver; now it will do IPv6.
1999-12-10 05:44:58 +00:00
mhitch
0e63301bc7
Check for valid device when starting a request with interrupts; device
...
probes are now done with interrupts, and would hang when probing for
non-existent device.
1999-12-10 05:39:20 +00:00
scottr
a15eb6dc13
An interrupt handler may change adbInCount underneath us, so qualify the declaration
...
with volatile. The bug didn't show its face until more agressive
optimization showed up, apparently a result of the last egcs upgrade.
(The interrupt handling changes from June have certainly also played
a part.) Thanks to Ken'ichi Ishizaka for discovering the problem.
1999-12-10 00:03:47 +00:00
castor
855917ea08
Fix typo on _MIPS_BSD_API switch.
1999-12-09 15:39:46 +00:00
tsutsui
a109943094
Initial import of news68k port.
1999-12-09 14:53:00 +00:00
leo
748a00abd5
Fix argument of extent_free().
1999-12-09 13:07:41 +00:00
msaitoh
650e62ebf5
demand paging for ZMAGIC SH COFF binary!
1999-12-09 08:33:15 +00:00
jun
d4524d28d7
MobilePro750c keyboard mapping table contributed by "Castor Fu" <castor@geocast.com>
1999-12-09 03:14:06 +00:00
jun
20e8996454
add mobilepro750c_keytrans
1999-12-09 03:03:55 +00:00
jun
30f0c17cb2
add entry for NEC MobilePro 750c
1999-12-09 02:51:30 +00:00
jun
a565cabff0
Regen.
1999-12-09 02:48:43 +00:00
jun
f169738a6b
add NEC MobilePro 750c a.k.a. MCR_500A
1999-12-09 02:47:24 +00:00
simonb
ef246ec592
Add a few comments for unsupported systems.
1999-12-09 02:31:37 +00:00
sato
4765859db3
vrbcu related change.
1999-12-09 02:15:27 +00:00
sato
30dbdb3a28
- cleanup a little.
...
- vrbcu_vrip_getcpuid()
- exported prototype move to header.
1999-12-09 02:14:00 +00:00
simonb
8433a7d9eb
Enable DECsystem 5100 support.
1999-12-09 02:11:55 +00:00
sato
22f343c7ba
- tail \n
...
- add needs-flag for vrbcu & vrpmu.
1999-12-09 01:56:23 +00:00
simonb
77aea66917
Use "u_char *" instead of "caddr_t" for all colormap references. In line
...
with recent MI rasops changes, and fixes compile problems with -current.
1999-12-09 00:16:14 +00:00
thorpej
8b34a5b689
Revert previous.
1999-12-08 23:54:55 +00:00
thorpej
fd6f6e85b2
Slight changes so that bounce buffers can be implemented for the Jensen.
1999-12-08 23:40:35 +00:00
ad
6979dfbd2b
Accessing the ringbuffer from KSEG0 is too naughty to contemplate. Mother
...
would never approve.
1999-12-08 21:38:10 +00:00
ad
48eb7986d4
- If we call px_init() at attach time, then we're not the console, so don't
...
set the console arg to 1. Noted by mhitch.
- In px_init(), don't compute pxi_fontscale if we're not the console,
since we don't have a font in the first place. This is a relic from
when the driver was converted to use 'struct wsdisplay_font'.
Should fix crashes if a px board is installed and isn't the console.
1999-12-08 21:33:43 +00:00
msaitoh
f7bd242b6f
calculate microtime() correctly.
1999-12-08 20:39:45 +00:00
msaitoh
e7c433b9d5
fix copyinstr(9) bug (from Charles M. Hannum).
1999-12-08 17:12:21 +00:00
joda
3ae2d6605b
defopt APM_DISABLE_INTERRUPTS
1999-12-08 16:46:32 +00:00
uch
bf823f92da
fix typo.
1999-12-08 16:22:10 +00:00
uch
a46d11d667
don't define DEBUG in source code.
1999-12-08 15:57:12 +00:00
uch
395dc11439
sync with skbd.
1999-12-08 15:54:11 +00:00
uch
866a7053d6
MITUBISHI M38813 keyboard controller.
1999-12-08 15:51:07 +00:00
uch
7584977dc8
Remove old keyboard driver for Compaq C.
...
Add driver
PHILIPS 74ALVC1624? buffer chip + simple keyboard driver.
1999-12-08 15:49:18 +00:00
simonb
e065c9fbda
Store only the kernel name itself in the bootinfo BOOTPATH record, and
...
not the full boot device specification.
With this change, /etc/rc doesn't spew garbage when kvm_mkdb can't
find a kernel called "3/rz0/netbsd" or some such...
1999-12-08 14:23:34 +00:00
jun
d93cbc13dd
add MobileGearII for DoCoMo
1999-12-08 07:34:58 +00:00
jun
2952df34ed
Regen.
1999-12-08 07:30:28 +00:00
jun
7c4f8a7f07
add MobileGearII for DoCoMo
1999-12-08 07:29:24 +00:00
jun
2335cc052c
add Compaq PRESARIO 213
1999-12-08 05:35:30 +00:00
jun
d7ec450645
regen
1999-12-08 05:27:07 +00:00
jun
b06bff8f39
add Compaq PRESARIO 213
1999-12-08 05:25:11 +00:00
jonb
34c41c47d3
Update to get closer to the current reality...
1999-12-08 04:46:40 +00:00
simonb
24a48d8b87
Oops, back out some test 5500 stuff from previous commit - only RAMDISK
...
was meant to be changed.
1999-12-08 04:16:16 +00:00
simonb
3b874faeb3
Add newline to last line of file.
1999-12-08 04:12:15 +00:00
simonb
369211f9ca
We now need a 3MB miniroot.
1999-12-08 04:11:07 +00:00
simonb
09af3823bf
In dc_ds_consinit(), choose the address of the dc device based on
...
systype. Fixes lockup on 5000/200 - tested on 5000/200, 3100 and
5100.
1999-12-08 04:03:28 +00:00