yamt
62ff8c0d5c
pseudo-interface -> pseudo-device
2011-06-16 03:23:08 +00:00
macallan
0315be1d74
mention fast softintrs for powerpc
2011-06-16 03:03:08 +00:00
macallan
2c6128575d
we need powerpc/intr.h n order to see __HAVE_FAST_SOFTINTS
2011-06-16 02:44:38 +00:00
macallan
b5ffed7530
enable FAST_SOFTINTR support for all ports that use powerpc/pic/
...
This has been successfully tested on macppc
TODO:
- ibm4xx needs to be adapted
- SMP doesn't work yet, 2nd CPU crashes when trying to leave the idle loop
2011-06-16 02:43:42 +00:00
matt
8f422e0fde
Now that evbppc has modules this file is no longer needed
2011-06-16 01:04:15 +00:00
mrg
c25406cbc7
evbppc can do modules now.
2011-06-15 23:45:45 +00:00
matt
4d4e79f08b
Rework to get the inlining working right. Also make slightly more portable
...
among powerpc variants.
2011-06-15 22:46:39 +00:00
rmind
06b5aba5f8
Few XEN fixes:
...
- cpu_load_pmap: perform tlbflush() after xen_set_user_pgd().
- xen_pmap_bootstrap: perform xpq_queue_tlb_flush() in the end.
- pmap_tlb_shootdown: do not check PG_G for Xen.
2011-06-15 20:50:02 +00:00
rmind
57f2d9bddc
- cpu_hatch: call tlbflushg(), just to make sure that TLB is clean.
...
- xen_bootstrap_tables: call xpq_queue_tlb_flush() for safety.
- Initialise cpus_attached and ci_cpumask for primary CPU.
2011-06-15 19:54:16 +00:00
rmind
155f2284da
- privpgop_fault: call pmap_update() before uvmfault_unlockall().
...
- privcmd_ioctl, xengnt_more_entries: add missing pmap_update().
2011-06-15 19:51:50 +00:00
rmind
035445691f
uvm_pagealloc_strat: fix diagnostic assert. Reported by drochner@.
2011-06-15 19:46:11 +00:00
kefren
0c4a44d22f
we need to add mapping even if there is no route for the prefix
2011-06-15 18:16:48 +00:00
matt
fc85e71227
Now that the generic fixup code exists, there's no to patch the interrupts
...
directly since the stub fixup will do that automatically. Just need to add
stubs for the interrupt vectors and they get fixed automagically.
2011-06-15 17:47:45 +00:00
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