leo
ba0a86fa22
There are no level1 or level7 interrupts possible on the Milan...
2001-04-12 09:09:56 +00:00
leo
8507fcec54
Update these for Milan addresses.
2001-04-12 07:17:30 +00:00
thorpej
7a46b74c7b
splimp -> splbio.
2001-04-12 06:20:59 +00:00
thorpej
b614ba3c5c
splimp -> splhigh
2001-04-12 06:08:44 +00:00
thorpej
ff7a879497
splimp -> splvm
2001-04-12 06:07:42 +00:00
reinoud
11c012efcc
Just switch the RI_CENTER off for now ... just to avoid troubles with
...
the hardware scrolling code...
2001-04-12 00:42:50 +00:00
uch
62ec61f5e9
fix comment.
2001-04-11 20:13:52 +00:00
manu
bb1594b20b
Integrated security review for signal delivery by Wolfgang Solfrank
2001-04-11 19:41:02 +00:00
leo
3f7694f804
Adapt these for use on the Milan.
2001-04-11 14:45:07 +00:00
sato
5dd91b669c
add VR4101 specific BCU registers.
...
add VR4122 specific BCU registers.
add cpu specific comments.
2001-04-11 08:52:59 +00:00
sato
68d21310de
opt_vr41x1.h -> opt_vr41xx.h.
...
add 'options VR41XX' and kill 'options VR41X1'.
add 'options VR4101' (not yet supported)
add 'options VR4102'
add 'options VR4111'
add 'options VR4121'
add 'options VR4122' (not yet supported)
add 'options VR4181' (not yet supported)
these are for config level size optimization.
currenty, no optimization codes are exist.
NOTE: there are some incompatibility in VR4181 & VR4101 &
VR4102,4111,4121 group & VR4122.
GENERIC (for VR41XX series) has options VR4102, VR4111, VR4121.
2001-04-11 08:23:26 +00:00
briggs
4290b6b288
Make sure that this will compile on a big-endian system.
2001-04-11 01:47:18 +00:00
bjh21
d039e70428
Remove the "asc" driver. It's never worked, and we should have an MI version
...
sometime.
2001-04-10 21:33:00 +00:00
leo
247d880fc9
The Milan uses the U0 pin to switch the pci-bridge between little & big
...
endian mode. That's why I moved the 'wired' flag to U1.
2001-04-10 19:51:00 +00:00
leo
dcc1c6a9fb
Take NFDISA into account.
2001-04-10 19:36:20 +00:00
bjh21
4c8caed00d
Apply a bandage to delay() so that it takes a more suitable time on
...
StrongARM Risc PCs. It really should be replaced entirely, but I've got more
important bugs to fix.
2001-04-10 19:08:42 +00:00
bjh21
edde8b993b
Add a DIAGNOSTIC check to see if delay() waits long enough (it doesn't on
...
my machine).
2001-04-10 18:58:56 +00:00
leo
dc0e725f9d
full[tc]flush from GLOBAL -> ASLOCAL.
2001-04-10 13:59:10 +00:00
fvdl
7d1452855c
Fix bus_space_write_multi_* in the memory case; the asm constraints
...
were wrong.
2001-04-10 12:59:32 +00:00
fredette
b27eda4ead
Added.
2001-04-10 12:46:26 +00:00
fredette
1dfde059ab
Use fb_setsize_eeprom to do some intialization of the
...
fb structure.
2001-04-10 12:44:12 +00:00
fredette
bb09d2bc78
Fixed a bug where we were trying to map the board RAM
...
using the physical address of the board registers.
2001-04-10 12:42:51 +00:00
fredette
ca414a50ad
In prom_init, when making our local copy of the bootparams,
...
be sure to calculate the shift in terms of chars, not struct
bootparams, and don't shift undefined arguments.
2001-04-10 12:40:53 +00:00
fredette
8efc1dcff9
Fixed has_context to return true on the kernel pmap,
...
which always has context zero. This was causing panics
under DIAGNOSTIC.
2001-04-10 12:39:56 +00:00
fredette
857e8fbc6b
The mainbus doesn't define a device name in the attach args
...
after attaching the special busses, so just match when it
isn't, instead of calling strcmp with it.
2001-04-10 12:37:49 +00:00
fredette
c6871b7720
Make softintr_handler return one, not zero, to properly
...
claim the interrupt. Added special bus_space_probe
handling to sun2_bus_map.
2001-04-10 12:33:09 +00:00
fredette
af0a9202ce
Under DIAGNOSTIC, disabled a test that was using an
...
instruction not available on the 68010. Also removed
more old sun3 cache-related code.
2001-04-10 12:29:10 +00:00
fredette
c4973c2333
In fpu_probe, now be sure to return FPU_NONE. Returning
...
FPU_UNKNOWN was causing confusion in cpu_switch.
2001-04-10 12:27:40 +00:00
fredette
0cb40c9174
Define a very small UBC_NWINS to keep UBC from eating all kernel VM.
2001-04-10 12:24:05 +00:00
fredette
0050ddd2b2
Be paranoid, #undef PAGER_MAP_SIZE before defining it.
2001-04-10 12:23:14 +00:00
ross
eeea1bcd05
g/c transfer_check
2001-04-10 10:09:45 +00:00
leo
3e3afaaac3
Regen. again...
2001-04-10 07:03:49 +00:00
leo
e3d2d361fd
The Hades also uses the TT030 like SCSI driver. Remove 'mouse' here...
2001-04-10 06:46:01 +00:00
leo
2d38da2932
Initial MILAN generic config
2001-04-10 06:39:36 +00:00
leo
e409b5d5df
Regen.
2001-04-10 06:39:10 +00:00
leo
99047718f0
fdisa needs-flag...
2001-04-10 06:37:08 +00:00
leo
30f5357c6e
Move dma.c away from the mainbus floppy and make it a separate entity with
...
tag 'mbdma'.
2001-04-10 06:36:08 +00:00
leo
e159fdc910
files.atari:
...
Defopt motherboard type and make ym2149.c dependend on 'standard' atari
boards.
Configfiles:
Add pseudo device mouse. It got dropped in the moves by accident.
2001-04-10 06:28:38 +00:00
leo
dfaa29355b
Add a config file for the Milan. Note that you cannot build a working Milan
...
kernel yet. There are still quite some bits missing in the repository.
2001-04-10 05:56:25 +00:00
leo
1e08d983e3
Move GENERIC to GENERIC.in . This avoids confusion since GENERIC is not a
...
standalone config file anymore.
2001-04-10 05:52:14 +00:00
sommerfeld
422ddeb55b
In cpu_fork(), initialize u_pcb.pcb_context[8] so that the newly
...
spawned kthread/process runs at IPL_0 instead of whatever IPL the
parent was running at.
This appears to fix the NTP clock stability problems observed on some
alpha systems; the clock appears stable even when there's heavy
raidframe (i.e., kthread-intensive) I/O under way.
2001-04-10 00:27:00 +00:00
pk
cd24bc13e7
Account for the number of counter ticks that elapse while statintr()
...
processing takes place. This prevents stat clock skew by a factor
approximately proportional to stathz (not a serious problem if stathz==100;
but considerable already if stathz==1000).
2001-04-09 21:28:50 +00:00
pk
2c2e7aca80
Add macro to convert a counter register value to microseconds.
2001-04-09 21:17:33 +00:00
eeh
986e7f8f1c
Interrupt latency fix from sparc port. (Hm. One insn instead of 5).
2001-04-09 21:15:42 +00:00
marcus
b6c1c5d49a
Altentries should also be marked as functions, to keep linker happy.
2001-04-09 20:31:20 +00:00
reinoud
3e6eaba006
The old vidc console code can't handle all display depths
2001-04-09 19:33:22 +00:00
reinoud
ba53dd71d7
Re-enable setmode() in wscons implementation.
2001-04-09 19:23:32 +00:00
reinoud
b592059273
Just some pretty printing for 640 width screens
2001-04-09 19:22:42 +00:00
pk
a0daff5647
proc_trampoline(): mave the new process run at base interrupt priority level.
...
This is especially important for in-kernel processes started from here,
which would otherwise keep running at splclock().
2001-04-09 18:18:48 +00:00
marcus
e0d02d24d5
Mark syscalls as functions.
2001-04-09 15:52:59 +00:00
reinoud
e9d5de6e98
Patch the hardware scrolling to be only used when using VRAM until it is
...
working perfectly with DRAM only.
2001-04-09 13:59:44 +00:00
leo
3aabea5c70
Remove '_KERNEL' conditionalizing. This break userland apps.
...
Noted by Steve Allan.
2001-04-09 05:35:32 +00:00
tsubai
2a7597f49e
Make this compile w/o ukbd.
2001-04-08 08:53:31 +00:00
reinoud
ed0aea79a7
Make the NC start run again ... it didnt detect the start of the DRAM good
...
enough.
2001-04-07 20:57:24 +00:00
dbj
179671f564
automatically restart dma for unexpected shutdowns
2001-04-07 13:02:55 +00:00
dbj
b2e3cc1a2e
continue to tweak nextdma detection of xfer length
...
add check to esp driver for incomplete transfers, but still does not handle them.
2001-04-07 11:29:50 +00:00
tron
824065dc0a
Don't call "is_a1200()" again after its result was stored in the "softc"
...
structure.
2001-04-07 05:09:27 +00:00
leo
adc78de568
Regen.
2001-04-06 21:55:11 +00:00
leo
54d70d6eef
Add a 'ser0' device to all. Add ne2000, 3Com 3c59x/3c90x and ESS Solo-1
...
support to the Hades.
2001-04-06 21:53:39 +00:00
fredette
666b4cf417
A successful compile is near.
2001-04-06 17:17:58 +00:00
simonb
1c69191831
Fix typo - s/dbcst/dcbst/.
2001-04-06 16:48:11 +00:00
fredette
ec984a04ad
Added.
2001-04-06 15:05:55 +00:00
fredette
3ff14b7ac5
vm/vm.h -> uvm/uvm_extern.h
...
Cleaned up definitions of cputype and mmutype.
mon.h -> promlib.h, and use all of the new prom_
functions instead of the old mon_ functions.
Removed all of the old mon_ capturing code to
promlib.c.
2001-04-06 14:59:09 +00:00
fredette
e3edb8d20c
Gratuitous comment changes.
2001-04-06 14:52:56 +00:00
fredette
6529ec2635
Now include machine/promlib.h instead of machine/mon.h, and
...
use the new prom_ functions instead of the old mon_ functions.
Added the internal _pmap_extract_pmeg function, and removed
some old Sun3 cache-related code.
2001-04-06 14:52:19 +00:00
fredette
353ad332f0
Added some support for the old-school 'g0' and 'g4' monitor
...
hooks, and removed some old Sun3 cache and interrupt-register
related code.
2001-04-06 14:36:08 +00:00
tsutsui
06c28be1fe
Install byte_swap.h on make includes.
2001-04-06 14:11:20 +00:00
fredette
20293ce870
Added.
2001-04-06 13:13:01 +00:00
fredette
d8d78f2801
Added a prototype for the internal function _pmap_extract_pmeg,
...
used by the bus_dma implementation when double-mapping pages
by hand.
Now define PMAP_OBMEM for completeness.
2001-04-06 13:12:06 +00:00
fredette
874e89c74d
Added an internal bus_space flag to find and use PROM mappings.
...
Added an internal bus_dma flag to mark when a map has been
loaded by double-mapping pages by hand, outside of the pmap.
Added more prototypes for our bus_dma implementation.
2001-04-06 13:09:10 +00:00
fredette
85c6ec3b50
Now use the proper DVMA map size depending on what
...
machine type we're on.
Removed all prototypes, since we're going bus_dma.
2001-04-06 13:03:14 +00:00
wiz
14dbdf5518
Negative exit code cleanup: Replace exit(-x) with exit(x).
...
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
toshii
ff71a021ca
There is no /usr/include/hpcarm/disklabel_acorn.h.
2001-04-06 11:10:57 +00:00
jdolecek
e482ee9d62
add rnd (for ssh/sshd) and couple comments
2001-04-06 06:44:08 +00:00
toshii
3180bc6ac6
Fix a couple of bugs including kernel_pt_table[] range overflow.
...
I thought some incompatiblity with gcc-2.95.3 prevented booting,
but the actual reason was this silly overflow.
2001-04-06 05:38:01 +00:00
reinoud
0eb01da9c9
Two preliminary NC kernel definition files....
2001-04-05 22:34:28 +00:00
reinoud
1b2003f235
Apply patches for the NC ... not really in the line of the merge but at least
...
its in the source tree for now.
2001-04-05 22:33:12 +00:00
bjh21
9411be7c80
Re-enable the old "ea" and "eb" drivers under the names "oea" and "oeb".
...
These shouldn't last long, but they may be useful until I hammer all the bugs
out of the new version.
2001-04-05 20:31:50 +00:00
tsubai
b672929b7f
Support uni-north based models. (XXX not complete)
2001-04-05 19:55:01 +00:00
reinoud
b44dca831b
Since the NC's seem to have trouble with the OS_HeapSort, i've implemented
...
my own sorting routine (bubblesort). Also replaced a declaration for BASIC
seemed to mess things up.
2001-04-05 19:17:17 +00:00
rearnsha
d9de58f3e1
Ansify. Replace bcopy/bzero with memcpy/memset. Clean up formatting.
...
Clean up debug messages. No significant functional changes.
2001-04-05 18:06:45 +00:00
tsubai
a9e0aabf3f
Correct input volume settings.
2001-04-05 14:21:31 +00:00
leo
1324cab42e
And commit the generated files.
2001-04-05 12:25:15 +00:00
leo
6b22a0776c
Forgot this in previous commit.
2001-04-05 12:22:10 +00:00
leo
fb0acfc293
Major overhaul in the config files. The idea is to have the major part of
...
the generic options in GENERIC instead of duplicated all over the place.
To generate a config file, run 'makeconf'. This script uses cpp to combine
a '.in' file and GENERIC to a real config file.
2001-04-05 12:21:30 +00:00
tsubai
b01df63489
Assume USB keyboard when `usb-kbd-ihandles is not found.
2001-04-05 10:10:26 +00:00
tsubai
eb4f61df19
Regenerate this file from cvs repository in order to get back original
...
copyright.
2001-04-05 09:58:05 +00:00
dbj
4db02d75fa
initialize zsaddr to intio address space in zs_attach
...
addresses pr 6770
in the future, zs should be upgraded to use NEXT68k_INTIO_BUS_SPACE
instead of using IIOV directly.
2001-04-05 05:35:12 +00:00
dbj
0c6af3e769
comment out M68030, since we do not yet support NeXT 68030 computers
2001-04-05 04:42:42 +00:00
dbj
14688b4513
check for a 68040 MMU before using the TBIA instruction
...
addresses PR 10409
code grabbed from mvme68k locore.s
2001-04-05 04:37:43 +00:00
dbj
1e812ee6cf
remove unused cache operations, we now use shared m68k/cacheops.c
2001-04-05 04:23:56 +00:00
reinoud
d2b84b36d2
Removing an old unused include
2001-04-04 21:40:20 +00:00
reinoud
8008708109
Hmm... these were just plain wrong ... it should be more sane now
2001-04-04 21:11:07 +00:00
is
3a27b85296
This only works with data registers.
2001-04-04 19:53:05 +00:00
reinoud
9d0e339af2
Fix a big memory allocation bug in the bootloader; i underdementioned
...
a piece
2001-04-04 17:13:28 +00:00
manu
4678df7c23
Cosmetic change
2001-04-04 17:08:07 +00:00
tsutsui
41e535a424
Remove an unused variable which was caused on KERN_* error code removal.
2001-04-04 16:43:04 +00:00
pk
0929f3662e
* Missing PROM_OPENFIRM: case in getdevtype() and prom_getether().
...
* In getdevtype(), use prom_instance_to_package() to get to the device node.
From Valeriy E. Ushakov on port-sparc@netbsd.org .
2001-04-04 15:41:46 +00:00
tsubai
570716506c
Add rnd.
2001-04-04 10:18:28 +00:00
tsutsui
c8ff6232b7
Restore #endif which was mistakenly removed in previous.
2001-04-03 22:46:03 +00:00