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
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
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
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
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
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
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
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
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
pk
c32ffb8447
Make physmem' an
unsigned int', so it can properly represent large memory
...
configurations.
2000-07-14 00:02:35 +00:00
pk
9da8631e2b
printf() format for 64-bit integers tf_pc' and
tf_npc'.
2000-07-13 16:44:03 +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
mrg
d5a1bec37e
bump some system values.
2000-07-13 05:40:51 +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
eeh
1f45545899
Add UltraSPARC III specific flag bit. Currently ignored.
2000-07-11 21:55:11 +00:00
eeh
f10d7699fc
Break into debugger by typing `+++++',
2000-07-10 20:24:23 +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
mrg
152f5c5f28
remove unused variable.
2000-07-09 13:35:54 +00:00
eeh
5a7cb20576
gdb requires a `struct fpstate' so provide one.
2000-07-08 19:25:14 +00:00