Commit Graph

201829 Commits

Author SHA1 Message Date
matt 4cbd6ad850 Make sure to enable the USB interface. 2011-06-12 05:29:13 +00:00
tsutsui 167cae5b52 - misc KNF
- use device_t and cfdata_t
2011-06-12 05:27:56 +00:00
tsutsui b70778fcd1 More nits. 2011-06-12 05:22:30 +00:00
tsutsui 15746e1082 Split device_t/softc. 2011-06-12 05:20:54 +00:00
tsutsui 27da4103be Misc KNF. 2011-06-12 05:06:23 +00:00
tsutsui 2bf24bf180 Split device_t/softc. 2011-06-12 04:44:27 +00:00
mrg b156c02e66 v_interlock is now a pointer to kmutex_t, use it as one.
fixes many of the 5.99.53 build issues in zfs, but not all of them.
2011-06-12 04:43:11 +00:00
tsutsui 1b1ddf5890 More KNF. 2011-06-12 04:40:44 +00:00
tsutsui f695acabd5 - don't truncate tv_sec to uint32_t in eclock_settime()
(I guess this has no longer been critical since timecounter(9) support)
- add prefix to reload member in softc
2011-06-12 04:33:29 +00:00
tsutsui 7f3036405f Remove __HAVE_GENERIC_TODR, which has been mandatory since 2008. 2011-06-12 04:22:18 +00:00
mrg ad34f7b431 move module_machine_booke into the booke machdep. 2011-06-12 04:20:18 +00:00
tsutsui f42bae3435 - misc KNF
- use device_t and cfdata_t
2011-06-12 04:17:30 +00:00
tsutsui 80d402d4ff Remove unused ebus_softc and use CFATTACH_DECL_NEW(). 2011-06-12 04:00:33 +00:00
tsutsui d24f30f51b - KNF, remove arg names in prototype decls
- use device_t and cfdata_t
- use uint32_t rather than u_int32_t (XXX should be paddr_t here?)
2011-06-12 03:57:09 +00:00
tsutsui bd817f5f3d - ANSIfy, KNF, remove __P()
- use device_t and cfdata_t
2011-06-12 03:52:13 +00:00
rmind 646656f78d Note rmind-uvmplock branch merge. 2011-06-12 03:50:42 +00:00
mrg 7eedb1d0c4 for booke and ibm4xx evbppc systems, set module_machine to to either
"powerpc-ibm4xx" or "powerpc-booke".
2011-06-12 03:42:41 +00:00
rmind e225b7bd09 Welcome to 5.99.53! Merge rmind-uvmplock branch:
- Reorganize locking in UVM and provide extra serialisation for pmap(9).
  New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
  the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
  Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
  kernel-lock on some ports).  Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.
2011-06-12 03:35:36 +00:00
tsutsui c69eb063d7 Fix printf formats in DEBUG case. 2011-06-12 03:29:33 +00:00
rmind 089890a0b3 Fix the build of ALL kernel (hi matt@). 2011-06-12 03:26:20 +00:00
tsutsui 90bc6e5821 No need to initialize interrupt evcnt(9) so earlier, so remove phase arg
from intr_init() and initialize all stuff in cpu_configure(9) as other ports
rather than in mach_init() and mbattach().
2011-06-12 03:21:21 +00:00
tsutsui 9dc6c88b06 - misc KNF
- use device_xname(), device_unit(), and device_class()
2011-06-12 03:14:03 +00:00
mrg 471a1d4c0c note that sparc MODULAR works and is enabled now. 2011-06-12 01:45:00 +00:00
mrg 475fbccd2d enable options MODULAR, now that it is tested to work. 2011-06-12 01:44:06 +00:00
mrg 87bf821974 sparc relative reloctions are busted here; copy the sparc64 style
which seems to make things work fine, and also seems to follow what
ld.elf_so does.

this makes modules work in my limited testing.
2011-06-12 01:29:58 +00:00
tsutsui 54d6901ea4 Set iospace and virtual_end address properly.
Fixes TLB miss panic during device attach on emips.
2011-06-12 01:28:29 +00:00
christos 6793b1da06 Change i_len in ieee80211req to be unsigned and fix other signed/unsigned
issues. From Dan Rosenberg (drosenberg at vsecurity dot com).
2011-06-12 00:07:19 +00:00
christos 7267577190 turn on printf warnings for all the printf-like atf functions. 2011-06-11 18:03:57 +00:00
christos 2a18cea9f4 Turn warns on for all tests and fix all the bugs. 2011-06-11 18:03:17 +00:00
christos abf33ee14d format fixes, prototype fixes, const fixes 2011-06-11 16:54:56 +00:00
nonaka 51ff92dd24 split device_t/softc. 2011-06-11 16:34:36 +00:00
christos 6f94afca58 document OLDPWD and cd - 2011-06-11 14:37:36 +00:00
nonaka 2733867f91 Added LCD-8000UD-DVI entry. 2011-06-11 13:52:46 +00:00
nonaka 6dea84baed regen. 2011-06-11 13:51:45 +00:00
nonaka 2c8ebb6a79 Added LCD-8000UD-DVI entry. 2011-06-11 13:50:06 +00:00
nonaka 665e83d2f3 MBR magic exists at the beginning of 'a' partition, BPB is cleared.
Avoid to detect msdosfs incorrectly at boot time.
2011-06-11 11:43:23 +00:00
uebayasi 064389cedb Fix build; p was not used, but l was passed to kauth. Use curlwp directly. 2011-06-11 03:00:19 +00:00
sjg 0277db2f8c Use %zu rather than cast 2011-06-11 02:10:48 +00:00
matt bdbb859bae Use KASSERTMSG so if these trigger, we can see what exactly caused them to fire. 2011-06-11 01:07:33 +00:00
matt 408fc28bdd If compiled with -msoft-float, make the compiler emit soft float code
by default.
2011-06-11 00:59:44 +00:00
matt 8798b98c60 If we are compiling -msoft-float, define _SOFT_FLOAT 2011-06-11 00:57:29 +00:00
matt d6f7495a01 Add missing no options GUR_BASE 2011-06-11 00:52:42 +00:00
sjg af8b888000 size_t on amd64 doesn't like %u, use a cast. 2011-06-10 23:57:39 +00:00
matt 1f1f4e99e8 l isn't used. nuke it. 2011-06-10 21:02:46 +00:00
njoly 88309ba987 Do not print sizeof values in skip message. 2011-06-10 17:10:43 +00:00
matt 5680b567be Change default of GUR_BASE to 0xffe00000 which is used on more recent machines.
Add options GUR_BASE=0xe0000000 to MPC8548CDS and RB800
2011-06-10 16:38:17 +00:00
matt 865180f6f7 If building the cross gcc for softfloat, add --with-float=soft so it will
default to it.
2011-06-10 16:31:18 +00:00
njoly ec49331b57 Remove unneeded prototypes. 2011-06-10 15:52:44 +00:00
njoly 6be560f8ad Remove newlines from various messages. 2011-06-10 15:43:59 +00:00
njoly 86d9fe0273 Do not call exit() after atf_tc_fail(). 2011-06-10 15:21:25 +00:00