summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2014-07-13If the only process in the pgrp is in the middle of exiting, it mightPhilip Guenther
not have any threads left. Treat that the same as an empty pgrp. encountered by and ok deraadt@
2014-07-13print leading '0x' for addresses and masks with DUMP_BOOT_{DESC,INFO}Jasper Lievisse Adriaanse
ok pirofti@
2014-07-13Stop using old n_time, n_long and n_short types in netinet headers.Martin Pieuchot
ok deraadt@, naddy@
2014-07-13someone send dlg a keyboard with a tab key pleaseHenning Brauer
2014-07-13ext4 (extents) read supportMartin Pelikan
Tested on amd64 with > 4GB files and 50,000 subdirectories. From FreeBSD, thanks! ok deraadt guenther
2014-07-13- fix off-by-one in getting the number of cores in the systemJasper Lievisse Adriaanse
- unbreak GENERIC.MP build
2014-07-13Needs getchar.c nowMiod Vallat
2014-07-13use nitems() instead of handrolling something identicalJasper Lievisse Adriaanse
ok mpi@ sthen@
2014-07-13add copyright and rcs idJasper Lievisse Adriaanse
"go ahead" kettenis@
2014-07-13Start handling host channel interrupts.Paul Irofti
For now just acknowledge and clear the event to avoid interrupt storms.
2014-07-13treat external storage allocated by the mbuf layer the same asDavid Gwynne
external storage attached to an mbuf anywhere else. this means it uses MEXTADD to wire it up to the mbuf, and it relies on the ext_free and ext_arg bits in the header to call the right free function against the right pool. M_CLUSTER gets renamed to M_EXTWR. the type field in MEXTADD gets reused as a flags field so anything attaching storage to an mbuf can say if it is writable or not. ok claudio@
2014-07-13move putchar() into libsaJasper Lievisse Adriaanse
"sure" miod@
2014-07-13One missing boot -> prsignal(initprocess) conversionMiod Vallat
2014-07-13These still need <sys/reboot.h> for the RB_ constants.Miod Vallat
2014-07-13more mmap random on 64-bit platforms. noticed in freebsd aslr patches.Ted Unangst
2014-07-13Add missing atomic primitives and __sync_synchronize to let the kernelMiod Vallat
compile again; tested by aoyama@
2014-07-13Bye byeMartin Pieuchot
2014-07-13No need for ezload.hMartin Pieuchot
2014-07-12- remove CONSPEED from libsa.hJasper Lievisse Adriaanse
- remove unused define
2014-07-12unify cnspeed()Jasper Lievisse Adriaanse
2014-07-12regenJonathan Gray
2014-07-12missed the trailing digitJonathan Gray
2014-07-12resurrect this treasure (still needed to build microcode)Theo de Raadt
2014-07-12Print a line in dmesg to indicate if the aperture driver isJonathan Gray
required to run X. This will be used by the installer to decide what value to set machdep.allowaperture to. For devices supported by i915 and radeon kms machdep.allowaperture will be set to 0. Systems that have a graphics device commonly found in servers (g200e*/aspeed/es1000 etc) will also not have the aperture enabled as they generally don't need to run X. ok deraadt@ kettenis@
2014-07-12reboot(9), panic(9): Call panic(9) for unrecoverable MD H/W errors (NMIs)Masao Uebayashi
Some architectures have ability to detect hardware sanity and notify system (NMI, firmware callback, etc.). Handle these hardware severe errors, same as software errors, with panic(9). According to miod@, SGI IP27 NMI is triggered by pushing some "hidden" button, which "usual" users/admins don't know. Pushing such a button is "RB_USERREQ" (human-triggered) in that the button is pushed by a human, but not "RB_USERREQ" in that no user intervention in system (== no command input) is done. miod@ agreed that changing these from RB_USERREQ to !RB_USERREQ (== panic(9)) is not a big problem. OK miod@ kettenis@
2014-07-12Add in missing brswphy(4) and the commented out USB entries.Brad Smith
ok pirofti@
2014-07-12"Dr. Jones. Again we see there is nothing you can possess which I cannotTed Unangst
take away." remove uyap. no effect except on hppa where it was strangely enabled.
2014-07-12move getchar() into libsa where applicableJasper Lievisse Adriaanse
ok miod@
2014-07-12Build kernels at -O2 instead of -Os, as done for userland and on all otherMiod Vallat
architectures. ok deraadt@
2014-07-12Fix the last commit by proper dereferencing the disklabel partition.Paul Irofti
Found by me, fixed by krw@. Thanks!
2014-07-12Kill the last dumb DVACT_DEACTIVATE handlers.Martin Pieuchot
2014-07-12Refactor out dosigsuspend() functionMatthew Dempsky
Discussed with guenther and kettenis
2014-07-12Fix USB connect freeze by clearing the host port interrupt.Paul Irofti
Connects and disconnects have no affect on the machine, just like before this driver came into existence. While at it check for a few more interrupt types.
2014-07-12Resize the pcb hashtable automatically. The table size will be doubledYASUOKA Masahiko
when the number of the hash entries reaches 75% of the table size. ok dlg henning, 'commit in' claudio
2014-07-12revert a few stragglers hiding outTed Unangst
2014-07-12teduuuuuudfu(4) it has never been enabled in 5 years.Martin Pieuchot
ok tedu@, deraadt@
2014-07-12revert more free falloutTed Unangst
2014-07-12Oops. Correct variable name more likely to compile.Kenneth R Westerback
2014-07-12- replace main() with mips_init() so we can save the arguments from uboot toJasper Lievisse Adriaanse
pass it to the kernel later on. also use it to get the clock frequency. - implement getsecs() so the bootprompt timeout works input/ok miod@ pirofti@
2014-07-12Calculate i/o starts and sizes in 'proper' sectors rather assumingKenneth R Westerback
512-byte sectors. Unlikely to affect CF's in the near future. ok pirofti@
2014-07-12add guards to just make available to the bootblocks what they need.Jasper Lievisse Adriaanse
prompted by miod@
2014-07-12tedu another bunch of DVACT_DEACTIVATE handlers that do nothing but setMartin Pieuchot
the 'dying' flag.
2014-07-12reboot(9): Shutdown system by signaling init(8) from kernel where appropriateMasao Uebayashi
Some ports watch temperature in MD and try to shutdown system, when overheated, by calling directly (re)boot(9). Change this to signal init(8) from kernel, as acpi(4) and acpitz(4) do, which has been more tested. This also helps to clarify design that ``clean shutdown must be always started by init(8)''. Note that SIGUSR2 causes init(8) to call reboot(2) with RB_POWERDOWN, as acpi(4) etc. already does. It is reasonable, pointed out by kettenis@, considering system is overheated and immediate reboot may be dangerous. OK deraadt@ miod@
2014-07-12Protect the freelists of transfer descriptors with the appropriate splMartin Pieuchot
so that we do not end up allocating two times new descriptors. This happens if a thread finds an empty list, start allocating, got interrupted and the interrupt also finds an empty list. Fix an issue reported by Nils Frohberg. ok yuo@, pirofti@
2014-07-12Mark the interface down and cancel the watchdog timer in imxenet_stop().Brad Smith
ok matthieu@ rapha@
2014-07-12WhitespacePaul Irofti
2014-07-12rename variable to better indicate it's meaningJasper Lievisse Adriaanse
2014-07-12guenther (who also should have been credited in previous free size commits)Ted Unangst
noticed that i missed committing one file.
2014-07-12Remove the redundant csum_flag variable and just set the checksum flagLawrence Teo
in the pkthdr directly. ok henning@
2014-07-12Protocol checksums have been recalculated on reinjection for a whileLawrence Teo
now, so there is no need to calculate them before sending them to userspace. ok henning@