Commit Graph

3119 Commits

Author SHA1 Message Date
khorben
31adc517bf Set the N900 kernel on par with the latest improvements related to the
BEAGLEBOARD. Tested on a Nokia N900; BEAGLEBOARD still builds.
2013-03-13 03:08:17 +00:00
christos
c007a4ec21 remove stray brace 2013-03-10 04:01:49 +00:00
christos
87304c8cb4 - make errors positive like elsewhere in the kernel, document error returns
- KNF
- fix commented out debugging
2013-03-09 16:02:25 +00:00
mlelstv
8792a74a54 Errors are supposed to be negative errno numbers, not -1 which is interpreted
as EPERM.
2013-03-09 10:10:45 +00:00
matt
c99f57ab0a Fix boolean inversion in FPU setcontext. 2013-03-04 23:12:52 +00:00
jkunz
aca15765bd Contribution from Petri Laakso:
- DMA driver stub code replaced with working code.
- Add support to multi block DMA in ssp driver.
2013-03-03 10:33:56 +00:00
matt
d025c4bb28 Add c16 c8 (tlb) inlines.
Add CPUID of Cortex-A7 r0
2013-02-28 18:33:01 +00:00
matt
50c11d9550 Actually use zero_p now that we pass it in. 2013-02-27 22:15:46 +00:00
matt
0657ae47dd Don't include <machine/param.h> since we should be getting that stuff from
"assym.h"
2013-02-27 17:52:44 +00:00
matt
2f4dafd1d8 Define PAGESHIFT using PGSHIFT 2013-02-27 17:50:07 +00:00
matt
aaa103b16b Add a zero flag to valloc_pages so that we can *not* zero the msgbuf so it
will be preserved across boots.
2013-02-27 16:55:39 +00:00
matt
f8291815d6 Bump max text/data/stack sizes to more reasonable values. 2013-02-25 16:12:13 +00:00
matt
bbf7256078 Start of Cortina CS75xx support. 2013-02-19 16:07:23 +00:00
matt
39b128d4f6 Use the coherent dma_ranges in the bounce dmatag but only use the first one. 2013-02-19 02:30:55 +00:00
matt
efac7af857 As with pax, use cf_flags 2 to indicate to use the bounce dma tag. 2013-02-19 02:18:29 +00:00
matt
0c3792adcc Add a bounce dmatag which only has the coherent memory region.
The coherent dmatag now always has all of memory (both coherent and normal
memory).
2013-02-19 02:15:17 +00:00
matt
5b76a48281 Use a bit in cf_flags to decide whether to use bounce buffers or not. 2013-02-19 02:03:06 +00:00
matt
5ad8a9e05d Disable when using extended MMU support. 2013-02-18 16:03:25 +00:00
matt
61df3e45d2 Supply VM_PROT_EXECUTE to pmap_fault_fixup when trying to fixup prefetch
aborts.
2013-02-18 05:14:13 +00:00
matt
42993421e9 Add PRIxBUSADDR, etal 2013-02-16 06:49:59 +00:00
matt
acf0003205 Use KASSERT* in preference to #ifdef DIAGNOSTIC / panic 2013-02-16 06:49:43 +00:00
matt
fcecc79a27 Actually use the calculated uboundary. 2013-02-15 01:03:43 +00:00
matt
fd8ba71ca3 Make sync counters only count when caches ops are performed. 2013-02-14 08:24:39 +00:00
matt
41eef373d9 Rework counters.
Get rid of a badly done goto.
Properly deal with boundary in bus_dmamem_alloc_range.
2013-02-14 08:07:35 +00:00
matt
caeec93030 Add BUSDMA_COUNTERS option 2013-02-14 07:26:23 +00:00
matt
a4bcc6237e fix writebuf draining fix. 2013-02-14 01:12:39 +00:00
matt
bae81fec7a Some armv7 fixes for speculative tlb loads. 2013-02-13 23:14:35 +00:00
matt
bc5f5e1d4a simplify cache range op 2013-02-13 23:10:58 +00:00
matt
3211835cbe Fix two fencepoint errors. 2013-02-13 23:09:39 +00:00
matt
89c1dfbe84 bounce buffer fixes + convert some kassert -> kassertmsg 2013-02-13 23:08:45 +00:00
macallan
caa556aea5 break long lines 2013-02-12 21:25:12 +00:00
macallan
6a4c4c0db7 support a hardware cursor 2013-02-12 21:17:37 +00:00
macallan
a71ffecb79 be a little more consistent with register names 2013-02-12 21:17:17 +00:00
matt
82b1c4ddd9 Add inlines for cp10 (vfp) registers 2013-02-12 15:06:40 +00:00
matt
b6bea4c9af More fully document FPEXC register 2013-02-12 15:05:26 +00:00
matt
d223e8e24c fix inverted ifdefs 2013-02-12 02:38:53 +00:00
matt
2bc1572da9 Fix some FPEXC bit definitions 2013-02-12 00:32:15 +00:00
jmcneill
648a5bdd8d attach a wsdisplay even if this is not the console device 2013-02-09 13:28:59 +00:00
matt
e773de8072 Properly deal with the non-coherent dma tag too. 2013-02-08 23:24:02 +00:00
matt
3cc6d3e59a If _ARM32_NEED_BUS_DMA_BOUNCE is defined, only define one dma_range
for the coherent dma tag.
2013-02-08 23:21:35 +00:00
matt
652e251354 Use the mrc form of the vmrs rX, mvfrX instruction to shut up gas. 2013-02-05 23:23:34 +00:00
macallan
b04f0dbdf3 put BUS_DMA_PREFETCHABLE back now that the missing pieces are in place 2013-02-04 21:35:44 +00:00
macallan
8964277431 support ARM32_MMAP_WRITECOMBINE for managed pages as well 2013-02-04 13:37:30 +00:00
macallan
800b1f8725 support BUS_DMA_PREFETCHABLE in bus_dmamem_mmap() 2013-02-04 13:26:19 +00:00
matt
023f325fbf Add a machdep.cpu_arch sysctl 2013-02-03 15:57:09 +00:00
skrll
c8094406b7 Fix typo in option name 2013-02-03 11:36:55 +00:00
matt
c2a1fa0d6c Always compile the kernel with -mfloat=soft 2013-02-03 00:43:14 +00:00
christos
8874000015 fix compilation 2013-02-02 21:02:06 +00:00
matt
0ff8c4a686 Use bus_space_read_multi_4 to drain the RNG's FIFO. 2013-02-01 19:27:47 +00:00
skrll
b24153bad2 Use bus_space_read_multi_4 and fix copyright year. From Jared. 2013-02-01 16:10:16 +00:00