summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2011-11-10Missing interrupts on gpio.Dale Rahn
2011-11-10mindless unification with hppa64; remove meaningless differences beforeTheo de Raadt
attacking the complicated stuff
2011-11-10Reduce autoconf(4) overuse on beagleUwe Stuehler
Renamed `ahb' to `omap' and extended it to configure the on-chip devices directly, based a board-specific table instead of trying to maintain addresses, interrupt numbers and such for two OMAP variants in the same config file. This may be an intermediate step, but should provide us some relief already. :) Suggestions from deraadt and drahn; ok drahn@
2011-11-10Recognize a few more v6 and v7 instructions.Miod Vallat
2011-11-10Remove unused %s from a printf(), properly cast const void* to constKenneth R Westerback
int*. From Marco Trillo via tech@ long ago.
2011-11-10Fix bug where 'now' recomputation was incorrect,Dale Rahn
do not bother subtracting the old 'now' from the 64bit counters to determine which was sooner, add event counters for the clock/stat Do not have timers unless debugging the driver. Switch statclock to multiple of hz;
2011-11-10Fixed config_pending calls in sdmmc(4)Uwe Stuehler
Root on SD/MMC card did not work reliably because the config_pending state was cleared too early. This change will clear config_pending only after the card discovery has actually completed once. ok deraadt@ drahn@
2011-11-10Death to inappropriate whitespace. First one pointed out by Brad.Kenneth R Westerback
2011-11-10Deal with the register offset on omap4430 where the registers moved by 0x100.Dale Rahn
2011-11-10Add gumstix overo support. It's very similar to be beagleboard at thisMatthieu Herrb
point. So add it's card id and handle it like the beagleboard. ok drahn@, miod@
2011-11-09Add support for UISUBCLASS_MOBILE_DIRECT_LINE_MODEL to cdce(4).Stuart Henderson
This is available with at least Ericsson-derived HSPA cards (e.g. Dell 5530/5540) and provides a nice alternative to using them in ppp mode. From Rivo Nurges (rix at estpak ee), ok jsg@
2011-11-09Change fork1() and kthread_create() to match the rest of the treePhilip Guenthe
and use curp vs p instead of p1 vs p2. Add curpr and pr variables for the respective struct processes. Make sigactsshare() return the shared sigacts intead of taking the struct proc to update. ok deraadt@
2011-11-09Add magic to use %r2 as the userland thread register.Mark Kettenis
ok guenther@
2011-11-09If directly open /dev/wskbdX, then wskbdX be removed from mux wskbd,Alexandr Shadchin
but if close wskbdX, wskbdX not returned to mux. Fix it. ok miod@
2011-11-09Auto-repeat keys in WSKBD_RAW mode is not needed.Alexandr Shadchin
WSKBD_RAW mode used in X, but X independently implements auto-repeat keys. ok miod@
2011-11-09State expire time is a baseline time ("last active") for expiryCamiel Dobbelaar
calculations, and does _not_ denote the time when to expire. So it should never be added to (set into the future). Try to reconstruct it with an educated guess on state import and just set it to the current time on state updates. This fixes a problem on pfsync listeners where the expiry time could be double the expected value and cause a lot more states to linger. Timeout code from mikeb. Found and testing by Maxim Bourmistrov. ok mikeb dlg
2011-11-09Fix manual wfi instruction encoding.Miod Vallat
2011-11-09Missing argument to error printf()Miod Vallat
2011-11-09In pmap_remove(), don't forget to do tlb flushes even in the !pmap_cachevivtMiod Vallat
case. ok drahn@
2011-11-09Use the new priority as the priority to check against,Dale Rahn
not the current (not yet lowered) priority. problem spotted by miod.
2011-11-09External ampintc interrupts need to add 32 to the interrupt number,Dale Rahn
while 'internal' should not. no complaints uwe@ miod@
2011-11-08Cookies? Beagle don't need no stinkin' cookies. To get boot paramsKenneth R Westerback
anyways. ok (sight unseen) deraadt@ drahn@
2011-11-08Make the userland bits actually compile.Mark Kettenis
ok guenther@
2011-11-08Let beagle GENERIC work as 'swap generic'.Kenneth R Westerback
ok deraadt@ drahn@
2011-11-08consistant "config bsd" lines; ok miodTheo de Raadt
2011-11-08Garbage collect now unused MKDEP definitions. ok deraadt@Matthieu Herrb
2011-11-08ncr53c9x (a.k.a. esp on sparc64) does not like 16-byte SCSI commandsKenneth R Westerback
such as READ_CAPACITY_16. So plugging SCSI-3 devices onto such a bus can be problematic. Cap the acceptable xs->cmdlen at 12 in ncr53c9x.c. Problem noted and fix tested by Kurt Mosiejczuk. Thanks! Diff mostly from miod@ with kibitzing from me. ok miod@
2011-11-08Typo. BIOC_SSOFFLINE is the ioctl command. Pass BIOC_SDOFFLINE toKenneth R Westerback
sd_set_chunk_state() as the new state. ok jsing@
2011-11-08merge cpu_coredump() back to where it belongs, ok drahn miodTheo de Raadt
2011-11-08merge cpu_coredump() back to where it belongs; ok miod drahnTheo de Raadt
2011-11-08remove support for big endian; ok drahnTheo de Raadt
2011-11-08compat_13 support died ages agoTheo de Raadt
2011-11-08Save and restore cr27 and add the necessary glue to use it as the userlandMark Kettenis
thread register. ok guenther@, jsing@
2011-11-08On PCXS processors, reading %cr26 and %cr27 from userland causes aMiod Vallat
privileged register trap. Cope with this in the trap handler to let userland use these registers; this will be necessary in the not-so-distant future.
2011-11-08arm has no need for procfsTheo de Raadt
2011-11-08procfs for solaris compat? not anymore; ok miodTheo de Raadt
2011-11-08In ddb `show page', print the address of the vm_page_md substruct ifMiod Vallat
defined(__HAVE_VM_PAGE_MD), for convenience.
2011-11-07When multiple display modifiers are specified on a ddb examine command, doMiod Vallat
not advance the address until the last modifier has been processed. This allows sequences like `x/xi address,count' to yield meaningful results. As a bonus, handle `i' and `I' modifiers last, so that I don't have to fight my habit of using `x/ix' instead of `x/xi'.
2011-11-07Cleanup and make initialization more readable. ok drahn@ uwe@Miod Vallat
2011-11-07Make pwrite/pwritev ignore the O_APPEND flag.Philip Guenthe
Detect attempts to wrap the file offset by reading past the max (except for character devices). ok matthew@, deraadt@
2011-11-07TLS-lite support for i386Philip Guenthe
2011-11-07Lift the copyout() from i386_get_threadbase() to sys_sysarch(), so thatPhilip Guenthe
it can be used correctly from linux_sys_get_thread_area() and tcb.h. linux_sys_set_thread_area() should use the copied in value instead of deferencing SCARG() again. i386_set_threadbase() should only update curcpu's GDT if it's being called for curproc. ok pirofti@
2011-11-07Fix the definition of L1_S_V7_AP().Miod Vallat
2011-11-06For now turn back on the pmap PTE modification in pmap_l2ptp_ctorDale Rahn
as was there before the PMAP_INCLUDE_PTE_SYNC changes. Beagle xM is happier this way.
2011-11-06Negative offsets to pread/pwrite-family are only legal for character devices.Philip Guenthe
Pointed out by Alexander Polakov (polachok at gmail.com) ok deraadt@
2011-11-06Correctly report WB and WT cache modes on v7 (they were swapped). ok uwe@Miod Vallat
2011-11-06Build boot(8) for i386 in the same manner that we build boot(8) for amd64 -Joel Sing
specify a list of source files to compile, instead of building and linking against libraries. ok deraadt@
2011-11-06Document a non-obvious reason why something can't overflow.Philip Guenthe
Discussed with deraadt@
2011-11-06Fix GTIMER_STATUS offsetMiod Vallat
2011-11-06Further on the road to working.Dale Rahn