summaryrefslogtreecommitdiff
path: root/sys/arch/arm
AgeCommit message (Collapse)Author
2013-11-261 << 31 cleanup. Eitan Adler pointed out that there has been aTheo de Raadt
resurrection of the bad idiom in the tree. sufficient review by miod, kettenis, tedu
2013-11-20oops, typoTheo de Raadt
2013-11-18simplify kthread_create(). no more stdargTheo de Raadt
ok matthew guenther mikeb
2013-11-05Add a stub for the new MD hook needed to handle ACPI Power Resources.Martin Pieuchot
ok kettenis@
2013-11-04remove iop(4) driver. it is entirely unmaintained and supports somethingTheo de Raadt
which basically doesn't exist at all. reminded about it by brad
2013-11-04move the arm pmaps away from pool ctors to just initting memory after itsDavid Gwynne
been allocated. also gets rid of a potential bug where pool_get could return NULL and pmap_alloc_l2_ptp tried to blindly init it. tests, tweaks, and ok patrick@
2013-10-29The cache mask for ARMv7 is a little bit different from the one inited byPatrick Wildt
the generic function. While there, also set the cache bits manually. ok aalm@
2013-10-24add rcsidsaalm
ok jasper@, patrick@
2013-10-24remove useless headersaalm
ok jasper@, patrick@
2013-10-22Some current boards do not have write-through caching. For those,Patrick Wildt
we enable write-back, but it seems this is not working and those boards hang on bootup. Until that is fixed, do not cache PTEs on those boards.
2013-10-21Add load_font and list_font accessops to all rasops-based wsdisplay drivers.Miod Vallat
Trivial except for tga(4) and gpx(4/vax) which need a bit more care setting up a new font.
2013-10-19Use daddr_t * instead of int * for the partoffp parameter toKenneth R Westerback
readdoslabel(). Ditto all the MD variables whose addresses are passed to readdoslabel() via partoffp. Fix some 512-byte block vs disk sector confusion in hppa and sgi. All the DL_GETxxxxx() defines return disk sector values. All DL_SETxxxx() take disk sector values. These changes should be no-ops until a drive using non-512-byte-sectors is encountered. ok deraadt@
2013-09-12Store curpcb in cpu_info instead of a global variable, for SMP.Patrick Wildt
ok rapha@
2013-09-12Rename cpu_info_store to cpu_info_primary. Create an array of cpu_infosPatrick Wildt
for SMP, like on amd64. Add some SMP defines. ok rapha@
2013-09-10Store the current interrupt depth in curcpu, so that it's per CPUPatrick Wildt
and not just a global variable. ok rapha@
2013-09-09Support for the ARM Generic Timer used in the Cortex-A7 and Cortex-A15.Patrick Wildt
2013-09-06Instead of printing on spurious interrupts, use an event counter to showPatrick Wildt
how many of those there have been.
2013-09-03Rewrite the ARMv7 cache discovery, as some assumptions in the previous onePatrick Wildt
were utterly wrong. Fix Log2(), correct one taken from the scheduler code. Tested by rapha@ and Artturi Alm.
2013-08-30Due to our current version of binutils not knowing newer ARMv7 instructionsPatrick Wildt
we define DSB/ISB (Data/Instruction Synchronization Barrier) manually. There are multiple options for those instructions, i. e. "full system operation", which is the default of those. The defines we used were not the defaults we assumed they were, but some other option which might not actually exist. In the future we could try using DSB/ISB as a Mask and add the correct option value. For now, just fix those values. ok rapha@
2013-08-20Remove uscanner(4). It was disabled in GENERIC more than 2.5 years ago.Antoine Jacoutot
No regression has been reported since libusb became the prefered solution to work with USB scanners. req. by mpi@ ok ian@ mpi@ miod@
2013-08-08Remove duplicate loop.Raphael Graf
ok patrick@
2013-08-07We uniformly define size_t to be unsigned long and ssize_t to be long. MakeMark Kettenis
sure that SIZE_MAX and SSIZE_MAX are defined as constants with a matching type on all are architectures. ok millert@, matthew@
2013-08-06add Cortex A15 R4Jonathan Gray
ok patrick@
2013-08-06The Cortex bus should be useful for Cortex-A7, too.Patrick Wildt
ok rapha@ jsg@
2013-08-06Attach amptimer only on Cortex-A9, as all Cortex-A8 doesn't have a genericPatrick Wildt
timer and the newer Cortexes have another generic timer. ok rapha@ jsg@
2013-07-13unify register_t to long on all platformsTheo de Raadt
ok miod kettenis
2013-07-11Enable bus_space_set_region_4 for armv7.Raphael Graf
ok patrick@
2013-07-05Take II, this time without flubbing off_t: : move several internalPhilip Guenther
type definitions that are the same across all archs from <machine/_types.h> to <sys/_types.h> ok deraadt@ kettenis@ otto@
2013-07-04backout previous; off_t must be signed and there might be other C++ APIOtto Moerbeek
breakage lurking; ok kettenis@
2013-07-04To ease future changes, move several internal type definitions that arePhilip Guenther
the same across all archs from <machine/_types.h> to <sys/_types.h> ok deraadt@
2013-06-14Don't pull cpufunc.h in from the machine include directory, but fromPatrick Wildt
the arm one. ok bmercer@
2013-06-13ovbcopy begoneTheo de Raadt
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
test period; i think 3 years ago the last bugs fell out. ok otto beck others
2013-06-09typoMiod Vallat
2013-06-03more fuse in more places. credit: miodTed Unangst
2013-06-01cleanup and consolidate the spinlock_lock (what a name!) code.Ted Unangst
it's now atomic_lock to better reflect its usage, and librthread now features a new spinlock that's really a ticket lock. thrlseep can handle both types of lock via a flag in the clock arg. (temp back compat hack) remove some old stuff that's accumulated along the way and no longer used. some feedback from dlg, who is concerned with all things ticket lock. (you need to boot a new kernel before installing librthread)
2013-05-31remove counters for simplelocksTed Unangst
2013-05-30Enforce ca_activate tree-walks over the entire heirarchy for all events,Theo de Raadt
cleaning up some shutdown-hook related code on the way. (A few drivers related to sparc are still skipped at kettenis' request) ok kettenis mlarkin, tested by many others too
2013-05-22We're handling L2 there, so use the corresponding define, not the L1 one.Patrick Wildt
ok bmercer@
2013-05-21When mapping a new entry, map it read-only, even though it should bePatrick Wildt
writable. This will cause a pmap fault on first write, so that we can mark the page as modified. Also mask the bits used for the protection settings, so that there aren't any leftovers. ok bmercer@
2013-05-18Get rid of the pmap7 header now that we merged it into the pmap one.Patrick Wildt
2013-05-18Modify pmap to work with the pmap header used on armv7. Merge bothPatrick Wildt
headers so that we only need one of them. "Go for it." miod@
2013-05-18Mask out the TEX remap and the Access Flag bits when setting thePatrick Wildt
system control register. Also actually use the mask. ok miod@
2013-05-18Make sure we executed the instruction before continuing. AlsoPatrick Wildt
replace calls to drain the write buffer with the correct ones for armv7. ok miod@
2013-05-18Use the actual armv7 dcache_inv_range function instead of the wbinv one.Patrick Wildt
ok miod@
2013-05-10whitespacesPatrick Wildt
2013-05-10Convert K&R style function declaration to ANSI.Patrick Wildt
2013-05-10Simplify mapping pages by just calling pmap_kenter_cache.Patrick Wildt
From oga at bitrig. ok miod@
2013-05-10Flush the secondary cache when dumping.Patrick Wildt
ok miod@
2013-05-10Remove an instruction cache sync which is not needed.Patrick Wildt
ok miod@