summaryrefslogtreecommitdiff
path: root/sys/arch/arm
AgeCommit message (Collapse)Author
2009-01-28Add missing braces in trunc_page() call from vmapbuf().Alexander Yurchenko
ok miod@
2009-01-25Remove /dev/drum and related code.Miod Vallat
2009-01-05- add $OpenBSD$ where needed and add missing '$' in s3c24x0reg.h's tagJasper Lievisse Adriaanse
ok drahn@
2009-01-02remove code that was never used, closer to readable.Dale Rahn
2009-01-02support display found on GTA01, not used on GTA02 however.Dale Rahn
2008-12-30dont enable unwanted interrupts, set t_dev, make certain device is initedDale Rahn
on first open.
2008-12-30IPL_SERIAL should be shot.Dale Rahn
2008-12-30allow 3 uarts to attach, use local cache of variable.Dale Rahn
2008-12-30fix locator order.Dale Rahn
2008-12-30some progress on working on hardware, small steps.Dale Rahn
2008-12-24cleanup, work around issue with interrupt getting enabled too early.Dale Rahn
2008-12-15Let tty subsystem know when transmit is finished so ioctls do not hang.Dale Rahn
2008-12-08some sscom and interrupt cleanup, closer to usable userland.Dale Rahn
2008-12-06revert all changes related to the mpsafe intr handler. i screwed up the commitTed Unangst
and even then it didn't work. we have higher standards than this.
2008-12-06mpsafe intr_establish that doesn't get biglock, so that we may dream of the ↵Ted Unangst
day when this is useful. mostly macro magic that does nothing. only actually useful on amd64 for now, compliments of art.
2008-11-29add sscom here too. Fixes armish build.Matthieu Herrb
2008-11-27Add sscom to cdevswitch like fcom used to be.Dale Rahn
2008-11-27tx starting to work.Dale Rahn
2008-11-27better.Dale Rahn
2008-11-26Add some files missed in the original checkin.Dale Rahn
2008-11-26Add a number of driver files necessary for OpenMoko support,Dale Rahn
from NetBSD with mods
2008-11-25rename zaurus_reg.h to machine_reg and rename some of the internal fieldsDale Rahn
so that arm/xscale/... is not referring to zaurus specific defines. ok miod kevlo, with some suggested changes from deraadt@
2008-11-22freq is specific to APM, and it is reaching out to grab the APM variable,Dale Rahn
however this global variable doesn't exist with out apm, ifdef the variable.
2008-11-22scoop is specific to zaurus, it should have some other mechansim toDale Rahn
make this associate, however ifdef zaurus it for now.
2008-11-05since mmclose() is only called once for the final close,Matthieu Herrb
set ap_open_count = 0 in mmclose() instread of decrementing it. ok miod@, oga@.
2008-10-28Do not leave pmap_cache_state pointing to freed memory if it was theDale Rahn
last process running.
2008-10-23a better fix for the "uvm_km thread runs out of memory" problem.Ted Unangst
add a new arg to the backend so it can tell pool to slow down. when we get this flag, yield *after* putting the page in the pool's free list. whatever we do, don't let the thread sleep. this makes things better by still letting the thread run when a huge pf request comes in, but without artificially increasing pressure on the backend by eating pages without feeding them forward. ok deraadt
2008-10-23Move the va_copy define to <sys/stdrag.h> making sure it is uniformalyMark Kettenis
protected by __ISO_C_VISIBLE > 1999. With a little help from miod@. ok miod@
2008-10-15make random(9) return per-cpu values (by saving the seed in the cpuinfo),Theo de Raadt
which are uniform for the profclock on each cpu in a SMP system (but using a different seed for each cpu). on all cpus, avoid seeding with a value out of the [0, 2^31-1] range (since that is not stable) ok kettenis drahn
2008-10-10Add empty cpu_unidle() macros for architectures that currently don't doArtur Grabowski
anything special to prod a cpu to leave the idle loop in signotify. powerpc, i386, amd64 and sparc64 will follow soon so that everyone has the same interface to wake an idling cpu.
2008-10-10Define MAXCPUS on all architectures.Artur Grabowski
For now, sparc64 is arbitrarily set to 256 (only architecture that didn't have a practical limit in the code on the number of cpus).
2008-10-09Implement CPU_INFO_UNIT for everyone, not just MP kernels.Artur Grabowski
ok miod@
2008-09-11add support for arm9e core, taken from NetBSD.Kevin Lo
ok drahn@
2008-09-07- replace dtoa w/ David's gdtoa, version 2008-03-15Martynas Venckus
- provide proper dtoa locks - use the real strtof implementation - add strtold, __hdtoa, __hldtoa - add %a/%A support - don't lose precision in printf, don't round to double anymore - implement extended-precision versions of libc functions: fpclassify, isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is fixed - separate vax versions of strtof, and __hdtoa - add complex math support. added functions: cacos, casin, catan, ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp, clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf, casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf, ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf, cimagf, conjf, cprojf, crealf - add fdim, fmax, fmin - add log2. (adapted implementation e_log.c. could be more acruate & faster, but it's good enough for now) - remove wrappers & cruft in libm, supposed to work-around mistakes in SVID, etc.; use ieee versions. fixes issues in python 2.6 for djm@ - make _digittoint static - proper definitions for i386, and amd64 in ieee.h - sh, powerpc don't really have extended-precision - add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h for LDBL_* - merge lead to frac for m{6,8}k, for gdtoa to work properly - add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa to use - add EXT_IMPLICIT_NBIT definition, which indicates implicit normalization bit - add regression tests for libc: fpclassify and printf - arith.h & gd_qnan.h definitions - update ieee.h: hppa doesn't have quad-precision, hppa64 does - add missing prototypes to gdtoaimp - on 64-bit platforms make sure gdtoa doesn't use a long when it really wants an int - etc., what i may have forgotten... - bump libm major, due to removed&changed symbols - no libc bump, since this is riding on djm's libc major crank from a day ago discussed with / requested by / testing theo, sthen@, djm@, jsg@, merdely@, jsing@, tedu@, brad@, jakemsr@, and others. looks good to millert@ parts of the diff ok kettenis@ this commit does not include: - man page changes
2008-07-28No longer clear ci_want_resched within cpu_switchto(), now that it's doneMiod Vallat
in the MI code.
2008-07-24sng_exponent should be sng_exp (MI code now cares); ok martynasTheo de Raadt
2008-07-21- add proper double_t and float_t definitions for each archMartynas Venckus
- math.h shouldn't define FLT_EVAL_METHOD, but float.h should (per C99). remove from math.h, and add proper definitions in float.h ok millert@
2008-07-18Add a macro that clears the want_resched flag that need_resched sets.Artur Grabowski
Right now when mi_switch picks up the same proc, we didn't clear the flag which would mean that every time we service an AST we would attempt a context switch. For some architectures, amd64 being probably the most extreme, that meant attempting to context switch for every trap and interrupt. Now we clear_resched explicitly after every context switch, even if it didn't do anything. Which also allows us to remove some more code in cpu_switchto (not done yet). miod@ ok
2008-07-03Remove clauses 3 and 4 from NetBSD license.Ray Lai
OK deraadt
2008-06-27Clear swap encryption keys before dumping a kernel image.Miod Vallat
2008-06-27More removal of clauses 3 and 4 from NetBSD licenses.Ray Lai
OK deraadt@ and millert@
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-24On user/kernel shared page table machines, do not let processes map theirTheo de Raadt
own page 0, as discussed with miod (and many others previously, including art and toby). On sparc, make this __LDPGSZ because PAGE_SIZE is non-constant ok miod tedu
2008-06-12Enable /dev/video* for all USB capable archs. MAKEDEV bits will followMarcus Glocker
shortly. OK todd@
2008-06-12Bring biomem diff back into the tree after the nfs_bio.c fix went in.Theo de Raadt
ok thib beck art
2008-06-11back out biomem diff since it is not right yet. Doing very largeTheo de Raadt
file copies to nfsv2 causes the system to eventually peg the console. On the console ^T indicates that the load is increasing rapidly, ddb indicates many calls to getbuf, there is some very slow nfs traffic making none (or extremely slow) progress. Eventually some machines seize up entirely.
2008-06-10Fix buffer cache pending read statistics by ensuring we can identifyBob Beck
biowait() reads that do *not* come from the buffer cache - we use the B_RAW flag to identify these at art's suggestion - since it makes sense and the flag was not being used. this just flags all these buffers with B_RAW - biodone already ignores returned buffers marked B_RAW. ok art@
2008-05-21Remove <machine/elf_abi.h> on platforms which have it. Nothing in the treeMiod Vallat
needs the few MD definitions they (sometimes) provide; only binutils is interested in them, but binutils provide their own include files for that purpose anyway. ok deraadt@ kettenis@
2008-05-19Change all remaining MD uses of MALLOC and FREE into proper malloc() andMiod Vallat
free() calls; prodded by chl@, ok krw@
2008-05-15Remove commented out NetBSD __KERNEL_RCSID macro usage.Brad Smith
ok dlg@ miod@