Commit Graph

199229 Commits

Author SHA1 Message Date
matt f4643b0019 Use l->l_md.md_utf in preference to trapframe(l). This shrink the kernel
just a bit in size.
2011-03-16 21:15:29 +00:00
matt 6c2b5ffdfb Enable COMPAT_50 2011-03-16 21:12:15 +00:00
matt 8dca7c28a5 First pass at a P2020RDB configuration. 2011-03-16 21:11:12 +00:00
matt 34fa69f34c Add alc device. 2011-03-16 21:10:35 +00:00
christos 155180a9df - safer way to count kids
- if we are really bombarded with connections, don't bother to fork() and
  converse.
2011-03-16 20:17:00 +00:00
christos 976d43ec5c provide unconst for the havenots 2011-03-16 20:15:59 +00:00
tsutsui 72f5d65e7e Set R_CAUSE into trapframe in curlwp before calling mips_fpu_trap()
for workaround PR port-mips/44639.

mipsX_user_gen_exception() in mipsX_subr.S (which may call
mips_fpu_trap()) doesn't set R_CAUSE in curlwp trapframe, while
mips1_use_intr() in locore_mips1.S (that may call mips_fpu_intr()) does.

All tests in tests/lib/libc/ieeefp on MIPS3 should pass now.
2011-03-16 15:14:08 +00:00
tsutsui a75c782742 Fix possible load delay hazard on R3000.
(probably no one has set breakpoint on R3000?)
2011-03-16 14:54:31 +00:00
tsutsui 394df815c4 Split device_t/softc. Tested on GXemul. 2011-03-16 14:47:34 +00:00
tsutsui ed9bbcc9a4 Fix device_t/softc confusion.
(currently harmless since they are not split yet)
2011-03-16 14:43:36 +00:00
tsutsui 96976f4680 Some KNF. 2011-03-16 14:39:26 +00:00
tsutsui ed22fb0c9f KNF and cosmetics. 2011-03-16 14:28:39 +00:00
tsutsui b9aa437bde Fix signedness issue triggered by 64 bit time_t. 2011-03-16 14:23:19 +00:00
tsutsui dbcedb7981 Set sr_bits[IPL_HIGH] properly, rather than setting sr_bits[IPL_VM] twice.
I wonder if gcc could warn such botch in C99 array or member initializers...
2011-03-16 13:38:34 +00:00
tsutsui a59ce07236 vr_intr_handler[] takes status for hardclock(9), not ipending. 2011-03-16 13:26:55 +00:00
tsutsui f807d1d233 Avoid possible future device_t/softc confusion. 2011-03-16 13:24:42 +00:00
tsutsui 7c1de38adb Blindly prepare an equivalent function with old _spllower(~MIPS_INT_MASK_0)
that disabled all interrupts except PIU.  Compile test only.
2011-03-16 13:23:41 +00:00
tsutsui fbade1d5d2 Put awful kludge to make MI kloader.c link on hpcmips.
XXX: sys/dev/kloader.c should not refer avail_start and avail_end
2011-03-16 13:08:22 +00:00
joerg 01eef02a1b If TLS support is present, use it for pthread__self(). The
initialisation order is correct in this case as _lwp_setprivate has been
called already by ld.elf_so for dynamic programs or _libc_init for
statically linked ones.
2011-03-16 12:39:44 +00:00
njoly 603f3daee7 Convert hashtab to Elf_Symindx type, and use it directly to get symbol
count. Remove now unused GETVECWORDn macro.

This is needed to make it work on alpha which use non-standard 64bit
values for the symbol hash table section, unlike all other archs.
2011-03-16 11:44:01 +00:00
jakllsch 43a7c6ff37 sys/arch/x86/x86/iclockmod.c has been removed. 2011-03-16 11:35:36 +00:00
mbalmer 7d564f115e Crosslink wcstombs(3) and mbstowcs(3). 2011-03-16 09:32:12 +00:00
dholland dbaa2b6038 Fix build with no pchb. From Aran Clauson in PR 44720. 2011-03-16 06:02:36 +00:00
mrg b5a61ad822 revert the iommu changes for now. my U60 doesn't like them. 2011-03-16 05:49:43 +00:00
matt 91d8d9869d Fix various nits related to P2020 support. 2011-03-16 05:31:03 +00:00
macallan 2a482c99b5 change the CPU speed sysctl to look more like the ACPI ones, as in
machdep.<name>.frequency.available etc. so estd can work with minimal changes
2011-03-16 05:08:29 +00:00
mrg b2a581d676 minor clean up. 2011-03-16 04:00:42 +00:00
mrg 9928219de3 don't try to turn on parity or set the latency timer, or dump pci config
space for the pci bridge in sparc64_pci_enumerate_bus().  it doesn't work
on PCIe adapters.  #if 0'ed for now, should move this into psycho/schizo.
2011-03-16 03:54:51 +00:00
mrg 965d243c6a use struct iommureg_old. 2011-03-16 03:51:29 +00:00
mrg 75f6101916 add back the old iommureg definition, as iommureg_old. 2011-03-16 03:49:53 +00:00
mrg 1500ba0717 various changes to adapt for Fire controller support, based upon the
openbsd code to do the same:

- add the tsb size into the ptsb bits
- avoid setting tsbsize in the CR
- disable IDB_INFO for now; it crashes
- add new macros for reading/writing IOMMU registers (need to use
  these more regularly across the whole file)
- add a missing membar #lookaside
- add support for flushing the pyro(4) caches
- extend struct iommureg to include everything pyro
2011-03-16 02:41:19 +00:00
mrg 6534742ba8 add some control registers found on the Fire and Jupiter busses.
from openbsd.
2011-03-16 02:35:48 +00:00
mrg 86de1d619b add struct ebus_mainbus_ranges. from openbsd. 2011-03-16 02:34:10 +00:00
riz 3b1468abed Add the SMC SMCWUSB-N2 to the list of adapters known to work. 2011-03-16 01:47:19 +00:00
erh dba1735a6e Remove one last reference to commaize_number.3 2011-03-16 01:30:24 +00:00
christos ab077958c3 goodbye short-live commaize_number(3), if you liked it:
#define commaize_number(s, l, n) snprintf(s, l, "%'llu", (unsigned long long)n)
2011-03-16 00:50:28 +00:00
christos a66aa579a5 remove commaize_number. 2011-03-16 00:48:34 +00:00
riz 753af18e2c Add otus(4), Atheros AR9100U usb wireless driver. 2011-03-15 23:27:47 +00:00
christos ca5bce8901 support grouping format. 2011-03-15 23:11:49 +00:00
christos cde105a416 - use printf(3) "'" format to do thousands grouping instead of custom version.
- fix sign format inconsistencies.
2011-03-15 22:53:41 +00:00
plunky 053a270202 don't need to supply __myservername__ and __myxconfigfile__ as they
are generated internally from __xservername__ and __xconfigfile__
2011-03-15 19:54:14 +00:00
martin 64484e6359 German uses dot as thousands separator 2011-03-15 15:30:52 +00:00
joerg a2e29ce418 Add SH3 and x86 for the TLS support 2011-03-15 14:37:21 +00:00
vanhu 5279815e7c directly call isakmp_ph1delete() instead of scheduling isakmp_ph1delete_stub(), as it is useless an can lead to memory access after free 2011-03-15 13:20:14 +00:00
pooka bfbab30192 put in a proto for commaize_number()
(nb. doing this purely as the minimum work solution to get a working build)
2011-03-15 12:21:08 +00:00
mrg a1b3c3f005 initial port of these drivers to netbsd. both pyro(4) and ebus(4) at
mainbus depend upon other as-yet uncommited changes.
2011-03-15 11:42:03 +00:00
mrg 79023f55de also attach for su16552 compatible devices. 2011-03-15 11:22:18 +00:00
mrg 5b208c27ee import the openbsd pyro and ebus_mainbus drivers for base reference. 2011-03-15 11:21:04 +00:00
pooka 754d118ee3 don't spam connection errors to stderr by default 2011-03-15 09:35:05 +00:00
wiz 77dc3c9d0c Add -M to usage. 2011-03-15 08:36:16 +00:00