summaryrefslogtreecommitdiff
path: root/sys/arch/arm
AgeCommit message (Collapse)Author
2006-02-14Kill unused __HAVE_MINIMAL_EMULMiod Vallat
2006-02-12Remove dead sysbeep driver and unused sysbeep() routine. No functional change.Miod Vallat
2006-01-17Upon halt, invoke resettodr() on arm platforms, unless we have been sittingMiod Vallat
in DDB; tested at least by aanriot@
2006-01-13Make size_t, ssize_t, intptr_t and uintptr_t consistent amongst ourTodd C. Miller
architectures. They are now defined as unsigned long, long, long and unsigned long respectively.
2006-01-08Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2Todd C. Miller
2006-01-06Don't redefine SIZE_MAXTodd C. Miller
2006-01-06Adapt things to use __type_t instead of _BSD_TYPE_T_Todd C. Miller
Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable
2006-01-06Merge machine/ansi.h and machine/types.h into machine/_types.h andTodd C. Miller
rename the types using the __ protected namespace (e.g. __size_t). Idea from FreeBSD.
2005-12-31Search for the devices to attach to mainbus, not hardcoded. ok miod@Dale Rahn
2005-12-31whitespace cleanup.Dale Rahn
2005-12-31Split the d_type field of cdevsw entries into d_type and d_flags for clarity.Miod Vallat
Discussed with and ok deraadt@ millert@
2005-12-27Instead of using options to configure code, use machine header filesDale Rahn
<machine/intr.h>. On the road to cleanup.
2005-12-27print real memory in MB as well as KB, also remove unused ifdef code.Dale Rahn
2005-12-22Fully implemented microtime() operation.Dale Rahn
2005-12-22typoTheo de Raadt
2005-12-22do not do delay(HUGEVALUE) after enabling/disabling the lcd dma. yes, itTheo de Raadt
has a weird effect when you enable it and the backlight at the same time, but most people don't see it because they are flipping the lid open. and it is not actually weird, it is actually rather neat. ok miod
2005-12-22actual step X-# instead of rev # for pxa270Theo de Raadt
2005-12-22'spoofonly' does not mean what I thought it meant. The whole point isKenneth R Westerback
to read non-OpenBSD label information like MBRs and populate ('spoof') the OpenBSD disk label appropriately. So avoiding an I/O when doing 'spoofonly' is to miss the whole point. Backout all Sept. 26 and subsequent changes to disksubr.c files. The original CD problem with I/O errors on blank media will be addressed another way. Should fix the ext3 vs amd64 problems discussed on misc@. Thanks to steven@ for finally putting it terms that I understood. ok deraadt@
2005-12-22remove another debug messageTheo de Raadt
2005-12-22silence setperf codeTheo de Raadt
2005-12-21sysctl machdep.lidsuspend=1 makes screen closures to cause a suspend.Theo de Raadt
(opening the screen does not yet wake the machine up, not yet sure if that is even possible yet)
2005-12-20volatile variable for looping; ok drahnTheo de Raadt
2005-12-20Add machdep.maxspeed sysctl to change the meaning of hw.setperf=100 on zaurus,Dale Rahn
This will scale the speed for hw.setperf, this allows limiting apm -A to lower speed, or even overclocking. ok deraadt@
2005-12-20switch to using clock4 instead of clock0 so that we get clocks when runningDale Rahn
at 91MHz (clock4 is programmed to be based of the 32.768KHz clock.
2005-12-18Don't include cdefs.h if _LOCORE is defined and hide some more definesTodd C. Miller
unless __BSD_VISIBLE or _LOCORE are set. OK deraadt@
2005-12-17Get rid of deprecated vm_{offset,size}_t types for good, use {p,v}{addr,size}_tMiod Vallat
instead; looked at millert@
2005-12-16Return EINVAL in process_sstep() as this is not implemented on arm yet;Miod Vallat
ok kettenis@
2005-12-14convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@Todd C. Miller
2005-12-14Make clock_t consistent across platforms as a 32 bit int. OK deraadt@Todd C. Miller
2005-12-14Don't hard-code card present and number of socket bits in the PCMCIA busUwe Stuehler
configuration register, but control these bits from PCMCIA code. ok drahn@
2005-12-13It would seem that some cards do not get reset correctly if RESET isUwe Stuehler
held only for 10us but the same cards work just fine on other platforms. A really long delay lets those cards reset correctly on zaurus, but it is only an ugly workaround until the socket setup is fixed. ok for now fgs@, drahn@
2005-12-13First step in include files overhaul. Use __FOO_VISIBLE (as definedTodd C. Miller
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@
2005-12-13Remove the advertising clause in the UCB license which BerkeleyJonathan Gray
rescinded 22 July 1999. Checked by ian@, deraadt@ and millert@, arm portion checked by drahn@
2005-12-05- Run only the necessary code to transition from one speed to another.Uwe Stuehler
- Don't clobber perflevel, instead leave it to the user requested value. precise description and ok drahn@ :)
2005-12-02add registers for 4 new clocksTheo de Raadt
2005-12-02no 91Mhz mode for now, because the OSCR0 does not run in low-power mode;Uwe Stuehler
found after prodding by deraadt@
2005-11-24remove __GNUC_PREREQ__(2, 96) block because lint pukes; idea for solution ↵Theo de Raadt
from miod
2005-11-24add lint-specific hacks. at the same time, clean out a lot of ancientTheo de Raadt
cruft for old compilers and environments. there may be a 2nd round of polishing after this; ok miod and others
2005-11-23use proper bus_size_t for register offsets and not bus_addr_t; uwe@ miod@ ↵Michael Shalayeff
testing
2005-11-21Move contents of sys/select.h to sys/selinfo.h in preparation for aTodd C. Miller
userland-visible sys/select.h. Consistent with what Net and Free do. OK deraadt@, tested with full ports build by naddy@.
2005-11-19Remove unnecessary lockmgr() archaism that was costing too much in termsPedro Martelletto
of panics and bugfixes. Access curproc directly, do not expect a process pointer as an argument. Should fix many "process context required" bugs. Incentive and okay millert@, okay marc@. Various testing, thanks.
2005-11-19Remove superfluous statement-ending semi-colons. i.e., "return foo;;" shouldAaron Campbell
just be "return foo;". Cleaning out some M's in my tree.
2005-11-11round clock upTheo de Raadt
2005-11-09use atop() and ptoa()Martin Reindl
tested by jolan@
2005-11-04remove useless prototype; ok drahn@Uwe Stuehler
2005-10-31show the speed status in hw.cpuspeed; ok drahnTheo de Raadt
2005-10-31On suspend/resume save the current time to the RTC earlier and restore it laterDale Rahn
so that the very long delay operations do not slow the clock unnecessarily. Add early support for hw.setperf and hw.cpuspeed for zaurus, it appears to be able to run at 91MHz and 209MHz as well as the std 416MHz with this change. Hopefully it is doing the speed changes correctly.
2005-10-21remove unused arm_trunc_page() macroMartin Reindl
ok drahn@
2005-10-02remove isa_intr_evcnt() prototype. a NetBSD-ism.Brad Smith
ok deraadt@
2005-09-27Don't try to read the DOS label from the device if spoofonly is 1.Kenneth R Westerback
This changes the architectures which use code identical to the amd64 disksubr.c. macppc seems different so it will be separate. The remaining archs don't try to read a DOS label. ok deraadt@