Commit Graph

202061 Commits

Author SHA1 Message Date
ober f8b0634a73 Revert symspace back to 3 megs so that beagleboards boots again. 2011-06-15 17:17:37 +00:00
matt 139e8f0367 Move the interrupt stub from booke_stubs.c into its own intr_stubs.c.
Move the "null" intrsw (used in startup) to intr_stubs.c as well.
2011-06-15 15:22:56 +00:00
matt d5e2b0cf4d Move booke_fixup_stubs() to fixup.c and rename it to cpu_fixup_stubs().
This makes it easier for other PPC variants to use it.
2011-06-15 15:18:20 +00:00
matt 3fbf2742ed Add IST_PULSE and intr_typename (converts IST_* to a name). 2011-06-15 15:11:50 +00:00
tsutsui ca0d77c5ec Put proper casts to address range checks. 2011-06-15 15:03:51 +00:00
tsutsui 86151c508d Remove more ecoff leftover. 2011-06-15 14:47:43 +00:00
hans 21f62f04a1 remove -q argument, it is useless with Xorg and fails with XFree 2011-06-15 13:42:46 +00:00
pgoyette 5960b5e520 Previous fix broke the setting of current value for Indicator and
Battery-Charge sensors.  Fix this.
2011-06-15 13:34:13 +00:00
kefren 374dea10e0 simplify the rtsock read sequence
apply a little bit of KNF
2011-06-15 13:24:48 +00:00
manu 71d41cd3c4 Improve UFS1 extended attributes usability
- autocreate attribute backing file for new attributes
- autoload attributes when issuing extattrctl start
- when autoloading attributes, do not display garbage warning when looking
up entries that got ENOENT
2011-06-15 12:54:32 +00:00
mrg 0bedecd8a4 note about evbppc modules. 2011-06-15 10:02:24 +00:00
mrg a2c4975d63 build evbppc modules in 3 different flavours:
- oea (default)
	- ibm4xx
	- booke

this, together with earlier machine_module[] work, should allow evbppc
platforms to use modules.
2011-06-15 09:45:58 +00:00
jruoho c9c68d3723 Modularize hpet(4). Works nicely with the multiple bus locations. 2011-06-15 09:09:48 +00:00
jruoho d67c24f09b Do not entirely bypass the printfs during resource parsing, as many drivers
rely on those for their autoconf(9) messages. Instead add a "quiet" option.
2011-06-15 09:02:38 +00:00
jmmv 193dd4527d Pull up part of revision f621bc0489ac3e4ef364f840a852a6a5290e8e12:
-----
Only silence stdin for test programs

atf-check is expected to accept data in its stdin, and a previous change
broke this behavior.
-----

This should fix a few tests that broke during the 0.14 import.  In
particularly, the tests in libc/stdlib and libc/ssp that redirect stuff
to atf_check.
2011-06-15 08:48:35 +00:00
jruoho ced73275c5 Modularize hpet(4). Works nicely with the multiple bus locations. 2011-06-15 08:19:43 +00:00
jruoho 47c181238e Remove printouts that mess with the autoconf(9). 2011-06-15 08:04:49 +00:00
jmmv cb5d8fbf8d Fix definition of the plus_tflag test case. Uncovered by atf 0.14. 2011-06-15 07:58:03 +00:00
jmmv 884a148d21 Fix obvious typo in test case name. Uncovered by atf 0.14. 2011-06-15 07:54:32 +00:00
jruoho d762059910 Factor out hpet(4) from ichlpcib(4). 2011-06-15 06:43:20 +00:00
cliff 6cd1a69b45 - FRAME_SAVE_CALLEE() starts at r14 (not r13, which is curlwp) (from matt@)
- INTR_SAVE() must also save r13 (from matt@).
- fitint must pass clock frame, not trap frame
- fix comment in pitint and fitint to indicate passing clock frame, not intr frame
2011-06-15 06:28:39 +00:00
plunky e19d93dc5d gcc seems to pad small character arrays, use an array of ints
while here, make the poke function non-static, so that it doesnt
get optimised away
2011-06-15 06:09:21 +00:00
matt 0e63435609 lcsplx is dead. remove last vestiges of it. 2011-06-15 05:50:48 +00:00
matt 998548f321 Use PMAP_MAP_POOLPAGE/PMAP_UNMAP_POOLPAGE because it's cleaner.
Remove #ifdef _LP64 #endif leftover from mips
2011-06-15 05:48:31 +00:00
cliff 45f9bc9866 - convert to use device_t, cfattach_t, CFATTACH_DECL_NEW etc.
- in dsrtcattach() use struct clock_ymdhms instead of rtc in DEBUG code block,
and move that block down after sc_todr.cookie is initialized so dsrtc_read() works.
2011-06-15 05:29:32 +00:00
cliff 2a3a47a6e8 in pbus_attach() make locs[] and pass to config_found_sm_loc()
to avoid triggering KASSERT in config_stdsubmatch().
2011-06-15 05:21:38 +00:00
jruoho 0c1ae21bb3 Use defined constants. 2011-06-15 04:52:52 +00:00
jruoho e0d3725369 Add detach function for hpet(4) at amdpcib(4). 2011-06-15 04:20:47 +00:00
jruoho 3bd1efebe2 Small cleanup; use KM_SLEEP, wrap long lines, etc. No functional change. 2011-06-15 03:30:15 +00:00
jruoho c6e5cf85e6 Modularize amdtemp(4). 2011-06-15 03:22:39 +00:00
christos 506691b53b remove merge botch. 2011-06-15 01:45:16 +00:00
matt 5a261ccfeb Take the fast softint support in e500_intr.c and make generic so that it can
be used to provide fast softint for other interrupt implementations.
2011-06-14 22:36:12 +00:00
wiz 6d765c9977 Fix usage in man page and sync usage in executable with it. 2011-06-14 20:08:45 +00:00
joerg 2d9f8bf04f Add support for man -p to print the search path for manual pages (not
including cat page directories).

From Abhinav Upadhyay as part of Google's Summer of Code 2011
2011-06-14 18:53:48 +00:00
jruoho aad85e103e Add detach function. 2011-06-14 16:33:51 +00:00
tsutsui bdc9476963 Remove duplicated functions that are implemented in machdep.c.
XXX: why do only sun2 and sun3 (and sun3x) have separate mm_md.c?
2011-06-14 15:51:35 +00:00
matt c87d1b5164 Major cleanup of alpha device drivers.
Switch to CFATTACH_DECL_NEW.
struct device * -> device_t
struct cfdata * -> cfdata_t
Use of device_xname.  No direct access to struct device members.
Use aprint* (not complete).
2011-06-14 15:34:21 +00:00
jmmv 375dbf448e Note import of atf-0.14. 2011-06-14 15:29:11 +00:00
jmmv d702b326e5 Register a new file in atf-0.14. 2011-06-14 15:27:46 +00:00
jmmv 1a674c628c Update reachover build files for atf-0.14. 2011-06-14 15:27:11 +00:00
jmmv 1d706b8151 Post-import merge of atf-0.14. 2011-06-14 15:26:20 +00:00
jmmv 5055cfd6b9 Import atf-0.14:
Experimental version released on June 14th, 2011.

* Added a pkg-config file for atf-sh and an aclocal file to ease the
  detection of atf-sh from autoconf scripts.

* Made the default test case body defined by atf_sh fail.  This is to
  ensure that test cases are properly defined in test programs and helps
  in catching typos in the names of the body functions.

* PR bin/44882: Made atf-run connect the stdin of test cases to /dev/zero.
  This provides more consistent results with "normal" execution (in
  particular, when tests are executed detached from a terminal).

* Made atf-run hardcode TZ=UTC for test cases.  It used to undefine TZ, but
  that does not take into account that libc determines the current timezone
  from a configuration file.

* All test programs will now print a warning when they are not run through
  atf-run(1) stating that this is unsupported and may deliver incorrect
  results.

* Added support for the 'require.files' test-case property.  This allows
  test cases to specify installed files that must be present for the test
  case to run.
2011-06-14 15:23:20 +00:00
tsutsui aafa5da558 Fix merge botch. KERNBASE macro was split into KERNBASE3 and KERNBASE3X
for kernel, and was replaced with kernbase constant for possible reference
of USRSTACK in module(7).
2011-06-14 15:23:19 +00:00
matt 50feb1fb19 struct device * -> device_t 2011-06-14 15:08:33 +00:00
kiyohara e215f3c202 Remove not effective call for pxa2x0_*_bootstrap(). 2011-06-14 14:33:50 +00:00
jruoho 6e72689aa7 Try to attach hpet(4) also via a specific HPET table. Fixes PR kern/43702. 2011-06-14 13:59:23 +00:00
njoly 8d08b790cc Consistently use "Brq Dv" macros for pathconf(2) variables. 2011-06-14 13:19:32 +00:00
tsutsui 36339fa308 Also note about makefs(8) cd9660 RRIP PL handling bug fix. 2011-06-14 12:29:48 +00:00
njoly e792323b22 Avoid printf(3) directive interpretation in long_format testcase
description.
2011-06-14 12:17:57 +00:00
tsutsui 8ae8912463 Note some noticeable recent fixes for m68k and x68k. 2011-06-14 12:17:50 +00:00