ragge
550bb5fbb2
Make yeartonum/numtoyear visible.
2000-07-26 11:54:32 +00:00
ragge
c034e1d483
VAX-specific bi support changes.
2000-07-26 11:53:30 +00:00
ragge
9c3b3ed9c6
Discover the KA88 cpu.
2000-07-26 11:50:51 +00:00
ragge
3a73106b1b
KA88 console support.
2000-07-26 11:50:16 +00:00
ragge
0aeb2853f9
Support for a machine-specific badaddr handler.
2000-07-26 11:48:50 +00:00
ragge
b38b1995fa
Support for the KA88 CPU and the NMI backplane.
2000-07-26 11:47:15 +00:00
ragge
851da6dda0
Remove the use of global "mastercpu", the world is different now.
2000-07-26 11:44:25 +00:00
ad
001420d7ea
Remove unneeded include.
2000-07-26 11:42:41 +00:00
pk
4a3cba7a65
Pull in <dev/clock_subr.h>.
2000-07-26 11:28:36 +00:00
briggs
5d162e9bcf
Add Sigma Designs L-View and AsanteFAST product codes.
2000-07-26 04:36:16 +00:00
briggs
98cdbc4cc9
Remove advertising clause with my name.
2000-07-26 04:35:46 +00:00
mycroft
11142830f9
Switch back to newvers_stand.sh. Dunno why it bombed the first time.
2000-07-25 21:53:55 +00:00
pk
f343e5777c
Add `dma' to the `early device' list, since we need it before an `esp'
...
is configured. Traced and tested by Julian Coleman.
2000-07-25 21:50:03 +00:00
scw
2f335ce72b
Nuke __BROKEN_DK_ESTABLISH, and add __HAVE_DEVICE_REGISTER.
2000-07-25 20:52:27 +00:00
mycroft
714a495a4a
Duh, hp300 -> sparc64.
2000-07-25 20:48:19 +00:00
mycroft
234b20f27c
Put back missing newvers.sh.
2000-07-25 20:47:44 +00:00
jeffs
71538e8894
Fix mips3 outofworld to panic cleanly even if shutdown path misses K2.
...
Previously we jal to panic which never cleared the tlb fault, so if
on the course of shutdown (like a doshutdownhooks() callback) missed
K2, it would panic again. Fix by setting EPC to panic() and eret.
2000-07-25 18:06:49 +00:00
jeffs
3a90817270
Add option to apply additional mask to the SR at run-time for MIPS3 platforms.
...
By default this is off, and only slightly changes the code to load SR when
a temp register is available. This can be used by the platform code to
handle slow to clear interrupts (our case) or to mask off any interrupt
any interrupt at run-time. This can be very useful for embedded platforms
that have less than desirable interrupt properties.
2000-07-25 17:56:05 +00:00
mrg
219910d2e6
add disabled LOCKDEBUG; re-enable all the phy drivers
2000-07-25 17:26:36 +00:00
pk
320361c474
Re-instate a couple of delay slot NOPs marked `XXX spitfire bug?'
2000-07-25 15:15:32 +00:00
toddpw
6c80daae8d
Ignore all undefined bits in the Tadpole microcontroller status register.
...
Only the low nibble is defined, and on at least one 3gx (mine) there is an
undefined bit which reads as a one -- bit 6 (0x40). This screwed tctrl_intr()
which would loop forever, thinking it always had new events to process.
2000-07-25 09:57:59 +00:00
tsubai
46ab3e89fb
Use libsa alloc().
2000-07-25 06:26:18 +00:00
tsubai
dd54c272e5
Add ofwboot.{mrg,xcf} to CLEANFILES.
2000-07-25 06:22:05 +00:00
tsubai
8dc7633036
Make this compile again.
2000-07-25 06:18:23 +00:00
tsubai
13f68a994d
Enable console in initppc().
2000-07-25 05:44:27 +00:00
tsubai
7cf89e2181
Allocate temporary buffer to copy OF page table dynamically
...
rather than static variable.
2000-07-25 05:41:30 +00:00
wrstuden
e651decb55
We don't need to include the # VIA VT82C686A integrated AC'97 Audio as it
...
is integrated into the Southbridge on a number of i386 motherboards - we
won't be seeing that in a mac. :-)
2000-07-25 02:33:30 +00:00
wrstuden
a6d6bce652
Add a bunch of pci audio drivers. Most are commented out as they haven't
...
been tested on macppc. But I tested the eap for playback and it's fine.
2000-07-25 01:39:22 +00:00
jeffs
05587c68ae
Correct typo in comment.
2000-07-25 00:11:36 +00:00
is
747fe6b40d
French/Finnish/German/Norwegian keyboard support; ported by Thomas Runge from the i386 pccons.c. Minus the iso8859-1 to pc437 translation which isn't needed on the DNARD.
2000-07-24 22:05:27 +00:00
is
ee0e9a4283
French/Finnish/German/Norwegian keyboard support; ported by Thomas Runge
...
from the i386 pccons.c. Minus the iso8859-1 to pc437 translation which
isn't needed on the DNARD.
2000-07-24 21:56:09 +00:00
jeffs
7dad7ceb84
Use new uvm_km_valloc_prefer_wait() in vmapbuf(). This lets the K2
...
mapping of b_data have the same virtual index, so the mapping does
not degenerate into uncached in pmap_enter().
2000-07-24 20:16:29 +00:00
jdolecek
0cd22457c9
add netboot.bin to CLEANFILES
2000-07-24 18:43:16 +00:00
jdolecek
921705c3eb
cleanup Makefiles, put common stuff to Makefile.booters, ditch unnecessary
...
stuff
make this all compile with -Wall -Wno-main -Wmissing-prototypes
-Wstrict-prototypes -Werror , also compilable on 1.4.1
label itself as NetBSD/mvme68k instead of "BSD" in bootblock message
move bugcrt.c to libbug, remove bugcrt directory (bugcrt is still built
and used separately to rest of libbug)
convert sboot to use ordinary mvme68 libsa, instead of copying needed
stuff in libc_sa.c
convert to use version info generated by sys/conf/newvers_stand.sh
instead of previous version.c files, add necessary 'version' files
put chiptotime() to separate libsa file (used also by sboot/clock.c)
Thanks to Steve Woodford for help with this. Note that -current build
might be hosed by this change, will be addressed by Steve shortly.
2000-07-24 18:39:01 +00:00
mycroft
b77782d785
Optimization to pmap_zero_page(): we only need to use the first 16 FP regs,
...
as in bzero().
2000-07-24 16:21:02 +00:00
mycroft
fe9795a1e5
Fix a whitespace glitch.
2000-07-24 16:08:18 +00:00
mycroft
a0ae8e1ecb
Pull in the bzero() changes from libc for real, with a couple of kernel-
...
specific hacks:
* Make the bias handling depend on STKB, so it switches correctly for 32-bit
kernels.
* Use the 32-bit stw/ld for 32-bit kernels.
* Add a few `-STKB's that were missed in the previous change.
2000-07-24 15:57:07 +00:00
ad
751028f9c1
CopyToBuffer/CopyFromBuffer are used by sii/xsii and nothing else.
2000-07-24 15:07:02 +00:00
pk
98127a7ee3
Cosmetic & readability:
...
- local label cleanup in interrupt handling code;
- in debugging sections when testing `intrdebug': use a unique
local label (97) to enhanced clarity;
- comment-out unused code;
- kill a bug as the satisfying result of doing all of the above.
2000-07-24 14:55:56 +00:00
ad
f054f5b190
Allow probe for SCSI tape drives even if no SCSI disk drives are configured.
2000-07-24 11:44:33 +00:00
scw
78abb015f5
G/C the IIO* #defines. They're no longer needed.
2000-07-24 11:20:47 +00:00
tsubai
a943e81da4
Delete kernfs.
2000-07-24 10:04:10 +00:00
scw
2688608c2b
Pass the boot partition number into the loaded kernel, in preparation
...
for doing away with __BROKEN_DK_ESTABLISH.
2000-07-24 09:25:53 +00:00
pk
1045aba51d
Define UVM_PAGE_IDLE_ZERO.
2000-07-24 09:14:56 +00:00
pk
a95d924d4d
Fix delay slot error in the SUN4_MMU3L startup code.
2000-07-24 08:48:03 +00:00
eeh
2933116823
Fix stack issues in bzero.
2000-07-24 07:40:40 +00:00
mycroft
2f13e00500
Revert the previous change for now. I don't have time to debug it tonight.
2000-07-24 06:30:34 +00:00
mycroft
ac182d9c19
Er, eliminate the -p link option as well, which just outputs huge amounts
...
of spooge.
2000-07-24 04:54:16 +00:00
mycroft
711ffefeac
Nuke lderr.
2000-07-24 04:45:49 +00:00
mycroft
0c2ad746ea
Slight rearrangement.
2000-07-24 04:39:01 +00:00
mycroft
4cbff173ea
Fix an obvious error that would cause fpu_ftoxi() to drop the upper half.
...
The compiler even emitted a warning for this...
2000-07-24 04:13:45 +00:00
mycroft
bdc8c86c9e
asm volatile --> __asm __volatile
2000-07-24 04:11:03 +00:00
mycroft
b65d3e93c9
Make this a bit safer against errors by using some .tmp files.
2000-07-24 02:00:39 +00:00
mycroft
62fe935649
Give this a prayer of working with obj dirs.
2000-07-24 01:55:59 +00:00
mycroft
8de9ab874b
Make this at least pretend to compile.
2000-07-24 01:51:44 +00:00
mycroft
51b68e1fdd
Fix compiler warnings.
2000-07-24 01:49:37 +00:00
mycroft
2f39009bda
Fix multiple problems with floating point and structure handling.
2000-07-23 21:36:56 +00:00
scw
41167b7f9a
__BROKEN_CONFIG_UNIT_USAGE is no longer required for mvme68k.
2000-07-23 20:51:18 +00:00
scw
2f194db83c
G/C cf_unit. It wasn't really being used in a meaningfull way.
2000-07-23 20:50:21 +00:00
jdc
e98c241a12
Make these work with obj directories.
2000-07-23 20:40:44 +00:00
mycroft
acbf46fbf4
Copy bzero change from libc.
2000-07-23 20:39:14 +00:00
ur
aa381d4db2
Add WSEMUL_VT100 to configuration files using wsdisplay.
...
And update my current configuration. (MIMORI)
2000-07-23 10:06:43 +00:00
eeh
999ba2b285
Give 64-bit processes access to a full 64-bit address space (90% of which
...
they can't use anyway, but that's another issue.)
2000-07-23 07:02:19 +00:00
eeh
526bc1de59
Include <machine/frame.h> to get the definition of BIAS and CC64FSZ.
2000-07-23 06:57:55 +00:00
mrg
46a7cab70a
make this usable for for userland asm, which needs CC64FSZ
2000-07-23 06:15:33 +00:00
bjh21
f6ce16a43b
Fix up alignment of incoming payloads. BOOTP at least now works.
2000-07-22 21:30:54 +00:00
pk
a57e77c50f
Minor comment update; remove unused code.
2000-07-22 21:23:05 +00:00
scw
87143d03cf
Include <sys/systm.h>, if only for printf() prototype.
2000-07-22 19:43:03 +00:00
soda
a86a9c61c4
better message from John Hawkinson <jhawk@MIT.EDU>
2000-07-22 17:43:36 +00:00
bjh21
9c47f8b134
Read the ECID from each podule just before we launch the kernel. This means
...
that the ROM page registers on the podules are likely to end up pointing at
the page with the ECID in it, so NetBSD can recognise the podules.
This is necessary for my i-cubed EtherLan cards, at least.
2000-07-22 15:36:15 +00:00
bjh21
2e61c1bdb7
Correct spelling and capitalisation of "EtherLan".
...
Add EtherLan 100Lk (8-bit mini-podule).
2000-07-22 15:05:47 +00:00
takemura
733c04149a
Experimental MQ200 video driver. It's just copy of bivideo plus power
...
management routine.
2000-07-22 08:53:33 +00:00
takemura
d84cab3012
vrkiu_getc() will call over and over. but we want to see 'not implemented'
...
only once.
2000-07-22 08:26:00 +00:00
takemura
db17c07fd3
mb_bus_space_init() had been removed accidentally when KGDB was supported.
...
It's need for initialize system_bus_iot.
2000-07-22 06:02:46 +00:00
matt
a6f212052a
Enable emulation for everything but 7xx/8xxxx
2000-07-22 05:03:23 +00:00
takemura
ecdd72f783
Overwrite color map of rasops.
2000-07-22 03:46:53 +00:00
jdolecek
21d18c459f
do bootblock versioning standard way via sys/conf/newvers_stand.sh, keep what
...
was previously called "subversion" as "build", remove old cruft from newvers.sh
XXX very lighly tested build on NetBSD/hp300 1.4.1, though could not do full
XXX build due to toolchain differences to -current
2000-07-21 22:26:19 +00:00
jdolecek
01d7296690
switch to sys/conf/newvers_stand.sh for generation of version file
...
slighly adjust the Makefile WRT vers.c and SRCS & CLEANFILES
sync the message in boot/version with other ports using newvers_stand.sh
2000-07-21 22:06:11 +00:00
jdolecek
ab07c9d5a9
switch to sys/conf/newvers_stand.sh for generation of version file
...
sync the message in boot/version with other ports using newvers_stand.sh
2000-07-21 22:02:54 +00:00
jdolecek
d89f124868
switch to sys/conf/newvers_stand.sh for generation of version file
...
slighly adjust the Makefile WRT vers.c and SRCS & CLEANFILES
sync the message in boot/version with other ports using newvers_stand.sh
2000-07-21 21:57:23 +00:00
jdolecek
0ebf73d4cf
switch to sys/conf/newvers_stand.sh for generation of version file
...
slighly adjust the Makefile WRT vers.c and SRCS & CLEANFILES
2000-07-21 21:54:54 +00:00
jdolecek
20933708ec
switch to sys/conf/newvers_stand.sh for generation of version file
...
slighly adjust the Makefile WRT vers.c and SRCS & CLEANFILES
2000-07-21 21:42:25 +00:00
jdolecek
4c97163e2d
switch to sys/conf/newvers_stand.sh for generation of version files, no
...
functional changes
2000-07-21 21:34:27 +00:00
jdolecek
911d661dad
switch to sys/conf/newvers_stand.sh for generation of version files
...
move the vers.c depend/build goo to Makefile.bootprogs and remove
explicit rules in other Makefiles
sync the message in */version files with other ports using newvers_stand.sh
XXX the new depend rules were tested to limited extend (also with obj dirs)
XXX on i386 and should be ok; the changes should not otherwise influence build
2000-07-21 21:25:18 +00:00
scw
1cce37b1f4
Make this compile again.
2000-07-21 20:18:35 +00:00
scw
d6d63e19fe
G/C a debugging printf left over from the last commit.
2000-07-21 08:08:38 +00:00
eeh
263f73d7f4
Now we're running 64-bit userland don't panic the system if a process steps
...
into the address space hole.
2000-07-20 23:29:50 +00:00
jeffs
0e306bace6
kgdb support for the vr hpcmips machines.
...
From Ethan Solomita (ethan@geocast.com ).
2000-07-20 21:03:36 +00:00
eeh
0a25b480c6
Clean up disassembly of sparc v9 insns and handling of negative values.
2000-07-20 20:43:21 +00:00
scw
83e678b1a4
Implement generic soft interrupts for mvme68k.
...
Based on Jason Thorpe's Alpha implementation.
2000-07-20 20:40:34 +00:00
bjh21
da2949153f
Disable dtide since it doesn't work (and probably never will -- the card's
...
brain-dead).
2000-07-20 20:27:11 +00:00
bjh21
6744ec9f53
Include locore.S in the main assembly mkdep.
2000-07-20 20:26:32 +00:00
bjh21
b5d3226a07
General tidying up, notably:
...
- Get the Ethernet address from the card's description string, rather than
relying on RISC OS to set it.
- Don't mention this is a SEEQ8005 -- that's all an "ea" can be.
- Use format_bytes to display the amount of buffer RAM.
2000-07-20 20:25:10 +00:00
jeffs
2ebdfcd251
Make pmap_prefer() use a global setting based on cache size
...
instead of assuming 64KB. This allows best fit and will
support bigger caches.
2000-07-20 18:33:40 +00:00
jeffs
c8b819c2ed
Include kgdb hooks in trap.c. Include bits of DDB code for kgdb also. Remove
...
some local prototypes that are in headers now.
2000-07-20 18:14:46 +00:00
pk
4badffe2c1
For now, alias `network' to `hme'.
2000-07-20 16:29:03 +00:00
pk
71169064c4
Since `intrcnt' points to an array of long ints, reserve the appropriate
...
amount of space depending on _LP64. Provide macros to load/store signed
and unsigned long ints.
Also, make the `intrcnt' and `intrpending' arrays 16 entries long, as on
sparc/v9 interrupt #15 is just a regular interrupt.
2000-07-20 13:28:39 +00:00
deberg
23f2392b19
don't define TAILQ_FOREACH, it's in sys/queue.h now.
2000-07-20 03:44:46 +00:00
jeffs
d8d3c52075
Move masked status and instr into jal cpu_intr delay slot.
2000-07-20 00:43:07 +00:00
jeffs
5938072101
In FPU excepton code, send SIGILL if no one claims the instruction.
...
SIGFPE is still delivered where appropriate.
2000-07-19 22:05:02 +00:00
ragge
96122c2884
Do mtpr(0, PR_TBIA), not mtpr(1, PR_TBIA). This has worked on all CPUs
...
except for KA88.
2000-07-19 21:08:06 +00:00
jeffs
64d555c075
Improve outofworld: to include the vaddr. Removed unused mips3_Set64bit
...
and an #if 1.
2000-07-19 20:46:00 +00:00
matt
b14e1fbbd4
Tpyo
2000-07-19 20:29:45 +00:00
bjh21
f079e15d48
- Remove asc driver, since it doesn't work
...
- Reduce maxusers to 2
2000-07-19 19:41:48 +00:00
jeffs
32ee71ac65
Fix stacktrace() to have an 8 byte aligned stack. On our platform previously
...
it would hang-up. logstacktrace() actually was the same as stacktrace() so
just make it an XLEAF() for now. Include some DDB code for KGDB compilation.
2000-07-19 18:56:36 +00:00
jeffs
8b8bf4501b
At the start of the kernel, keep the MIPS3_SR_DIAG_BEV setting
...
on mips3 systems, until the kernel actually hooks the vectors.
This makes it easier to debug early problems if the firmware
has provides an exception handler.
2000-07-19 18:38:41 +00:00
matt
38c659cca5
Include ELF support by default.
2000-07-19 18:29:21 +00:00
matt
8e9ff5814e
More ELF changes (a.out still works).
2000-07-19 18:15:01 +00:00
thorpej
9faf26ffb5
This file is obsolsete.
2000-07-19 17:39:57 +00:00
bjh21
8c2ce5b135
New configuration, based on GENERIC, but small enough to fit on a system
...
with 4Mb of RAM (I hope).
2000-07-19 16:39:30 +00:00
eeh
6996dd8691
Fix merge problem.
2000-07-19 15:48:25 +00:00
eeh
25f8633edd
Add an option to poll the ROM console from hardclock you can break into DDB
...
even if callouts are disabled.
2000-07-19 15:41:53 +00:00
nathanw
e72ba11928
In cpu_switch(), load value *after* checking that the base register
...
is not NULL.
2000-07-19 14:00:24 +00:00
tsutsui
5867f914e8
Add (commented out) "options TCVERBOSE".
2000-07-19 10:42:22 +00:00
mrg
e3fc09812a
make myetheraddr() work even if the clock hasn't been setup yet
2000-07-19 10:20:09 +00:00
eeh
422e1b7236
Disable interrupt interlock using ih->ih_pending field. Seems to cause
...
more problems than it solves.
2000-07-19 04:36:42 +00:00
eeh
625dc5189f
Miscellaneous cleanup.
2000-07-19 03:24:07 +00:00
matt
d66b7dcc2d
Switch to loadfile instead of exec. Now we can load a.out or ELF kernels.
2000-07-19 02:39:11 +00:00
matt
ad99ca5ed2
use size_t instead of u_int.
2000-07-19 01:02:52 +00:00
matt
ab5d2882a0
Move KA630 definitions from boot/boot/consio.c to here.
2000-07-19 01:01:58 +00:00
matt
15c6bb6dbd
ELFify (udiv -> __udiv, urem -> __rem)
2000-07-19 01:01:02 +00:00
matt
732a08c3c3
Put the assembly consio routines in a separate file so it can deal with
...
a.out/ELF differences.
2000-07-19 00:59:20 +00:00
matt
9b4c867626
Add support for loading a 2nd stage boot in either a.out or ELF.
...
Add support for loading a 2nd stage boot directly to it's desired address
if possible.
cleanup use of u_int/size_t.
2000-07-19 00:58:23 +00:00
eeh
067b7521b5
Fix PIC bugs.
2000-07-18 22:38:11 +00:00
pk
59a7148fe9
address casts: long -> u_long
2000-07-18 20:19:56 +00:00
pk
db76bf893e
Cast pointer to `u_long' (not `long') for correct results.
2000-07-18 20:15:36 +00:00
pk
602e908589
Correct args usage comment in probeget.
...
Whitespace cleanup.
2000-07-18 20:14:45 +00:00
pk
1d14ce3842
probeget: 9 -> 0x9
2000-07-18 19:27:57 +00:00
pk
c0e91fb184
If `ih_pending' is set simply return from the trap, don't schedule another
...
soft interrupt.
2000-07-18 19:25:26 +00:00
pk
a49fddc9b3
openfirmware: don't lower %pil
2000-07-18 12:52:56 +00:00
matthias
9cb57a12a7
Change KERNBASE to 0xe0000000 to give more room for KVA. This is the maximum
...
amount of KVA that is supportable on the ns32532.
2000-07-18 12:45:49 +00:00
soda
36b85ab9c7
hexadecimal constant in "options" value doesn't need quotation.
2000-07-18 11:41:32 +00:00
soda
87b0dd6e6a
make PCIBIOS_IRQS_HINT patchable.
2000-07-18 11:37:56 +00:00
pk
34270e85bd
Use probeget() in pci_config_read() for the psycho, to avoid bus
...
faults when probing PCI space.
2000-07-18 11:37:31 +00:00
pk
073e24cd1b
Set up register bank sharing bwteen psycho A & B based on matching
...
physical addresses. Allocate IOMMU state separately and refer to it
from both psycho_softc's.
2000-07-18 11:35:03 +00:00
soda
52e3dc4e56
use I386_PCI_INTERRUPT_LINE_NO_CONNECTION instead of magic number.
2000-07-18 11:24:09 +00:00
soda
663add1b20
use PCI_INTERRUPT_PIN_MAX and I386_PCI_INTERRUPT_LINE_NO_CONNECTION,
...
instead of magic number
2000-07-18 11:23:28 +00:00
soda
81858d7c01
- Use PCIBIOS_PRINTV().
...
- Use PCI_INTERRUPT_PIN_MAX and I386_PCI_INTERRUPT_LINE_NO_CONNECTION
instead of magic number.
the Following changes are
{Modified with,Approved by} UCHIYAMA Yasushi <uch@netbsd.org>:
- Do not touch a PIRQ router, if the PIRQ is already routed
by the BIOS, or no appropriate IRQ is found for the PIRQ.
The latter prevents a panic on the machine of Frank van der Linden.
- Do not modify a PCI Interrupt Configuration register,
if it is already set by the BIOS, even if it is inconsistent
with the PCI IRQ routing table provided by the BIOS.
(The PCI Interrupt Configuration register seems to be more reliable
than the PCI IRQ routing table.)
This is needed to prevent a incorrect header_fixup() caused
by the incorrect PIR table on a Panasonic Let's Note AL-N2T516J5.
Provide "options PCIBIOS_INTR_FIXUP_FORCE" to retain
previous behavior, i.e. believe the PCI IRQ routing table
and ignore the PCI Interrupt Configuration register.
Although I'm not sure this is really needed.
- Do not modify a PCI Interrupt Configuration register,
if appropriate IRQ is not found for the link.
- Move a pciintr_icu_getclink() call and a pciintr_icu_get_intr()
call from pciintr_link_fixup() to pciintr_link_alloc(),
and only allocate pciintr_link_map if those calls succeeded.
This reduces number of calls of pciintr_icu_getclink(),
and also avoid necessity to validate a clink value in
ICU's {get,set}_{intr,trigger}() functions.
The sanity checks are not removed yet, though.
- Fix uninitialized usage of variable `bitmap' on stage 3
of pciintr_link_fixup().
- Remove a member variable `old_irq' from struct pciintr_link_map.
- Always use 0x%02x for printf format of canonical link value.
- Use DIAGNOSTIC instead of PCIINTR_DEBUG for really weird situation.
2000-07-18 11:22:36 +00:00
soda
b01ab37ef6
use PCIBIOS_PRINTV() defined in pcibios.h, instead of homegrown DPRINTF().
2000-07-18 11:18:04 +00:00
soda
698b2b1173
- define pcibiosverbose here, instead of each C source.
...
- use PIR_DEVFUNC_{DEVICE,FUNCTION}.
2000-07-18 11:15:25 +00:00
soda
0e8343265b
- define PCIBIOS_PRINTV() as pcibiosverbose printf() here,
...
instead of DPRINTF() in each C source.
- define PIR_DEVFUNC_{DEVICE,FUNCTION}
2000-07-18 11:14:06 +00:00
soda
2f9cb9c128
add several debug printf which can be enabled by PIIX_DEBUG.
2000-07-18 11:10:22 +00:00
soda
9a7e0d82ac
- deal with FIRESTAR_PIR_SELECT_PIRQ case on set/get_trigger(),
...
to prevent a panic on a Panasonic Let's Note AL-N2T516J5.
- add several debug printf which can be enabled by FIRESTARDEBUG.
by UCHIYAMA Yasushi <uch@netbsd.org>
- use I386_PCI_INTERRUPT_LINE_NO_CONNECTION instead of magic number.
2000-07-18 11:07:20 +00:00
soda
b8a6bd6e11
add "#define I386_PCI_INTERRUPT_LINE_NO_CONNECTION 0xff"
2000-07-18 11:00:35 +00:00
jeffs
f7dacc7a8e
Use spl*_noprof routines to raise and lower spl for kernel profiling.
...
This keeps the SR management more contained in locore, and should
be roughly the same performance as the .text size is less. Talked
to simonb and he was ok with this change.
2000-07-18 06:25:32 +00:00
thorpej
ea0cb4c30e
Clear the ISDN TXPTR/RXPTR/OVRN interrupt bits here. Based on
...
a suggestion by Gregory McGarry.
2000-07-18 06:10:06 +00:00
mrg
faaa100d6e
#if 0 some dumpsys() debugging messages
2000-07-18 05:18:35 +00:00
mrg
d2626038cd
kill dead files.
2000-07-18 04:21:17 +00:00
mrg
040268c10e
s/auxreg/auxio/
2000-07-18 04:17:23 +00:00
jeffs
8e5b35a55a
Fix FP exception handling that was recently broken and would not
...
run src/regress cleanly. Need to save and restore the frame pointer
for fpemul_sig*().
2000-07-18 00:41:18 +00:00
jeffs
5961b67774
if MIPS3_ENABLE_CLOCK_INTR is defined, set MIPS3_[HARD_]INT_MASK
...
appropriately. This supports ports that use the internal clock.
Add 2 diag register defines that are specific to QED processors.
2000-07-17 23:35:13 +00:00
jeffs
0e0c4d24e8
Move platform db_trap callback from arch/mips into ddb as suggested by
...
jhawk. This callback is used by platform code to manage things like
watchdogs that should be disabled while in ddb. Done as a callback
for processors such as mips that support lots of different systems.
2000-07-17 19:57:49 +00:00
pk
1d1b0968f1
IF we're changing hz, change tick accordingly too.
2000-07-17 18:32:25 +00:00
pk
ec726f07ca
Kill typos in interrupt code.
2000-07-17 17:06:00 +00:00
wrstuden
0eb897823b
There is no music device - g.c. its cdev_decl.
2000-07-17 16:57:19 +00:00
minoura
71ccd6200d
Add (but commented) COMPAT_PECOFF entry.
2000-07-17 14:37:53 +00:00
pk
966115ff9e
probeget: do the same song and dance as ld*a() macros in ctlreg.h do.
2000-07-17 14:08:43 +00:00
jeffs
efabca31b5
Make memcpy() the favored interface an swizzle the args for ovbcopy. Also
...
move bcopy XLEAF here from locore.S. For 64b clean compilation add a
ld/sd section to the block copy.
2000-07-17 07:37:50 +00:00
jeffs
2fd0d88f44
Use <uvm/uvm_extern.h> instead of vm/vm.h
2000-07-17 07:06:13 +00:00
jeffs
116a6f8233
Pull in geocast mips ddb improvements and start bringing in kgdb support.
...
Add ddb support for QED opcodes, fill in enough routines so "next" usually
works, kdbpoke support for any size. Add callback that ports can hook when
entering and leaving ddb. This can be used for things like turning
off watchdogs while in ddb.
2000-07-17 07:04:19 +00:00
scottr
fc1ba82306
Make this compile again: restore missing prototype.
2000-07-17 06:53:42 +00:00
scottr
d63c5d05ce
Catch up with d_mmap parameter change. From Steve Peurifoy via PR #10603 .
2000-07-17 06:52:31 +00:00
scottr
b4f5693f98
Repair format type mismatch in DEBUG code. From Steve Peurifoy via PR #10603 .
2000-07-17 06:51:18 +00:00
scottr
196f358a96
Correct return type of grfaddr(). From Steve Peurifoy via PR #10603 .
2000-07-17 06:50:32 +00:00
thorpej
5edc9ef4a4
When computing the segment size, consider the maximum segment
...
size in the DMA map.
2000-07-17 04:47:56 +00:00
matt
f96915efa5
Changes so that the kernel can be compiled under __ELF__.
2000-07-17 02:54:04 +00:00
matt
5d9fda1ecd
switch size_t, ptrdiff_t, & ssize_t to long int (signed or unsigned) for
...
__ELF__.
2000-07-17 02:52:24 +00:00
jdolecek
77c0fe57cf
convert to use version template and newvers_stand.sh script for generating
...
bootblock revision strings, use bootbock_name[] (i.e. "NetBSD/sun3")
in initial bootblock messages instead of just "NetBSD"
while here, do sligh Makefile cleanup to share more code between them and also
to make buildable on NetBSD 1.4.1 (my test compile system)
get rid of the XX define hack for netboot & ufsboot, build xxboot.c as
part of libsa - previos main() was renamed to xxboot_main(), main()
is now in respective conf.c files and calls xxboot_main() with
appropriate name of boot block type
XXX I had no chance to actually test the resulting bootblocks, but the
changes were fairly streightforward and should no influence functionality of
boot code
2000-07-16 21:56:12 +00:00
bjh21
d9151a2dc8
Add a uuencoded tokenised BASIC version of BBBB, since it can't yet be
...
generated without RISC OS.
2000-07-16 12:54:04 +00:00
bjh21
87dbab4963
Warn about <8bpp screen modes.
...
Fix a typo in "page in use" message.
2000-07-16 12:46:50 +00:00
christos
480203ba75
change intptr_t and uintptr_t to long and unsigned long respectively. This
...
is a noop on 32 bit machines, but it makes lint quiet and it is more correct.
2000-07-16 02:18:11 +00:00
matt
2890290b0f
Add com* at obio0. (Tadpole & JavaStation)
2000-07-15 19:59:53 +00:00
matt
1d97a430c4
Enhance this so it support the com port on the JavaStation 1 as well as
...
the tadpole internal modem.
2000-07-15 19:57:03 +00:00
scw
83e844cf03
Add a prototype for netintr()
2000-07-15 19:17:19 +00:00
scw
b3b275a389
The install ramdisk has grown somewhat, and now overwrites the
...
`ie' chip's packet buffer... Moving it up to just below the netboot
image (4MB) should leave room for a few more year's bloat. ;-)
2000-07-15 16:04:24 +00:00
eeh
eb5863f522
#ifdef BOOT_DEBUG --> BDPRINTF(PDB_BOOT, (...))
2000-07-15 14:26:39 +00:00
eeh
4eacbabe76
Make 64-bit stack tracebacks look decent.
2000-07-14 21:07:10 +00:00
eeh
6667752114
Move some macro definitions out of genassym and into locore.s
2000-07-14 21:04:16 +00:00
eeh
3143adecfb
Tell gcc that stores clobber "memory". Probably makes no difference since
...
they should not be used to access normal memory anyway.
2000-07-14 21:02:11 +00:00
eeh
41da794863
Make all the inline functions static.
2000-07-14 21:00:17 +00:00
eeh
7b6085ff22
Add support for 64-bit PIC and dynamic linking.
2000-07-14 20:59:07 +00:00
jeffs
1dfa0ec96d
Use cpu_intr() definition from mips/cpu.h instead of local one.
2000-07-14 18:35:38 +00:00
pk
9de310aebe
Use per-PBM control/status register addresses provided by the PROM.
...
Print version/implementation info.
2000-07-14 15:13:35 +00:00
pk
04fe9636ba
Provide details on the `psy_csr' register.
2000-07-14 15:09:51 +00:00
pk
8258c0e780
Fix padding in struct pci_ctl.
2000-07-14 13:17:12 +00:00
pk
e5a9cce870
Cast physmem to u_int64_t before applying ctob().
2000-07-14 13:15:44 +00:00
pk
68edef1bf6
Back out previous for now; it requires a system wide prototype change.
2000-07-14 09:58:52 +00:00
matthias
2d699aa6ce
Change some comment formatting.
2000-07-14 08:21:14 +00:00
matthias
0688add8e8
Take care of prototype changes for console probe and console getc.
2000-07-14 08:18:49 +00:00
tsubai
500013914e
Make timebase frequency value adjustable.
2000-07-14 05:53:31 +00:00
pk
c32ffb8447
Make `physmem' an `unsigned int', so it can properly represent large memory
...
configurations.
2000-07-14 00:02:35 +00:00
jdolecek
5942ac860b
switch to sys/conf/newvers_stand.sh for generating vers.c
2000-07-13 22:25:14 +00:00
jdolecek
9c15bcabda
switch to sys/conf/newvers_stand.sh for generating vers.c
...
sync comments in */version with i386
2000-07-13 22:18:12 +00:00
jdolecek
f6330c6500
switch to sys/conf/newvers_stand.sh for generating vers.c
...
sync comments in */version with i386
add a hack to ${PROG} target so that symlinks machine, pmax, mips are
created properly even when building on NetBSD/pmax 1.4.1
2000-07-13 22:18:08 +00:00
msaitoh
1fa850b0ef
config file for Dreamcast
2000-07-13 18:11:53 +00:00
soren
e527d66d55
Fix mem_no. Pointed out by cgd.
2000-07-13 18:10:38 +00:00
msaitoh
e633c4ca18
don't initialize BSC when BSC is already initialized (e.g. Dreamcast)
2000-07-13 18:02:10 +00:00
cgd
ca051b5fb3
fix some obvious paste errors in 'uk' cdev inits
2000-07-13 17:40:34 +00:00
pk
9da8631e2b
printf() format for 64-bit integers `tf_pc' and `tf_npc'.
2000-07-13 16:44:03 +00:00
jeffs
ef9531850e
Add comment that overriding the sysctl defines in machine/cpu.h
...
breaks userland binary compatiabiltiy between mips ports. Move
check down so common values are always defined here.
2000-07-13 07:37:11 +00:00
mrg
c0f74e1bda
remove memreg.h.
2000-07-13 06:30:16 +00:00
mrg
22820972ac
remove vaddrs.h
2000-07-13 06:25:55 +00:00
mrg
81ec8bef47
remove old (bogus) comment.
2000-07-13 06:23:07 +00:00
thorpej
3eedcb3009
Whitespace police.
2000-07-13 05:47:39 +00:00
mrg
d5a1bec37e
bump some system values.
2000-07-13 05:40:51 +00:00
matt
cb551c438d
Reflect the new reality.
2000-07-13 03:18:22 +00:00
matt
841f05f1b2
Use <machine/asm.h>
2000-07-13 03:17:21 +00:00
matt
20b3698aee
Include libkern.h
2000-07-13 03:13:40 +00:00
matt
98ffc615b2
Use <machine/asm.h>. (e.g. prepare for ELF)
2000-07-13 03:13:05 +00:00
thorpej
c0708e9ff1
Clean up bios_reg a little, and add support for accessing
...
the byte variants of the registers (e.g. %ah, %al, etc.).
2000-07-12 22:58:12 +00:00
pk
7e8f67ad97
No need to fetch the psycho's own registers as thet are already passed
...
down from the parent bus. Also account for the difference in `reg'
properties in psycho vs sabre chips.
2000-07-12 21:49:44 +00:00
pk
f56554a578
If there is no "interrupt-map" property on the ebus node, assume the
...
child "interrupt" properties are already in a format suitable for
the parent bus.
2000-07-12 21:07:36 +00:00
jdolecek
c8f528ad5e
switch to MI newvers_stand.sh version info generator
2000-07-12 21:05:35 +00:00
thorpej
1204c1faaf
Oops, treat 2100A_A500 just like 2100_A500 in every place necessary.
2000-07-12 21:02:14 +00:00
thorpej
3182af4432
- Add Jensen support/devices.
...
- Add commented-out Sable/Lynx support/devices.
- Switch from `ncr' to `siop' by default.
- Add some missing `scsibus' configs to INSTALL.
2000-07-12 20:54:38 +00:00
thorpej
249773b538
Deal with another odd need of the Sable/Lynx systems, which need to
...
have an ISA chipset present before the PCI-EISA bridge has been
attached (because the STDIO module has an ISA DMA-using device,
the floppy controller, connected to it).
2000-07-12 20:50:00 +00:00
thorpej
a66c3e663c
Code to support the DEC 2000/300 (DECpc AXP 150, a.k.a. "Jensen")
...
systems. Thanks to Gyenes Istvan for the rounds of testing.
2000-07-12 20:36:07 +00:00
thorpej
55c41121ff
Change from `ncr' to `siop' by default.
2000-07-12 20:27:25 +00:00
thorpej
42c89508c0
Uncomment the `fdc at sableio' lines.
2000-07-12 20:20:54 +00:00
eeh
1f45545899
Add UltraSPARC III specific flag bit. Currently ignored.
2000-07-11 21:55:11 +00:00
msaitoh
dc6054c8b0
add OBJCOPY?=objcopy
2000-07-11 18:47:09 +00:00
msaitoh
dafe13f724
callout()->callout_reset()
2000-07-11 18:46:22 +00:00
jeffs
f6812b853b
Only define machdep sysctls if CPU_MAXID is not defined by machine/cpu.h.
...
This lets mips ports have additional machdep sysctl. Define CPUISMIPS3
for MIPS1+MIPS2 as cpu_arch >= 3 to support mips4. Add cpu_intr()
prototype so this is defined in one place.
2000-07-11 06:34:57 +00:00
jeffs
6b28794054
Add support for 3 QED special2 opcodes.
2000-07-11 06:27:58 +00:00
jeffs
54a85cb3af
For 64b clean 32b compilation, do not bother setting SX And KX.
...
The current code does not maintain these in SR, and they are not
needed by 32b kernel code for mips3/4 instructions.
2000-07-11 06:26:08 +00:00
nisimura
4f051180a0
- Use PMAD-BA name for device match logic. It's not a real TURBOchannel
...
device and the id string is not found in option ROM string, but
ULTRIX/OSF1 call it so anyway.
- Squash IOASIC DMA buffer allocation into device attach() sequence.
2000-07-11 04:10:25 +00:00
soren
77e30d85bf
Oops.
2000-07-11 01:15:47 +00:00
soren
e3c19eafd0
Update comment.
2000-07-11 01:02:44 +00:00
jeffs
dcbf69bf94
Update mips3_locore_vec cache functions for mips3_L1TwoWayCache. Add cast
...
for clean compilation with _MIPS_BSD_API_LP32_64CLEAN set.
2000-07-10 23:21:16 +00:00
jdolecek
f7d523ebb6
make buildable with -Wall -Werror
2000-07-10 22:48:25 +00:00
jdolecek
b3c2dd691c
make compilable with -Wall -Werror
2000-07-10 22:01:16 +00:00
jdolecek
42c88111e1
explicitly specify main() return type (make buildable with
...
-Wall -Werror)
2000-07-10 21:30:31 +00:00
jeffs
010c198b37
In setregs() flush sigreturn trampoline code from the d (MIPS3) and i cache.
...
Tested on geocast RM5231 platform. This fixes a race in
regress/sys/kern/sigtramp. Some other ports do the same thing.
2000-07-10 21:12:13 +00:00
jdolecek
27a5ba9e0a
use <sys/exec_aout.h> instead of <a.out.h> - this is supposed
...
to be standalone after all
2000-07-10 20:36:15 +00:00
jdolecek
7e272173bd
no need to include <a.out.h> here
2000-07-10 20:33:49 +00:00
eeh
f10d7699fc
Break into debugger by typing `+++++',
2000-07-10 20:24:23 +00:00
uch
e8ebb2a377
use mips3 cache op.
...
invalidate -> write-back invalidate
(although NetBSD/hpcmips run on write-through mode.)
suggested by cgd.
2000-07-10 16:23:18 +00:00
ragge
c71d0f69c6
Forgot a debug printf.
2000-07-10 10:45:21 +00:00
ragge
5ae755e1bf
Save registers for eventually later usage.
...
Use REI to clear pipes after code copy.
2000-07-10 10:42:27 +00:00
ragge
baec928850
NODESIZE -> BI_NODESIZE.
2000-07-10 10:40:38 +00:00
ragge
ed83213bf2
Add support for VAX 6000 + VAX 8000. Tweak console routines.
...
Create a fake RPB if either netbooted (on machine without RPB) or
loaded from console storage (without VMB intervention).
2000-07-10 10:38:23 +00:00
ragge
175e6ad859
Add code that allows the boot blocks to be loaded by VMB.EXE, and
...
also have optional MTPR printf available.
2000-07-10 09:55:36 +00:00
ragge
8658157274
Nexus vector number is 0x14-0x17, not 14-17! Fortunately, 3 wrong did
...
one right. Pointed out by Kenn Humborg (kenn@linux.ie ).
2000-07-10 09:14:32 +00:00
eeh
7403ef3d00
Need to include <sys/exec_elf.h> to make things happy. So much for adding
...
dead code.
2000-07-10 01:15:17 +00:00
eeh
048f1387db
Function signature for bus_intr_establish() changed.
2000-07-10 01:11:14 +00:00
eeh
1cfb5e6456
Grab and use the memory model info from the flags in the ELF header.
2000-07-09 22:39:17 +00:00
eeh
ec71379542
Use TSO memory model for 32-bit userland.
2000-07-09 22:02:32 +00:00
eeh
e5cd515b89
Upgrate interrupt handling:
...
1) use interrupt vectors for specific zs chips rather than polling
all of them.
2) use softintr_schedule() and schedule it for a particular device
rather than poll all devices.
2000-07-09 21:58:43 +00:00
eeh
f43ab74a43
Shuffle around some fields to waste less space on LP64.
2000-07-09 21:55:24 +00:00
pk
406e0f779f
Add a `device class' interrupt level argument (from machine/intr.h)
...
to bus_interrupt_establish().
It's currently only used in sparc64/dev/psycho.c to assign a CPU interrupt
level to devices in PCI slots.
2000-07-09 20:57:41 +00:00
pk
2a57393a0f
Re-arrange headers; drop <machine/cpu.h>.
2000-07-09 20:38:34 +00:00
jdolecek
230b3462ea
uncomment part which has been accidentaly commented out in last commit
2000-07-09 14:16:02 +00:00
jdolecek
f61c58e333
fix accidentaly dropped dependance on wrtvid
2000-07-09 14:11:10 +00:00
jdolecek
0b9b0cbc03
backout previous change, this should not have been committed (yet)
2000-07-09 14:07:06 +00:00
jdolecek
26e11b6af2
Make buildable on NetBSD/mvme68k 1.4.1.
2000-07-09 13:47:33 +00:00
mrg
152f5c5f28
remove unused variable.
2000-07-09 13:35:54 +00:00
jdolecek
f6cf4e5f93
move struct sys_config from mca_machdep.c to mca_machdep.h
...
fix copyright (overlooked in original commit)
use bitmask_snprintf() instead of printf("...%b") (though that part is commented
out anyway ATM)
2000-07-09 10:35:11 +00:00
nisimura
1566e57da8
Simplify address decode logic for memory parity error condition.
...
XXX Need to have a better reporting message here.
2000-07-09 09:14:29 +00:00
nisimura
3c55597b94
Add a patchwork prototype declaration for netintr().
2000-07-09 08:08:20 +00:00
nisimura
194f2ce04e
Comment clarification in this file. Have consistent terminology, ATC
...
instead of TLB.
2000-07-09 07:14:18 +00:00
mycroft
9ad7bd8d37
Increase the example DDB_HISTORY_SIZE.
2000-07-09 01:36:06 +00:00
mycroft
33090b8b89
Enable DDB history.
2000-07-09 01:35:52 +00:00
mycroft
4087b4e418
Do the interrupt fixup for all busses, not just bus 0.
...
This is necessary on some machines with multiple onboard PCI busses.
2000-07-09 00:42:47 +00:00
mycroft
0ef0f52d06
Turn on DDB history by default.
2000-07-09 00:41:24 +00:00
eeh
5a7cb20576
gdb requires a `struct fpstate' so provide one.
2000-07-08 19:25:14 +00:00
sommerfeld
eb1939c85f
printf format paranoia
2000-07-08 17:09:02 +00:00
sommerfeld
26b0bc1c2e
printf format safety
2000-07-08 17:08:35 +00:00
jdolecek
6a6ee4aa91
cleanup way vers.c file is created/compiled
2000-07-08 15:40:53 +00:00
jdolecek
50dc07c081
get the version number differently - instead of using RCS version number
...
of version file, take version from last line of that file as the part from
start of the line to ':'
2000-07-08 15:36:05 +00:00
jdolecek
89ccc75157
use _C_LABEL() for bootversion, instead of hardcoding the reference as _bootversion
2000-07-08 14:41:04 +00:00
pk
404e6e3a61
Drop KERNFS
2000-07-08 11:33:24 +00:00
tsubai
fba6fe287b
* Redo previous; set PIR on 604 and 7400 only.
...
* printf clean-up.
2000-07-08 07:23:17 +00:00
mrg
065b56c096
backout part of previous: turn off intrdebug, and another debug message
2000-07-08 05:04:01 +00:00
tsubai
7314c0eba6
Clear the reservation in __cpu_simple_lock_try even if it failed to lock.
...
(From ws@tools.de )
2000-07-08 04:36:56 +00:00
jhawk
d770f87fef
Pullover rev 1.320 - rev 1.358 of GENERIC to IOPENER, and merge conflicts.
...
Add GENERIC rev in "from:" line to aid in future merging.
Major highlights include SOFTDEP, and, err, 4 blank lines.
2000-07-08 03:24:36 +00:00
jhawk
71f3f1c282
Pullup rev 1.233 - rev 1.358 of GENERIC to CARDBUS, and merge conflicts.
...
Add GENERIC rev in "from:" line to aid future merging.
Major highlights include COMPAT_14, COMPAT_AOUT, NTFS, OVERLAY,
SOFTDEP, INET6, IPSEC, pcic iosiz changes, cz, dpt, rtk (cardbus!),
awi, cnw, ray, wi, xi, joy, and gif.
2000-07-08 02:47:02 +00:00
tsutsui
7fb0549d87
Add ep* at isapnp and ep* at isa.
...
3c509 works fine on my CATS.
2000-07-08 01:24:35 +00:00
pk
2c1dc518bd
Changes for readability:
...
- #define LP64 dependent STACKFRAME macro once
- use a LOAD_ASCIZ macro for setting up the format string
for debug messages.
2000-07-07 23:28:28 +00:00
eeh
468c727a28
Temporary fix to prevent the clock from stopping on UIIi machines.
2000-07-07 19:59:36 +00:00
eeh
14b1b05f10
Rename GENERIC to GENERIC32 and GENERIC64 to GENERIC to allow snapshots to
...
build properly.
2000-07-07 19:11:56 +00:00
mrg
2b69bc2115
BUFCACHE=20
2000-07-07 14:22:57 +00:00
tsubai
446c144ae3
Set PIR only if MULTIPROCESSOR is defined.
2000-07-07 13:22:06 +00:00
mrg
b91804af6c
split up debug flags so i can turn off some of them
2000-07-07 13:10:34 +00:00
pk
cacf690261
Try both the BOOTPARAM and DHCP protocol (in that order as is the custom
...
with Sun machines).
2000-07-07 12:59:16 +00:00
mrg
4b21f66d57
work around a bug passing arguments to iommu_dvma_load_raw()
2000-07-07 12:53:29 +00:00
mrg
c0f4ea2a12
check that this *entry* is BUSCLASS_NONE (not the current device) in
...
bus_compatible(). fixes boot device detection on sbus. while i'm here,
sprinkle DPRINTF()s in the boot device detection code.
2000-07-07 12:44:47 +00:00
mrg
9a6c45e283
options BUFCACHE=20, plus a 64 bit config.
2000-07-07 08:44:16 +00:00
eeh
3f2289a3d7
Handle bus_dma aligment properly.
2000-07-07 02:50:19 +00:00
thorpej
2c9058efbb
Oops, g/c some stuff from previous.
2000-07-06 23:29:13 +00:00
tsubai
059d5818cf
include "opt_multiprocessor.h".
2000-07-06 23:27:29 +00:00
tsubai
9ad1103d98
Make it compile with "options MULTIPROCESSOR".
2000-07-06 22:56:22 +00:00
thorpej
65780061bd
Define some more CTB formats.
2000-07-06 22:46:54 +00:00
dmcmahill
db5c144019
make sure ofwboot.xcf gets installed
2000-07-06 19:42:55 +00:00
ragge
089ed65ef7
Add NMI and XMI outcommented, the same with VAX 6400 and VAX 8000.
2000-07-06 18:04:56 +00:00
ragge
0e29b678ce
Add xmi_mainbus.c file.
2000-07-06 17:43:38 +00:00
ragge
63852b4193
Some defines for the 6000/400 CPU.
2000-07-06 17:42:49 +00:00
ragge
443db45277
Framework for the mainbus-XMI block. Not completely finished.
2000-07-06 17:41:37 +00:00
ragge
b98189c9f5
CPU support for the 6000/400 CPU. No support for spinning up the
...
slave processor yet, though.
2000-07-06 17:40:00 +00:00
ragge
d5e70ee279
Add code to support loading of kernel directly via MOP.
...
This is only intended for development purposes, not production use.
2000-07-06 17:37:40 +00:00
ragge
6bf625c8c0
Recognise VAX 6000/400.
2000-07-06 17:36:22 +00:00
ragge
5c50116697
Console Communication Area (CCA) layout description.
...
Used on for example VAX 6000 machines.
2000-07-06 17:34:29 +00:00
eeh
6a1f10a7d5
Added two new options to the bootblock: -V turns on verbose mode and -D
...
makes it load but not execute. If fcode-debug? is enabled in the firmware
an arbitrary file can then be loaded with:
ok " <path>" do-boot
2000-07-06 17:15:07 +00:00
eeh
63d57aa16a
Fixup counter-timer interrupt lossage.
2000-07-06 14:13:05 +00:00
msaitoh
7f0eba7ad8
make spllower() return void.
2000-07-06 04:31:04 +00:00
tsubai
212a0a08d2
Implement powerpc spin lock functions.
2000-07-06 03:52:25 +00:00
jhawk
c4f2dfb0b9
Enable "old partition ID" compatibility by default, just as in biosboot.
2000-07-06 03:39:53 +00:00
bouyer
4c19b21f72
3c503 works on alpha, add:
...
ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet
2000-07-05 18:40:47 +00:00
minoura
417c4e6dc1
include GENERIC, instead of defining all the options and devices.
2000-07-05 16:19:48 +00:00
minoura
f67a6a75d2
More reduce size.
2000-07-05 16:18:02 +00:00
tsubai
73db3f2b79
First attempt to spin up the secondary processor on 180MP and 200MP.
...
XXX Need more work.
2000-07-05 16:02:38 +00:00
pk
f6d8b8e963
We want to index the PCI `interrupt clear' registers with the Interrupt
...
Number Offset. (this stuff needs a serious cleanup).
2000-07-05 12:11:59 +00:00
scottr
c019fa32ca
Revert a bit of the last change to make this compile again.
2000-07-05 07:33:52 +00:00
sommerfeld
bd29eb7984
regenerate
2000-07-05 04:10:15 +00:00
sommerfeld
502fc00210
Comment out EON ISO-over-ip tunneling pseudo-driver, and document as
...
broken/fragile. Unlikely to be of much use, and confuses new users
when their system crashes when they, or their dhclient stumble over
it. See kern/10500, kern/8994 for the gory details.
2000-07-05 04:07:22 +00:00
nisimura
7b6a572aae
zs_ioasic external declarations are stored in zs_ioasicvar.h.
2000-07-05 03:06:53 +00:00
nisimura
534c33a095
Use dev/tc/ directory for DEC3000 Z85C30s.
2000-07-05 02:50:39 +00:00
nisimura
728e424e54
Repopulate 4 files, zs_ioasic.c and zs_ioasicvar.h from arch/alpha/tc,
...
zskbd.c and zsms.c from dev/dec/, respectively. No functionality
change this time.
2000-07-05 02:48:50 +00:00
tsubai
b513be4daa
s/#include/include/
2000-07-04 22:25:06 +00:00
pk
0cc7c0e470
Report spurious VME interrupts only #ifdef DEBUG for now. The i82586
...
based `ie1' board seems to cause this for no apparent reason.
2000-07-04 22:22:56 +00:00
is
87803a8f14
amigappc: siop -> asiop
2000-07-04 14:18:06 +00:00
pk
3214045e75
GC dead code.
2000-07-04 14:05:34 +00:00
pk
3cffbb811c
Pass correct argument to the console channel close routine.
2000-07-04 13:57:40 +00:00
matthias
fe19ad9450
struct db_variable has changed. Change db_spec_regs prototype and make
...
this compile again.
2000-07-04 06:23:49 +00:00
wrstuden
168faa04b6
Oops.. Forgot to grow chrtoblktb[]. Pointed out by tsubai.
2000-07-04 05:48:36 +00:00
nisimura
4dcd114ad5
Unnecessary to include <dev/tc/tcreg.h>.
2000-07-04 02:37:51 +00:00
nisimura
1de4ec68b4
Repopulate TCDS dual channel SCSI adapter to MI dev/tc, squashing
...
internals for better layering between TCDS DMA ASIC and ASC SCSI
controller.
2000-07-04 02:22:08 +00:00
pk
93f987a210
The `si' driver has been transformed into an MI VME frontend.
2000-07-03 23:30:33 +00:00
matt
8fbc28d991
Revert WEAK_ALIAS back to ELF only.
...
Change ALTENTRY so there is no change of alignment or section
2000-07-03 23:05:32 +00:00
thorpej
7878bcc14c
Don't bother with minor printing, except on the LCA CPUs (because
...
that tells us if we have a 21066 or 21068).
2000-07-03 21:21:26 +00:00
pk
047b6f9582
* Remove MAX_DMA_LEN & si_minphys().
...
* Disable the DMA engine when setting up a DMA transfer, just in case
the 5380 driver didn't instruct us to do so already.
* More useful debug output when entering the "left-over bytes" case after
a DMA transfer finishes.
2000-07-03 20:55:12 +00:00
eeh
968524445a
Prevent interrupts from being posted if they are active and deprecate polled
...
interrupts. This seems to eliminate the spurious interrupts.
2000-07-03 17:56:06 +00:00
thorpej
10e6c623b3
Print the system serial number.
2000-07-03 17:52:33 +00:00
eeh
58c36586cd
Use the same IPLs as everyone else.
2000-07-03 17:42:37 +00:00
mrg
16fd30ec1d
- add a bus class check to the conversion of prom names to NetBSD driver
...
names, as we need to convert `pci' to both `psycho' and `simba'. add
a member to dev_compat_table[] for this, using BUSCLASS_NONE for when
we don't care (all other cases, currently). add `ide' -> `pciide' and
`disk' -> `wd' mappings here, also.
- "psycho" is a BUSCLASS_MAINBUS device; it has UPA attachment semantics.
this fixes bootpath detection for IDE disks.
2000-07-03 14:38:05 +00:00
soren
df788ce137
A few tweaks. Still not a real driver.
2000-07-03 12:50:09 +00:00
scottr
d08e3b12a4
Stabilize ADB support for some non-Apple ADB peripherals. This is the
...
second (and final) part of the fix for PR 10086. (There are no longer
any infinite-wait busy loops in the ADB driver!)
2000-07-03 08:59:26 +00:00
matt
4f1fa84a93
Rework ALTENTRY a bit.
2000-07-03 04:24:56 +00:00
matt
959b8d8a1e
Make cross-compile friendly
2000-07-03 04:24:12 +00:00
sommerfeld
88067a43e3
Build a boot_big.net (based at 700000) in addition to boot.net,
...
allowing you to netboot a kernel with a ramdisk inside on systems
where memory is laid out to allow this.
2000-07-03 02:04:02 +00:00
thorpej
01bd2a3496
The `rpb_phys_address_size' field is really 2 32-bit fields,
...
`rpb_phys_address_size' and `rpb_extended_va_size', per Brown Book.
2000-07-03 01:47:48 +00:00
augustss
01d5ad3ab6
White-space improvements.
2000-07-03 01:17:35 +00:00
pk
2310f6d755
Add `ahc' (Adaptec 2940, et.al. SCSI controller); it is known to work.
2000-07-02 21:11:26 +00:00
scottr
da62d2ef12
Avoid attaching on the Mac TV, as this system seems to not be
...
completely backward compatible to the II-series sound hardware.
2000-07-02 21:10:14 +00:00
sommerfeld
56cc62bbec
Return the full width of the counter here.
2000-07-02 21:05:14 +00:00
scottr
95497e28ce
Add video hardware info for the Performa 550 and Macintosh TV.
2000-07-02 20:59:58 +00:00
eeh
f504adf782
Clean up interrupt handling some more.
2000-07-02 16:13:21 +00:00
mrg
f3e6e48cb8
update to reality:
...
- TRAPWIN is defined in locore.s
- don't config netbsd_wd0
- enable MSDOSFS and FFS_IE
- enable INET6 & IPSEC*
- enable ipfilter
- comment sbus & zs at sbus
- enable scsi devices seeing we have scsi bus support
- hardwire the onboard hme as 'hme0'
- disable audiocs for now
- disable rnd for now
2000-07-02 15:02:29 +00:00
mrg
585f7645bf
iommu_dvmamap_load*(), pass an alignment constraint, as well as
...
EX_BOUNDZERO, to extent_alloc(). this fixes problems with it
(extent_alloc()) returning incorrect values, when the start of
the extent is not aligned as strongly as the requested area..
raw access to ide disks now works.
2000-07-02 14:00:38 +00:00
mrg
15c79c03c2
use bitmask_snprintf().
2000-07-02 13:35:35 +00:00
mrg
9ec4bcf95b
whoops; turn off trapdebug again.
2000-07-02 12:39:01 +00:00
takemura
45b6ec5476
Experimental APM compatible power management.
2000-07-02 10:01:30 +00:00
cgd
0b9c36b715
undef PS after inclusion of net/netisr.h to avoid conflict w/ machine/reg.h
2000-07-02 05:43:43 +00:00
cgd
a5c13f9ad4
Kwality control:
...
* put #includes of opt headers and headers to get protos used by
net/netisr_dispatch.h in net/netisr.h (if !defined(_LOCORE)) (rather than
in netisr_dispatch.h itself, and potentially nowhere, respectively).
* require netisr.h to be included before netisr_dispatch.h.
* minor additional cleanup of both netisr.h and netisr_dispatch.h.
* clean up uses to remove now-unnecessary header file inclusions, and
local prototypes of the fns.
* convert netisr dispatch implementations which didn't use
netisr_dispatch.h (pc532) to use it.
2000-07-02 04:40:33 +00:00
bjh21
87ca5edd6f
Include all the files necessary to prototype all the network soft interrupts.
2000-07-01 21:52:05 +00:00
wrstuden
cbb53d3ebd
Add audio, midi, and sequencer devices. Copied from ports alpha and i386.
...
Note: this does not mean internal audio's working. :-( It means I'm trying
to get my eap card to work.
2000-07-01 21:25:11 +00:00
bjh21
27eeb4183b
Uncomment lots of stuff. This _is_ a GENERIC kernel, after all.
2000-07-01 17:38:07 +00:00
bjh21
86e199a889
Actually check which netisrs are needed rather than running them all.
...
(oops)
2000-07-01 17:33:55 +00:00
matt
c9e87920af
GCC 2.96 wants the = constraint first. Older gcc(s) don't care.
2000-07-01 06:43:42 +00:00
matt
5ccb0f3e95
Add ELF support.
2000-07-01 06:42:54 +00:00
matt
c9e3b4a94f
a.out allow weak symbols too.
2000-07-01 06:42:06 +00:00
matt
e9b3d6fc85
GCC 2.96 wants the = constraint first. Also change to be a bit more
...
efficient. Instead of using indirect register access, change the
constraint to memory and use the value directly. This allow PC-rel
access among other things.
2000-07-01 06:41:06 +00:00
matt
54a2dbe16a
More GCC 2.96 changes.
2000-07-01 06:38:53 +00:00
mrg
e6b451c8a6
fix wrong comment.
2000-07-01 03:35:07 +00:00
mrg
556a964467
<vm/vm.h> -> <uvm/uvm_extern.h> changes i forgot to commit
2000-07-01 03:34:05 +00:00
eeh
707e41f21e
Fix interrupt delivery on UltraSPARC IIi machines.
2000-06-30 22:58:01 +00:00
eeh
3250ce2976
Reserve a page for dumping the kernel.
2000-06-30 22:17:53 +00:00
simonb
edf0a0d67e
Pass the abst to alpha_pci_mem_unmap() so that the real size of the
...
mapped area can be unmapped.
2000-06-30 18:19:28 +00:00
itojun
d738f90fd7
raise MSIZE from 128 to 256.
...
- for sizeof(void *) == 8 arch, this is mandatory. MHLEN is too small
already (less than 80) and there are chances for unwanted packet loss due
to m_pullup restriction.
- for other cases, the change should avoid allocating clusters in most cases
(even when you have IPv4 IPsec tunnel, or IPv6 with moderate amount of
extension header)
portmasters: if your arch chokes with the change (high memory usage or
whatever), please backout the change for your arch.
2000-06-30 17:55:11 +00:00
itojun
d76ae83df8
add PULLDOWN_TEST for all the platforms.
...
XXX should be moved to somewhere else when stabilized
2000-06-30 17:10:15 +00:00
matt
8231e1afca
fix typo
2000-06-30 03:35:32 +00:00
mjacob
0d7f238097
no more vm includes
2000-06-30 00:00:26 +00:00
eeh
ff9280f4ee
This seems to fix the problem in __semctl13.c without breaking anyghing else.
2000-06-29 20:15:24 +00:00
soren
51909a9fd4
Changed my mind about these..
2000-06-29 15:48:13 +00:00
soren
41ba2b7c48
Move a few things from ip32.c.
2000-06-29 15:44:10 +00:00
soren
eaa7fc4ca8
Add spllpt. More interrupt changes needed..
2000-06-29 15:36:48 +00:00
soren
9a05dad1da
zs can be used on several busses, so define it here.
2000-06-29 15:20:27 +00:00
soren
9beea749f1
Hack: disable R5K L2 cache for now, pending (working) changed cache ops.
2000-06-29 15:18:41 +00:00
soren
008a325614
Just a stub. Needs different register accesses than other 8-bit MACE
...
deviecs..
2000-06-29 15:16:17 +00:00
soren
221de2dffb
Minimal locore_machdep.S.
2000-06-29 15:10:44 +00:00
soren
079ce66c6d
Uncomment HPC inclusion for now.
2000-06-29 15:10:14 +00:00
pk
8906c1b836
Fix bus_space_read_region_{2,4,8}().
2000-06-29 14:10:16 +00:00
pk
b7e36aabb5
When winding down a DMA transfer, don't complain about the actual
...
transfer count being smaller than the minimum transfer size for which
we would use DMA. The device may be disconnecting, to complete the
transaction at a later time. Just let the 5380 engine proceed acting
on the current SCSI bus phase.
2000-06-29 14:06:40 +00:00
shin
853a455109
enable SOFTDEP.
2000-06-29 11:42:30 +00:00
mrg
80bb8049ba
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 09:02:51 +00:00
mrg
c88e94a407
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 08:58:45 +00:00
mrg
b564830503
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 08:44:03 +00:00
mrg
47ef8ee92b
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 08:32:34 +00:00
mrg
ca5133d3fb
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 08:22:17 +00:00
mrg
7bf55b1ed1
remove include of <vm/vm.h>.
2000-06-29 08:19:21 +00:00
mrg
28d898391b
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 08:10:45 +00:00
mrg
471e57ff1e
remove include of <vm/vm.h>.
2000-06-29 08:07:48 +00:00
mrg
4fa952b49a
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 07:58:50 +00:00
mrg
fa00dc597a
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 07:44:02 +00:00
mrg
8daa58f52b
remove include of <vm/vm.h> and <machine/pmap.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 07:40:05 +00:00
leo
4f253c9e18
When mapping non-cacheable memory with bus_space_map, make sure we use the
...
precise (serialized) way.
2000-06-29 07:40:04 +00:00
mrg
4d14e81c0b
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 07:37:53 +00:00
leo
ffa869113a
Get 060 CacheCopyBack support in line with the amiga (and working ;-)
2000-06-29 07:36:16 +00:00
mrg
9c11d316b4
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 07:18:57 +00:00
mrg
7e590c46fe
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 07:07:52 +00:00
cgd
7e975cacbe
un-__P, clean up spacing a little bit, put fwd struct decl(s) near top
...
rather than embedded. no functional changes.
2000-06-29 06:00:43 +00:00