199221 Commits

Author SHA1 Message Date
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
wiz
0f3a9d3c9c Remove trailing whitespace. Add -M to usage. 2011-03-15 08:36:01 +00:00
wiz
f675b9e58c Shorten Nd by putting the comment there in a paragraph in the body.
Use more markup. Sort SEE ALSO. Fix typo. Capitalize NetBSD like
we all love it.
2011-03-15 08:33:35 +00:00
matt
2fac215fd3 Note recent MIPS changes 2011-03-15 07:42:36 +00:00
matt
7e7a53defe Add support for the MIPS TLS reloc types in shared libraries. 2011-03-15 07:40:52 +00:00
matt
c5d79d45e3 Properly support the MIPS TLS ABI. 2011-03-15 07:40:18 +00:00
matt
400ff9c4eb Add separate support for MIPS32R2 and MIPS64R2.
Use EHB/SSNOP and jr.hb ra as appropriate (COP0_SYNC now uses them).
Add support for COP_0_HWRENA and COP_0_USERLOCAL (use by rdhwr $3,$29
instruction for TLS support).
Add mips3+ reserved instruction handler to emulate rdhwr is many fewer
instructions.
2011-03-15 07:39:22 +00:00
matt
7bf03f836e Remove redundant lines. 2011-03-15 07:33:54 +00:00
matt
0f39e35780 Add MIPS TLS support. 2011-03-15 07:33:36 +00:00