ragge
1e7b5cf8ae
Wrong definition of SID for MicroVAX I, from Brian Chase.
1999-06-28 13:13:53 +00:00
itojun
427639cdce
- Call ip6intr if INET6 is defined.
...
- remove "need-flag" for mac68k esp driver, as it is not used in anywhere
and conflicts with IPsec ESP header.
This should be the only MD change in IPv6 support, except kernel config file.
Very sorry if you have any compilation problem with it (I believe it is okay).
If your favorite arch is not included in here, please add a
call to ip6intr() from softintr handle.
1999-06-28 08:20:40 +00:00
itojun
74d3c214ec
KAME/NetBSD 1.4 SNAP kit, dated 19990628.
...
NOTE: this branch (kame) is used just for refernce. this may not compile
due to multiple reasons.
1999-06-28 06:36:47 +00:00
briggs
79fe772f46
Include a bit more info about what's not happening with IOP.
1999-06-28 04:33:21 +00:00
briggs
598b09009b
Include resourcevar.h for p_limit/rlimit definition.
1999-06-28 04:21:15 +00:00
sakamoto
8b9b340040
remove display.h
1999-06-28 02:44:49 +00:00
sakamoto
0d8aecad83
Description of making bootable floppy disk for NetBSD/bebox.
1999-06-28 02:19:37 +00:00
briggs
71a4446b04
Unfortunately, several changes that are intermingled:
...
- Add initial IOP support. ADB doesn't work yet for me, but it's here so
that others will be encouraged to work on it. ADB_HW_IOP basically
is configured as a NOP so that serial consoles will continue to work.
- Roll via1_intr and via2_intr into the intr.c scheme--this also required
changing rtclock_intr to grovel the stack differently so that hardclock
gets the right arguments and softclock() doesn't get all reentrant.
- Make via1 interrupts parallel to via2 interrupts--handlers get a pass-
through pointer and we can register handlers. Register via1 interrupt
with intr_establish()--normally level 1, level 6 for A/UX scheme.
- Use intr_establish() to set real via2 interrupt handler instead of the
hacked function pointer.
- Reorganize adb-direct interrupts so that a function call is removed.
- Implement A/UX interrupts for all Quadras right now. We may need to
special case some Quadras, but Linux folks are reporting success on
several models.
- Fix intrnames to be accurate for the normal, PSC, and A/UX interrupt
configurations.
1999-06-28 01:56:55 +00:00
briggs
f9de07203c
Add some constants from Linux/mac68k to note SCC, floppy, and SCSI registers.
...
Add some code, inspired by Linux/mac68k, to shutdown all DMA on the PSC
at startup and to disable and clear all interrupts except the SCC.
1999-06-28 01:41:13 +00:00
sakamoto
d897c73dfc
correct tgets loop.
1999-06-28 01:35:11 +00:00
sakamoto
d32f22724c
Use loadfile.
...
KNF
b* -> mem*
1999-06-28 01:20:43 +00:00
sakamoto
a6ad37379e
Add elf2pef and mkbootimage.
1999-06-28 01:08:05 +00:00
sakamoto
70b8755876
Convert ELF image into PEF image.
...
some KNF
1999-06-28 01:03:55 +00:00
sakamoto
9b0b219ff6
Moved from /cvsroot/syssrc/sys/arch/bebox/stand/boot/pef.h,v
1999-06-28 00:56:31 +00:00
sakamoto
8ab4e1005a
Moved to /cvsroot/syssrc/sys/arch/bebox/stand/elf2pef/pef.h,v
1999-06-28 00:56:30 +00:00
sakamoto
e6fae19e1f
Moved from /cvsroot/syssrc/sys/arch/bebox/stand/boot/magic.h,v
1999-06-28 00:56:03 +00:00
sakamoto
52fc791782
Moved to /cvsroot/syssrc/sys/arch/bebox/stand/elf2pef/magic.h,v
1999-06-28 00:56:02 +00:00
sakamoto
f1be5c4181
Moved to /cvsroot/syssrc/sys/arch/bebox/stand/elf2pef/elf2pef.c,v
1999-06-28 00:51:11 +00:00
sakamoto
13ba815119
Moved from /cvsroot/syssrc/sys/arch/bebox/stand/boot/elf2pef.c,v
1999-06-28 00:51:10 +00:00
sakamoto
5b75eca570
mkbootimage makes bootable BeOS DR8 filesystem(a.k.a. obfs) image.
1999-06-28 00:35:22 +00:00
briggs
d6205b71c6
Undo some of my recent changes that were misguided.
1999-06-27 23:43:37 +00:00
christos
dfa695b9a7
Add missing phy's
1999-06-27 22:35:56 +00:00
christos
ce110dd283
Add missing phy's. Increase miniroot size
1999-06-27 22:35:43 +00:00
is
f4351f7b96
Don't even try to output to, scroll or clear the device if we are in graphics
...
mode. On this chip, we need to access some registers to set the text plane,
which messes up the graphics setup.
This should fix the grf3 problems reported by several people.
Michael Hitch and Joerg Lehners analyzed the problem and provided the fix.
1999-06-27 21:17:17 +00:00
christos
4440b677e2
add vr* at pci?, sort
1999-06-27 15:58:18 +00:00
minoura
1330797741
Restore scroll registers after X server exits.
1999-06-27 14:14:30 +00:00
minoura
c88662958f
include sys/resourcevar.h to be compiled.
1999-06-27 14:13:14 +00:00
cgd
8375a442f7
wildcard root spec, or MEMORY_DIS_IS_ROOT won't work right
1999-06-26 23:17:04 +00:00
mrg
7683f14172
enable xbox and ppp
1999-06-26 18:47:15 +00:00
briggs
eb7ff0a96f
Quadra 900/950 SCC-compatibility serial support is at an offset of 0x20
...
bytes from the base SCC address. With this change, serial console works
on my Q950 if the MacOS control panel is used.
1999-06-26 18:29:28 +00:00
simonb
29f88d843b
Since we know the start and end addresses of the symbol table, subtract
...
these and pass as the first parameter of ddb_init(). We used to pass
the contents of the start of the symbol table cast to an int, which for
an ELF kernel is "0x7f ELF" - not quite the symbol table size! How this
used to ever work I dunno...
1999-06-26 17:03:48 +00:00
matthias
c343d282b0
Pull over some changes from the i386 port to fix the kernel RSS counters.
1999-06-26 09:09:51 +00:00
augustss
94b815050e
Add powerhooks, i.e., the ability to register a function that will be
...
called when the machine does a suspend or resume.
XXX Will go away when Jason's kevents come to life.
1999-06-26 08:25:25 +00:00
cgd
e9969b5e0d
need md if we want a miniroot
1999-06-26 07:29:18 +00:00
cgd
4bb852a2c8
Add a shark kernel with ramdisk for a miniroot file system.
1999-06-26 07:00:44 +00:00
cgd
ecc0edc397
clean up memory disk options
1999-06-26 06:56:26 +00:00
thorpej
c52d839a6e
Nuke some code ripe for garbage-collection.
1999-06-26 03:15:54 +00:00
sakamoto
b1790e3799
Sync with i386.
1999-06-25 01:54:39 +00:00
pk
c118a70deb
When overriding cache flush functions for specific cpu models, make
...
sure to update the correct function pointers in `cpuinfo'.
1999-06-24 20:22:12 +00:00
ad
118d1e7afa
Remove a few entries for nonexistant TC graphics boards.
1999-06-24 18:47:58 +00:00
tsubai
5b34d35e45
findroot() should also use "compatible" property.
1999-06-24 08:14:48 +00:00
sakamoto
129b091aa8
Use powerpc's header.
1999-06-24 01:35:33 +00:00
sakamoto
cce254bef2
Add some declarations.
1999-06-24 01:33:08 +00:00
sakamoto
4364147a17
include machine/intr.h
...
CACHELINESIZE enabled with defined(_STANDALONE).
1999-06-24 01:28:02 +00:00
sakamoto
943b8c34be
Sync with i386's fd.c, fdreg.h.
1999-06-24 01:22:19 +00:00
sakamoto
fb1608de31
Comment out MKDEP SFILES. bebox dir has only locore.s.
...
include bsd.own.mk.
1999-06-24 01:19:51 +00:00
sakamoto
dfb8f015ec
display.h doubly exists in include and include/pc.
1999-06-24 01:16:52 +00:00
sakamoto
95dac23012
Some cleanup.
...
Move bootinfo related things to boot.c
and console related things to cons.c.
1999-06-24 01:10:31 +00:00
thorpej
b59b8bd5c6
Enable DDB history.
1999-06-23 22:42:52 +00:00
leo
7a4fed2916
Allow the loading of compressed kernels. This makes it again possible
...
to make a 'system disk' on a 720KB floppy that is usable.
1999-06-23 19:26:13 +00:00
minoura
b749d34eb9
I forgot to commit this.
1999-06-23 15:20:36 +00:00
marc
cd040ea927
s/mkdir/mkdir -p/, since not all the parents of $(FONTDIR) are
...
guaranteed to exist.
1999-06-23 04:29:28 +00:00
abs
b02dbae17e
In xxx_mediachange(), if there is no callback to the front-end, just
...
return 0 instead of EINVAL. In this case, there will only be one media
type, and the upper-level if_media code will ensure that the user is
setting to that type.
This matches changes Jason made a while back to sys/dev/ic/lance.c
1999-06-23 04:17:10 +00:00
is
7a132d78b7
Align adresses better
1999-06-22 21:12:00 +00:00
oster
7824f40e5f
Add a '#include <sys/resourcevar.h>' to each of these to allow them
...
to compile again.
1999-06-22 14:51:57 +00:00
tsubai
a2ded1ab73
NVRAM read/write functions.
1999-06-22 13:12:11 +00:00
tsubai
2068c8b6e4
Use RTC on PB.
1999-06-22 11:29:11 +00:00
sakamoto
a9088f55c8
Add casts for -Wall.
1999-06-22 02:04:06 +00:00
sakamoto
40629ff8cc
rename pms to opms.
1999-06-22 01:48:33 +00:00
sakamoto
4763a9b0a0
Remove sc_id member from fdc_softc.
1999-06-22 01:41:48 +00:00
sakamoto
f93507970d
Use powerpc/reg.h
1999-06-22 01:39:43 +00:00
sakamoto
ade7d52fc9
Use powerpc/pmap.h.
1999-06-22 01:38:38 +00:00
wrstuden
17900cd587
Install ofwboot.elf in addition to ofwboot. Thanks to Chris for info on how
...
to do this!
1999-06-21 21:02:49 +00:00
ad
7a71d12944
Clear out 'struct fbdevice' cruft; it represents bitrot on pmax. Add
...
#ifdef'ed out definition for 'struct fbsoftc', the way forward until
[nisimura-pmax-wscons] is merged.
1999-06-21 19:21:10 +00:00
ad
5756acc071
Cleanup.
1999-06-21 19:07:16 +00:00
ad
ebd6cdffde
px.c requires that qvss_compat.c be compiled in.
1999-06-21 19:05:10 +00:00
ragge
51dd099ef5
Add DW750 and DW780 UBA support. Still no BDP's.
1999-06-21 16:23:00 +00:00
mrg
5425cbfa41
fix compile warning.
1999-06-21 06:28:33 +00:00
eeh
0c32dc3995
Clean this up a little. More later. (Gee, this really is becoming a huge
...
mess).
1999-06-21 01:44:14 +00:00
eeh
d326454d31
Nuke the last vestiges of a single DVMA map. This stuff should have
...
been completely migrated to individual bus drivers.
1999-06-21 01:42:36 +00:00
eeh
2c283b9149
Improve TRAPTRACE. Add FLTRACE that only tracks MMU faults.
1999-06-21 01:39:06 +00:00
ragge
e0972091c8
Remove moved files.
1999-06-20 18:19:19 +00:00
ragge
e410ff8410
Remove moved files.
1999-06-20 18:14:41 +00:00
pk
ccd6d1e4de
Pull in `sparc/compat_13_machdep.c' for SunOS compatibility too.
1999-06-20 16:30:22 +00:00
ragge
7a1f65022b
Remove more unused files.
1999-06-20 16:00:14 +00:00
ragge
dc65be6cf8
Remove old unused files.
1999-06-20 15:58:28 +00:00
ragge
92a492d5ea
Some 4000/200 fixes. From Michael Kukat.
1999-06-20 15:52:51 +00:00
sommerfeld
459e986089
PR7812: add prototype for sysarch(); fixes build of libarch on arm32
1999-06-20 15:26:38 +00:00
tsubai
8d68bdec13
Make this compile.
1999-06-20 05:42:09 +00:00
tsubai
9ac9208434
More initialization by calling Open Firmware.
1999-06-20 05:34:59 +00:00
ragge
e2fb3def19
Use uba & mscp code from dev/ instead.
1999-06-20 01:05:19 +00:00
ragge
cc43d8766d
Fix of bug causing allocations of physical pages to get wrong address.
1999-06-20 00:59:54 +00:00
ragge
abcc4bed15
Better support for tracing stacks. From Chuck McManis.
1999-06-20 00:58:23 +00:00
ragge
cb57cab9b1
Add macros to round/trunc vax pages.
1999-06-20 00:53:58 +00:00
ragge
76b9763345
Add some small checks to avoid unwanted panic types.
1999-06-20 00:53:02 +00:00
eeh
9cf2782159
Move the DVMA mapin/mapout functions from the SBus driver to the iommu driver.
1999-06-20 00:51:29 +00:00
ragge
069858b1e2
Want device-register, to detect qbus boot devices.
1999-06-20 00:50:08 +00:00
is
1b5eb98937
Sync with Atari pmap: support for the UVM changes
1999-06-19 19:44:08 +00:00
ragge
656c580511
Don't try to disconnect SCSI disks. From Michael Kukat.
...
Now DEC disks also works in VAXstations :-)
1999-06-19 15:46:05 +00:00
augustss
0e64bf3732
Add ess to isa attachment. The entry is commented out for the moment since
...
I'm not sure how accurate the probe is.
1999-06-18 20:27:59 +00:00
thorpej
43ddb951ea
Whitespace police.
1999-06-18 18:11:56 +00:00
thorpej
471cb34fb2
Fix a harmless typo.
1999-06-18 18:08:52 +00:00
minoura
170b78e476
Reduce TLB operations.
1999-06-18 14:27:09 +00:00
nisimura
1c949badf4
- Fix an large error I made last month in TLB mod improvement, still
...
wondering why not I was immediately blown away.
- Continuing invastigations on VM related panics on very high loads.
1999-06-18 08:17:50 +00:00
leo
bfdcd7d519
Update pmap_check_wiring(). Also attach TNF copyright because of the
...
pmap_remove_mapping() changes.
1999-06-18 07:13:16 +00:00
thorpej
88f71d9598
Update a uvm_map_pageable() call that I forgot to commit previously.
1999-06-18 06:32:05 +00:00
thorpej
4eb92b494a
Sync up with the following hp300 trap.c change:
...
revision 1.41
date: 1996/09/07 22:26:50; author: mycroft; state: Exp; lines: +5 -20
Use SIGBUS iff we get a legitimate bus fault. Use SIGSEGV for page protection
violations (per Solaris, SVR4, AIX, Linux, Irix, and SunOS).
...which happens to eliminate an unsafe call to uvm_map_checkprot().
1999-06-18 06:31:01 +00:00
is
e6455c6e13
less views, and comment them
1999-06-18 05:58:25 +00:00
is
60bb9923a8
COMPAT_SVR4 does not compile witout EXEC_ELF32
1999-06-18 05:57:31 +00:00
is
d66f459df0
COMPAT_SVR4 does not compile without EXEC_ELF32.
1999-06-18 05:56:45 +00:00
thorpej
9e9f068f43
Add the guts of mlockall(MCL_FUTURE). This requires that a process's
...
"memlock" resource limit to uvm_mmap(). Update all calls accordingly.
1999-06-18 05:13:45 +00:00
cgd
7c02d93c04
nuke current definitions provided by __BUS_SPACE_COMPAT_OLDDEFS.
...
I'll do what I can to make new ones soon. 8-)
1999-06-18 04:49:24 +00:00
thorpej
0288ffb53a
pmap_change_wiring() -> pmap_unwire().
1999-06-17 19:23:20 +00:00
thorpej
f5a527bb4e
Remove pmap_pageable(); no pmap implements it, and it is not really useful,
...
because pmap_enter()/pmap_change_wiring() (soon to be pmap_unwire())
communicate the information in greater detail.
1999-06-17 18:21:21 +00:00
leo
ffd3da04d4
Comply with the changes Jason suggested yesterday. A copy of his log message:
...
Don't (ab)use uvm_map_pageable() to allocate PT pages. Instead, do
some internal reference counting on PT pages. We still allocate them
with the page fault routine (a wire-fault, now), but no longer free
PT pages from pmap_pageable().
1999-06-17 07:59:16 +00:00
tsubai
a8d7da0d21
Add "trackpad" definition.
1999-06-17 06:59:05 +00:00
thorpej
f51688dd8b
PMAP_NEW is no longer optional on the pc532; the old pmap's page table
...
allocation strategy no longer works at all. Move pmap.new.* to pmap.*.
To read the revision history of PMAP_NEW up until this merge, use cvs
rlog of the old pmap.new.* files.
1999-06-17 00:22:41 +00:00
thorpej
e2442268e9
PMAP_NEW is no longer optional on the i386; the old pmap's page table
...
allocation strategy no longer works at all. Move pmap.new.* to pmap.*.
To read the revision history of PMAP_NEW up until this merge, use cvs
rlog of the old pmap.new.* files.
1999-06-17 00:12:10 +00:00
tsubai
c28bad1d51
Define PowerBook G3 Japanese keyboard.
1999-06-16 08:48:37 +00:00
tsubai
a2e8151f8e
Define symbolic name of PMU commands.
1999-06-16 07:43:58 +00:00
thorpej
602d8e81f7
Don't (ab)use uvm_map_pageable() to allocate PT pages. Instead, do
...
some internal reference counting on PT pages. We still allocate them
with the page fault routine (a wire-fault, now), but no longer free
PT pages from pmap_pageable().
1999-06-15 22:18:07 +00:00
kleink
857dfc7058
Slightly rearrange the SSIR inline assembly implementation in order to avoid
...
making assumptions on C symbol name prefixes.
1999-06-15 15:26:34 +00:00
kleink
51eb26bf7e
Slightly rearrange the inline assembly in ledcontrol() to avoid frobbing a
...
C symbol name prefix.
1999-06-15 15:18:55 +00:00
minoura
cd06c07723
Check file open mode at ioctl.
...
Add debug option SRAM_DEBUG_DONTDOIT.
1999-06-15 15:04:56 +00:00
cgd
e33c6c47a2
set bb_flags to zero; who knows what they were (on disk) previously,
...
and SRM is finicky about what values it will allow.
1999-06-14 23:55:29 +00:00
cgd
b6e1d0f85a
set bb_flags to 0. Though not strictly necessary (because of an earlier
...
memset()), this is nice for source-level consistency.
1999-06-14 23:52:25 +00:00
tsubai
4df925b8b0
* Don't use DMA interrupt.
...
* Stop DMA explicitly in finish routine.
1999-06-14 08:53:06 +00:00
tsubai
86d2f9253a
Consider "have /psuedo-hid and only ADB keyboard" case to make the
...
new PowerBook G3 happy.
1999-06-14 06:22:50 +00:00
briggs
3cce22665e
Clear interrupts on a Radius GS/C card. Thanks go to Yasufumi Suzuki
...
<yattin@sco.bekkoame.ne.jp> for doing the MacsBug "leg"work for me.
1999-06-14 03:11:34 +00:00
kim
c867e93fae
Pickup changes from ../biosboot/Makefile and add .PATH so that source
...
files are found. Now this compiles ok (have yet to run the blocks).
1999-06-13 17:21:18 +00:00
pk
f90f079222
Fix typo in previous.
1999-06-13 07:58:20 +00:00
pk
fee9cd9c12
Initialize the heap (for alloc()) explicitly, since the `end' symbol
...
is not necessarily double-word aligned.
1999-06-12 12:49:24 +00:00
ender
2b55a690f8
Change the annoying printf() of 2 backspaces to a space followed by a
...
backspace for aesthetics.
1999-06-12 00:21:13 +00:00
scottr
35f356e920
Eliminate more overhead in delay(); there's no point in doing the same
...
thing in both the calibrator function and the actual delay function. At
this point, _delay() does all of the work, so we can garbage collect
dummy_delay() and make _delay() an alternate entry point for delay().
This results in a small (but measurable) improvement on the IIci.
1999-06-11 06:51:39 +00:00
eeh
0693ec8379
Don't change protection on the clock for the moment.
1999-06-10 04:31:20 +00:00
briggs
a6b22a059a
Note that 0x146 is a Micron Exceed.
1999-06-10 03:25:18 +00:00
briggs
3ea7c860b9
Use information from Kensuke Ogawa <kenogawa@festa.or.jp> to disable
...
interrupts on a Micron Exceed color video card.
1999-06-10 03:24:38 +00:00
nisimura
9a3291290d
- Correct errorneous comments for kn*_wbflush() routines.
1999-06-10 01:37:10 +00:00
nisimura
0ebace83f4
- Remove local declaration of 'dev_name2blk[]'.
...
- Minor formatting correction and removal of defunct debug lines.
1999-06-10 01:06:40 +00:00
scottr
6adfba2698
Tweak previous: use shorter instructions to accomplish the same
...
#task (minimizes overhead).
1999-06-09 15:34:08 +00:00
scottr
3c26ad58a1
Someone forgot to tell ddb that SWAP is not PEA.
1999-06-09 07:53:22 +00:00
nisimura
981a3b4cb2
- Nuke declarations for now obsolete implementations of spl()s.
1999-06-09 07:33:29 +00:00
scottr
f2f8426e86
Write a new low-level assembly help for delay() and the calibrator. This
...
eliminates stalls during instruction prefetch and makes the delay
consistent regardless of kernel configuration.
1999-06-09 06:59:53 +00:00
briggs
f98c8a0394
Remove some register declarations.
...
Get Q9x0 dual SCSI at least basically working.
Be paranoid about some register reads.
1999-06-09 03:41:34 +00:00
christos
2cfd9ef718
Synchronize with GENERIC
1999-06-09 01:47:14 +00:00
simonb
6a949cddfb
Include <pmax/pmax/machdep.h> instead of declaring our own prom_*()
...
prototypes.
1999-06-08 23:42:36 +00:00
simonb
b7a2ec3f01
+ Call prom_scsiid() to found out what the host SCSI ID should
...
be instead of hardcoding values.
+ Print the host SCSI ID in siiattach().
XXX - probably should do the same to the ASC driver?? The manuals for
the 5000 series machines don't mention the scsiidN env variable, but it
is present on all the models I've looked at...
1999-06-08 23:41:59 +00:00
simonb
7eb995464d
+ Add prototypes from the prom_*() callback routines.
...
+ Remove leading "extern" from function declarations.
+ CG unused latched_cycle_cnt.
1999-06-08 23:40:42 +00:00
simonb
661c94c72c
+ Add prom_getenv(), and use it instead off calling callv->_getenv.
...
+ Add prom_scsiid() to read and decode the prom scsiidN environment
variable that says what the host SCSI id should be.
+ Include <pmax/pmax/machdep.h> instead of declaring our own
prom_*() prototypes.
1999-06-08 23:40:19 +00:00
mrg
30c351dc59
mmm, missing return types make gcc unhappy.
1999-06-08 10:35:36 +00:00
mhitch
d9be0d6e6b
When entering a read-only page for MIPS3, va does not need to be adjusted by PAGE_SIZE
...
when flushing the I-cache.
1999-06-08 03:44:18 +00:00
nisimura
540b02ab76
- Exterminate haunted evil soul of MIPS va_arg(). Verified OK with
...
either endian. Not a perfect solution which would be revealed on
a certain condition when va_arg() is applied to magical struct
arguments passed by value. format_bytes() is now saved. With the
help from Noriyuki Soda and Masanari Tsubai.
1999-06-08 00:46:38 +00:00
is
b7ee76f1c4
Check for an unterminated bus; if yes: complain and don't try to use this
...
bus. Without this, cbiiisc used to hang if nothing was connected.
Reported by Matthias Scheler. A similar method to avoid this was suggested
by Ralph Schmidt.
1999-06-07 21:30:57 +00:00
thorpej
2c35c7bd03
Only declare block major numbers for devices which can be the root device.
1999-06-07 20:31:27 +00:00
thorpej
d76e7b8c6d
Don't pass a nam2blk around at all; just have setroot() and friends reference
...
dev_name2blk[] directly. Addresses PR #7622 (ITOH Yasufumi), although
in a different way.
1999-06-07 20:16:08 +00:00
mrg
0525e9c7ef
add ebus attachment for cs4231. this does not work as it requires ebus DMA and will panic if enabled. but it should otherwise be mostly complete.
1999-06-07 14:59:14 +00:00
mrg
03c5c00056
remove "EXPERIMENTAL" comment from this file, as it does not exist elsewhere in this directory.
1999-06-07 14:43:34 +00:00
thorpej
a0faadd7d2
Make traces work with ELF kernels.
1999-06-07 07:00:07 +00:00
mrg
aa506f8098
copyright foo. in the future, we will all be binary-redistributable.
1999-06-07 05:40:08 +00:00
eeh
1884f05354
Another general cleanup:
...
Remove the entire idea of fasttrap interrupts since V9 traps are really cheap,
the CPUs are really fast, and the completely different trap frames would make
these handlers really difficult to implement.
pmap_changeprot() was only used by the clock and one other place; deprecate it.
probeget() and probeset() now take 64-bit addresses even in 32-bit mode so we
can probe IO locations by physical addresses.
Some pmap cleanup.
Some more copyright cleanup.
1999-06-07 05:28:03 +00:00
is
92568502cc
Don't dump all the registers at attach time. It works now.
1999-06-06 19:58:31 +00:00
ragge
3bb07459cd
Qbus moved in hierarchy.
1999-06-06 19:10:49 +00:00
ragge
4756cdb74e
Page tables must be pageable (where did this disappear?)
...
Fix a PGOFSET -> VAX_PGOFSET miss.
Stylistic cleanup.
1999-06-06 19:09:50 +00:00
ragge
f6d61fb6ad
Add an define for SGMAP.
1999-06-06 19:07:11 +00:00
ragge
d55d0ac4b5
Add some more IPRs for KA670.
1999-06-06 19:06:29 +00:00
ragge
db8c0c9c4c
Use gencons if VAX670.
1999-06-06 19:05:21 +00:00
ragge
02637941e5
Ops, forgot this file.
1999-06-06 19:03:40 +00:00
ragge
134b65fde3
Added support for Qbus DMA.
1999-06-06 19:00:53 +00:00
ragge
64572c459a
sgmap files, copied from the Alpha port and modified for vax.
1999-06-06 18:58:50 +00:00
dante
a775803f91
Add adv* entry under ISA devices
1999-06-06 17:57:23 +00:00
dante
600618d977
Add adv0 entry under ISA SCSI controllers
1999-06-06 17:37:03 +00:00
ragge
22b5707362
Complete support for VAX 4000/300. From Michael Kukat. (michael@camaronet.de)
1999-06-06 14:23:46 +00:00
mrg
e6545647b8
update this to GENERIC rev. 1.84.
1999-06-06 13:06:38 +00:00
mrg
440ac638bc
EXEC_ELF32 is now default. enable "rnd"
1999-06-06 13:00:03 +00:00
pk
3d9ae33cfb
Add COMPAT_AOUT.
1999-06-06 09:23:38 +00:00
mrg
1428ee6103
note that this is for an u5/u10 (from hubert)
1999-06-06 01:59:40 +00:00
eeh
186c3eba2b
Make pbrobeget() and probeset() work for 64-bit values as well. To do this
...
the arguments are changed so the address is first and the ASI second so we
can have the address in %o0:%o1 and not worry about unused registers.
Also a bit of copyright cleanup.
1999-06-05 21:58:16 +00:00
eeh
3f7968c736
Fix things up so they compile again.
1999-06-05 20:38:24 +00:00
eeh
fcd1351b4c
Add support for AOUT_COMPAT which we'll need when the sparc port cuts to ELF.
1999-06-05 16:55:19 +00:00
mrg
14729c2b11
fix lpt definition. add audiocs at ebus. oops, comment broken/incomplete devices.
1999-06-05 14:34:22 +00:00
mrg
5e7ea137ac
lpt at ebus. fixed (commented) audiocs attachments.
1999-06-05 14:33:44 +00:00
mrg
756c2cde22
map in registers, configure interrupts, this appears to be OK now.
1999-06-05 14:19:44 +00:00
mrg
e8ccf39491
find ebus device INO values via the "interrupt-map" and "interrupt-map-mask" properties.
1999-06-05 14:18:26 +00:00
pk
bea0725979
64-bit safety to help sharing compilation tools with sparc64.
1999-06-05 12:54:23 +00:00
mrg
3670ff2120
if we are not bypassing the MMU, use ASI_PRIMARY. map PCI memory space
...
non-cached. XXX clean this up by looking at the "non-cacheable" bit of
the full physical address.
avoid having 'nbuf' change between calls to `mdallocsys()' by setting it
in mdallocsys() like the MI allocsys() does. XXX fix this too!
fix some printf lossage.
update for probeget() changes -- though bus_space_probe() appears to be
unused on the sparc64.
1999-06-05 05:35:41 +00:00
mrg
cc49a21298
use common IOMMU routines.
1999-06-05 05:30:43 +00:00
mrg
da265ce045
clean up a bit, implement pci_conf_{read,write}() with probe[gs]et() (not yet used).
1999-06-05 05:29:50 +00:00
mrg
bb0d20abc4
lpt at ebus.
1999-06-05 05:28:36 +00:00
mrg
dcb6040569
clock attaches at ebus also now.
1999-06-05 05:10:01 +00:00
mrg
4b183190b5
update a commit slightly.
1999-06-05 05:08:25 +00:00
mrg
2ee43849be
catch up with probe[gs]et() changes.
1999-06-05 05:05:11 +00:00
mrg
6dffb4dff3
use common IOMMU code for sbus and psycho (remove old iommu
...
device declaration, we don't want it). pull in psycho, pci,
ata and pciide code. clock, eeprom and power attach at sbus
*and* ebus now (clock as `eeprom' works). add `lpt at ebus',
wd major number, and other misc. commented devices.
1999-06-05 03:16:19 +00:00
mrg
cb392a2e1d
only set LD to /usr/ccs/bin/ld if it exists. avoid empty SFILES.
1999-06-05 01:56:31 +00:00
castor
6b1b77230e
in switch_exit() previous fix forgot to guard REG_L with REG_PROLOGUE and
...
REG_EPILOGUE.
1999-06-04 21:43:12 +00:00
castor
4f92d800a6
fix register restore to be safe for n32 model.
1999-06-04 21:35:47 +00:00
thorpej
c5e6001ff8
Don't built most of the PCVT utilities; they're not really useful anymore,
...
now that we're trying to deprecate PCVT.
XXX Leave the fonts and font editor for now.
1999-06-04 18:47:33 +00:00
mrg
8613b8e39d
avoid uninitalised pointers.
1999-06-04 14:29:38 +00:00
mrg
3a1472c106
GC dead code. add support for PCI and IDE boot device detection, plus hme ethernet.
...
should probably deal with be and qe, etc.
1999-06-04 14:00:38 +00:00
mrg
27bcf2b6e6
eek. sparc can have "wd" disks.
1999-06-04 13:58:59 +00:00
mrg
e40f54e4c7
GC dead code. add support for PCI and IDE boot device detection, plus hme ethernet.
...
should probably deal with be and qe, etc.
1999-06-04 13:55:37 +00:00
mrg
a1c100d377
clone this from the macppc port.
1999-06-04 13:51:57 +00:00
mrg
10b89455c7
pull iommu code out of sbus code so we can share it with the PCI.
...
define some useful PCI macros.
1999-06-04 13:48:48 +00:00
mrg
03adf4aad1
PCI driver for the UltraSPARC. this only works on the Ultra5/10 machines
...
(`SUNW,sabre') for now, and it doesn't really quite work there yet anyway.
the bus space/dma code is cloned from the sbus driver. the IOMMU code also
is cloned from the sbus code, but separated out into iommu.c so that we can
share it with the sbus driver. hopefully, much of the bus space/dma code
can also be re-shared with the sbus driver and the ebus driver but for now
these copies will do.
support for the real UltraSPARC PCI (`SUNW,psycho') is unwritten, though
most of this code is shared with it.
we can probe PCI config space and try to configue devices, but interrupts
don't work yet...
1999-06-04 13:42:14 +00:00
mrg
36237341af
support for the UltraSPARC `Extension Bus' found on the PCI machines.
...
the bus space/dma code is cloned from the PCI code to do the same thing
which itself was cloned from the sbus bus space/dma code. the bus dma
code is non-functional at this point.
1999-06-04 13:29:13 +00:00
mrg
da08612af4
Ultra5/10 configuration.
1999-06-04 13:22:22 +00:00
minoura
bb1f24c221
Could not be compiled without PMAP_NEW.
1999-06-03 14:43:33 +00:00
leo
9a13ebbdd6
Fix lossage with the et4000. Some of the CRT registers were incorrect.
1999-06-03 12:38:50 +00:00
christos
beb12b13b9
Don't include rasops and wscons goo here; we get it already from fbvar.h
1999-06-02 23:24:00 +00:00
is
59b9a4fb42
Handle RDB ( Amiga native ) partition tables on media with more than 512
...
bytes/sector correctly.
Submitted by Detlev Würkner in PR 7653.
Non-trivial merge with the 1.30 change (handle old AmigaDOS fs partitions
with simulated sectorsperblock > 1) by myself, so don't blame Detlev if it
doesn't work (but I checked!).
XXX We still need changes to the file systems to handle this fully.
1999-06-02 21:09:03 +00:00
mycroft
7d5f7a34ce
We need wsdisplayvar.h for this to compile now!
1999-06-02 12:11:39 +00:00
leo
80054d22ac
Fix copyright (exchange clauses 3 & 4).
1999-06-01 14:27:39 +00:00
mark
eb947d2f5e
Fix bug in event signalling.
1999-06-01 09:34:06 +00:00
briggs
6e95146ec6
Raise spl4 to spl6 in quick_go--I am now experimenting with interrupts
...
at levels 5 (sound) and 6 (via1) on the Q700.
Raise splhigh when reading and writing registers. It's ugly, but it's
possible that we could get an interrupt from a higher-level source,
causing a re-read of a memory location.
This is not good when, e.g., we are reading the interrupt register.
Ideally, we would just raise splhigh() in ncr53c9x_readregs(), but
that's m.i. code, and it may be expensive on other architectures.
1999-06-01 03:40:12 +00:00
mark
29fe96b920
Guard inclusion of opt_cputypes.h.
1999-06-01 03:37:02 +00:00
briggs
0ff3b0087c
Add debug routine as an aid for working out new nubus cards.
1999-06-01 03:26:42 +00:00
briggs
5e28d99a64
Add define for another ethernet card (Nuvolink)
...
Wrap nubus_scan_slot() prototype in #ifdef DEBUG.
1999-06-01 03:24:25 +00:00
briggs
42d2797a4b
Comment out DISABLE_EXT_CACHE as it unnecessarily slows down the IIci
...
w/ external cache. Leave it around so the paranoid can still use it.
1999-06-01 02:39:25 +00:00
ross
a1c15a355d
In PMAP_ISACTIVE(), check curproc->p_vmspace before using it; this macro
...
is called early in startup, long before p_vmspace is set to &vmspace0.
1999-05-31 20:49:00 +00:00
ross
4313734913
After some banging and bashing, commit Jason's new ddb traceback code.
1999-05-31 20:42:15 +00:00
ross
604d4df11e
Convert to traceback-friendly temporary labels.
1999-05-31 20:40:23 +00:00
ross
ffc59b8bad
Be less drastic when running strip(1) on DEBUG=-g kernels.
1999-05-31 18:54:49 +00:00
minoura
db782f7c11
First attempt to implement PMAP_NEW interface.
...
The code was mostly written before the pmap_k* inconsistency fixes.
Work around might still remain. Should be removed.
1999-05-31 14:39:13 +00:00
nisimura
8286166c86
- Call _splnone() explicitely after auto config. was well done to make
...
sure SOFT_INTs cleared before interrupt processing is started.
1999-05-31 07:42:56 +00:00
ross
6b3d12f44a
Calculate what sp would have been and save it in otherwise-unused
...
FRAME_SP slot if entering ddb.
1999-05-31 06:41:39 +00:00
nisimura
fad2c4c762
- A little attention for TLBUpdate().
1999-05-31 06:10:32 +00:00
ross
d3df2008f1
Fix generation of locore.s dependencies.
1999-05-31 02:46:17 +00:00
eeh
b14c7f77cb
Garbage collect.
1999-05-31 00:14:00 +00:00
eeh
07d5dfdd7b
Fix some bugs in some more of those asm macros.
1999-05-31 00:13:16 +00:00
briggs
f3d8507abd
PR 7021 from Yoshihisa Sugimoto <sugimoto@sums.shiga-med.ac.jp>:
...
Clear interrupt properly on the RasterOps 24XLTV. Same as the 24LX.
1999-05-30 21:43:19 +00:00
is
2e63d78d8b
Support for a ... somewhat strange method of doing >512 byte/block
...
ADOSFS partitions. By Matthias Scheler via PR 2559. A diagnostic
check was updated by myself.
1999-05-30 21:21:36 +00:00
briggs
59422960ea
PR 7220 from Ken Nakata:
...
I've fixed most (not all) m68k FPE bugs that give bogus
calculation results, esp. fsqrt instruction. Also, the internal FP
representation has been reduced from 115-bit mantissa to 67-bit
mantissa which reduced the required mantissa operation roughly by one
fourth. I've done an extensive (though not exhaustive - it's
impossible!) test on the internal routines by feeding them randomly
generated FP numbers, and found that the new code is more precise than
MC68040 FPU (it seems to have a rounding bug).
[ Only change was to keep fpu_calcea.c's name instead of renaming to
fpu_ea.c in Ken's patch. --akb ]
1999-05-30 20:17:48 +00:00
eeh
64b891fc8d
Add code to support using %tick as the system clock if no "counter-timer" node
...
is found.
1999-05-30 19:13:33 +00:00
eeh
cd53dbd506
Re-write ASI load/stores to use full 64-bit addresses so we can use device
...
register addresses with MMU bypass ASIs.
1999-05-30 19:11:33 +00:00
eeh
c2f2c064c0
Make pmap_enter() handle little-endian mappings properly.
1999-05-30 19:01:50 +00:00
eeh
de1ba9c829
Grab real locks from the sparc port. I suppose we could use casa and casx
...
instead of ldstub, but since we aren't doing n-way locking it makes little
difference. N.B. Need to decide what to do with sparc64/sparc64/asm.h which
has name conflicts with sparc64/include/asm.h. So far most of
sparc64/sparc64/asm.h has been moved to ctlreg.h.
1999-05-30 18:57:27 +00:00
eeh
dafdd170d7
Handle little-endian mapin requests.
1999-05-30 18:52:51 +00:00
mrg
01849b81ca
allow the kernel to link with no arp (ether) devices
1999-05-30 07:36:28 +00:00
mrg
1b384c6911
clone intr.h from the SPARC.
1999-05-30 02:37:10 +00:00
nisimura
ce19767c8b
- Make a modification to reduce the cost of TLBmod exception handling.
...
TLBUpdate() routine is used for dual purposes. In TLBmod case, just ok
to call 'tlbwi' (as designed). Result in saving of extraneous execution
path. MIPS1 only this moment.
1999-05-29 09:38:28 +00:00
nisimura
fcd9e7edb9
- Correct uninitialized pointer issue I made.
...
- Put a comment why the original prodtype detection logic made no trouble.
1999-05-29 09:31:02 +00:00
simonb
59dfa57be9
Move initialisation of ioasic_base to dec_3maxplus_init() - it is used
...
in this function before dec_3maxplus_os_init() gets called.
1999-05-29 07:10:36 +00:00
thorpej
dbc1dd921a
Clone vmapbuf() and vunmapbuf() from the Alpha port.
1999-05-28 22:59:40 +00:00
mark
8885cdd879
Implement a workaround in initarm() for a problem that stopped ARM610
...
and some ARM710 processors from completing their initial bootstrap.
Fixes PR7595.
1999-05-28 09:59:31 +00:00
simonb
f62bb2b791
Add CD9660 filesystem - useful for installing from CD-ROMs :-)
1999-05-28 08:07:12 +00:00
nisimura
d116bc4a0d
- Make this compilable with MIPS1 or MIPS3 only configuration.
1999-05-28 07:23:38 +00:00
pk
0953844306
Casts to match `%d' in printf format.
1999-05-27 14:20:10 +00:00
pk
69b216aefe
`xmit' & `recv' return `ssize_t'
1999-05-27 14:04:25 +00:00
leo
88efdc6951
Add support for the memory on the CT2 board. Info from Thomas Goirand.
1999-05-27 09:08:25 +00:00
mark
ccb5b09c4f
Grr. Nuke the remaining allocsys() prototypes.
1999-05-27 09:08:09 +00:00
mark
99804cc3e7
Nuke old prototype of allocsys().
1999-05-27 09:04:11 +00:00
nisimura
9b5cf7b4de
- Save MIPS1 only configuration for 3min, pointed by Erik Bertelsen
...
<erik@mediator.uni-c.dk>
1999-05-27 06:43:50 +00:00
nisimura
58cf81db34
- Change a symbolic name of TLB entrylo from 'PG_M' to 'PG_D' to reflect
...
processor design. MIPS 'dirty bit' is not the same as i386 'dirty bit'.
There is a growing concern of misuse in NetBSD/mips.
1999-05-27 01:56:32 +00:00
thorpej
beb8d06638
Generally update the comment above vunmapbuf().
1999-05-26 22:19:33 +00:00
thorpej
a2d06a4721
Generally update the comment above the vmapbuf() implementations.
1999-05-26 22:07:36 +00:00
thorpej
985f839e63
Add a comment explaining why INTRSAFE isn't needed here.
1999-05-26 19:23:13 +00:00
thorpej
2580d306ab
Change the vm_map's "entries_pageable" member to a r/o flags member, which
...
has PAGEABLE and INTRSAFE flags. PAGEABLE now really means "pageable",
not "allocate vm_map_entry's from non-static pool", so update all map
creations to reflect that. INTRSAFE maps are maps that are used in
interrupt context (e.g. kmem_map, mb_map), and thus use the static
map entry pool (XXX as does kernel_map, for now). This will eventually
change now these maps are locked, as well.
1999-05-26 19:16:28 +00:00
leo
48627f3c5d
Make this compile again. I assumed that the use of 'format_memory()' was
...
an error? Made it use format_bytes()....
1999-05-26 14:29:34 +00:00
cgd
5dd4815be9
uh, get the port name consistently correct (NetBSD/alpha, not NetBSD/Alpha)
1999-05-26 06:22:03 +00:00
nisimura
1922144399
- Remove now obsolete function declaration.
1999-05-26 04:27:27 +00:00
nisimura
d7a56fd7fa
- Continue on branch merge, incrementally.
...
- Catch up filename changes escaped to be fixed.
1999-05-26 04:23:58 +00:00