Commit Graph

52926 Commits

Author SHA1 Message Date
mrg
f4a9b0b1e6 re-add most of the pryo-supporting code, and some general clean up:
- handle setting tsb size in the ptsb via IOMMU_TSBSIZE_IN_PTSB (partly from
  openbsd)
- fix IDB_INFO for systems without a STC that fault on accesses to the
  flush register (like pyro)
- move iommu_reset() to the end of iommu_init()
- use IOMMUREG_WRITE() in a few places
- add a missing membar_lookaside() (from openbsd)
- if pmap_extract() on the flush buffer fails, disable flushing (from openbsd)
- flush the pyro-style iommu when IOMMU_FLUSH_CACHE is set (partly from openbsd)
- clear up a bit of debugging code so it spew a little less (sometimes you will
  get kernel lock spinouts due to long scrolling printfs)
- use __func__ in several places
2011-03-20 21:26:36 +00:00
mrg
371219c783 add pci@pryo@mainbus and ebus@mainbus support. 2011-03-20 20:55:46 +00:00
mrg
9117b6a117 remove pyro_xir(). we don't have the MD support for it (yet?).
clean up some debug code.  clean up the DPRINTF() code, and expand
the interrupt mapping debug code to match schizo and psycho.
set IOMMU_TSBSIZE_IN_PTSB, and if oberon, IOMMU_FLUSH_CACHE.
disable the STC explicitly.
2011-03-20 20:48:36 +00:00
mrg
817ca0ac3d add a new is_flags member to strut iommu_state. add two flags:
IOMMU_FLUSH_CACHE     - extra flushes needed for some pyro
IOMMU_TSBSIZE_IN_PTSB - different ptsb assignment for pyro

partly from openbsd.
2011-03-20 20:47:10 +00:00
mrg
a38cbfb289 enable the tomatillo iocache.
garbage collect struct iommureg_schizo and use struct iommureg2.
2011-03-20 20:43:34 +00:00
mrg
bebacd2c9f define 'struct iommureg2', that includes the full set of regs for the
schizo and pyro iommu's.  use these in IOMMUREG().

add back IOMMUREG_READ() and IOMMUREG_WRITE() macros.
2011-03-20 20:42:06 +00:00
mrg
f24c5fa4a4 remove unnecessary iommuvar.h and psycho{reg,var}.h includes. 2011-03-20 20:40:22 +00:00
tsutsui
69d595d91e Shrink more options, file-systems and device. 2011-03-20 17:32:19 +00:00
phx
e821698c19 More networking options. 2011-03-20 17:10:46 +00:00
phx
ddf0053263 The DSM-G600 U-Boot is so restricted that there is no possibility to pass
any bootargs. So we will just do the default multiuser boot from wd0: when
altboot was started together with a Linux initrd image.
2011-03-20 02:07:05 +00:00
phx
fcc4672d90 DLink DSM-G600 IDSEL-14 (USB) needs special handling: Pin A is mapped to
EPIC-IRQ 1, but Pin C must be mapped to IRQ 2.
2011-03-19 19:54:02 +00:00
phx
f96a3d06f6 Add ral(4) and stge(4) for DLink DSM-G600.
Disabled DIAGNOSTIC.
2011-03-19 16:05:35 +00:00
skrll
0f27bfbde0 Whitespace. 2011-03-19 06:48:09 +00:00
ahoka
f9a44d1787 Dont try to read MSR_TEMPERATURE_TARGET on Core Duo Yonah 2011-03-19 06:15:12 +00:00
jruoho
036d412966 Comment out IA32_TEMPERATURE_TARGET temporarily. 2011-03-18 20:56:46 +00:00
cliff
a89d7a0136 fix typo 2011-03-18 20:23:26 +00:00
cliff
df950be7f2 style improvements, input from matt@ 2011-03-18 19:58:21 +00:00
dyoung
95804f750f Simplify tags target to reduce diffs with amd64/Makefile tags target. 2011-03-18 19:48:12 +00:00
dyoung
85f22fe9ae Fix tags target. 2011-03-18 19:46:19 +00:00
jakllsch
9e4c8abd95 Honor bp_timeout even if someone sets X86_BP_FLAGS_NOBOOTCONF. 2011-03-18 18:24:09 +00:00
jakllsch
f7cb5f6ff7 Honor bp_timeout even when X86_BP_FLAGS_NOBOOTCONF is set.
Or, in other words, bring back the 5 second countdown in pxeboot(8).
2011-03-18 18:21:38 +00:00
jakllsch
0f57ab9175 Automatically adjust pxeboot(8) stack based on the end of .bss, like is already
done in biosboot.S for boot(8).
(The heap location will need to be adjusted if pxeboot expands much more.)
2011-03-18 17:46:26 +00:00
jakllsch
dbf4ec1adb Bump symtab space. 2011-03-18 17:19:06 +00:00
tsutsui
81a6c364a8 - include <mips/mips_param.h> after MACHINE is defined
- remove MACHINE_ARCH and MID_MACHINE that are defined in <mips/mips_param.h>
- remove redundant comment
2011-03-18 16:39:58 +00:00
tsutsui
ad0452ba4c - include <mips/mips_param.h> after MACHINE is defined
- remove redundant comment
2011-03-18 16:35:03 +00:00
tsutsui
24157545c8 Include <mips/mips_param.h> after MACHINE is defined. 2011-03-18 16:33:41 +00:00
tsutsui
d9e5144132 - include <mips/mips_param.h> after MACHINE is defined
- remove redundant comment
2011-03-18 16:28:51 +00:00
tsutsui
2e4462e038 Include <mips/mips_param.h> after MACHINE is defined. 2011-03-18 16:23:09 +00:00
tsutsui
98e6fe4141 - include <mips/mips_param.h> after MACHINE is defined
- remove redundant comment
2011-03-18 16:21:30 +00:00
tsutsui
0965b62500 Include <mips/mips_param.h> after MACHINE is defined. 2011-03-18 16:19:13 +00:00
tsutsui
0eb7af1e56 - no need to define MACHINE_ARCH in MD header
- include <mips/mips_param.h> after MACHINE is defined
2011-03-18 16:17:22 +00:00
joerg
93bcfd6d63 Use explicit size with fld. 2011-03-18 15:32:02 +00:00
tsutsui
8411622879 Use vaddr_t for pc instead of uint32_t. 2011-03-18 15:31:38 +00:00
tsutsui
452f95afe0 Make this compile with options DEBUG and MIPS1 only config. 2011-03-18 15:19:43 +00:00
joerg
8eab2cff56 Remove static branch prediction hints. They pessimize code for all CPUs
but Pentium IV. Discussed with ad@ and dsl@
2011-03-18 15:18:16 +00:00
mrg
4d4222abed re-add local ebusvar.h, and use it to share between ebus.c and ebus_mainbus.c 2011-03-18 09:52:54 +00:00
cliff
43977beaad RMIXL_FLASH_BAR_MASK_MAX is __BITS(34,0)
so avoid using extent if that value overflows 'long'
2011-03-18 07:12:29 +00:00
cliff
a683058e4d - add config for gpio, iobus, nand, flash
- config for pcic, pcmcia stubbed for now (drivers TBD)
- ensure space-tab is used to maintain format when commented
2011-03-18 02:14:55 +00:00
cliff
9628d95fdc - add config for gpio
- add config for iobus, nand, flash
2011-03-18 02:13:46 +00:00
cliff
8a8c6da9df cosmetics 2011-03-18 02:01:45 +00:00
cliff
7cb2c00520 - fix typo when clearing pre-existing intrs in attach 2011-03-18 01:21:34 +00:00
cliff
a8135f3979 - add support for Peripherals IO Bus for RMI XL* chips 2011-03-18 01:05:57 +00:00
cliff
420e258418 - add NAND suport for RMI XL* chips 2011-03-18 01:04:46 +00:00
cliff
ea3f01c4f4 - add support for Peripherals IO Bus for RMI XL* chips 2011-03-18 01:04:09 +00:00
cliff
da7d3d24b2 add gpio support for RMI XL* chips 2011-03-18 01:03:10 +00:00
cliff
4b13361d31 - remove obsolete "TBD" comment 2011-03-18 00:59:13 +00:00
cliff
aa20fcdd11 - add to struct rmixl_config storage for IO Peripherals Bus
base address, address mask, and bus space.
2011-03-18 00:58:54 +00:00
cliff
0224687993 - add register & bit defines for GPIO, Peripherals IO Bus, Flash, NAND 2011-03-18 00:58:35 +00:00
skrll
5dea138bb6 HPPA TLS support. 2011-03-17 22:14:43 +00:00
tsutsui
31a177fdc6 umass doesn't take channel. 2011-03-17 13:26:51 +00:00