summaryrefslogtreecommitdiffstats
path: root/sys/arch/aviion (follow)
Commit message (Collapse)AuthorAgeFilesLines
* crunks of Avvionderaadt2015-12-011-3/+0
|
* Send Aviion to same place as Nova IIderaadt2015-12-01142-19066/+0
| | | | discussed with jsg
* Replace unbounded gets() in libsa with getln() which takes a buffer size,miod2015-11-162-4/+4
| | | | | and convert all gets() users. ok deraadt@
* Allocate a new major for tap(4) also note that pseudo-device tun is for tapclaudio2015-10-231-1/+2
| | | | as well. OK dlg@ mpi@
* Do not call uvm_swap_finicrypt_all() a second time in dumpsys().mpi2015-10-211-5/+1
| | | | ok tedu@, deraadt@, miod@
* Remove more blinding trailing whitespace.krw2015-10-011-2/+2
|
* Use consistant whitespace/comments for #define'ing LABELSECTOR,krw2015-09-301-4/+4
| | | | | LABELOFFSET and MAXPARTITIONS. Easier on the eye when scanning through all these files. No functional change.
* Remove some annoying trailing whitespace.krw2015-09-301-3/+3
|
* More mechanical switching to readdisksector(), although this is akrw2015-09-281-10/+7
| | | | | | | slightly different pattern. hppa/macppc compile and boot so hppa64/aviion surely do too! ok deraadt@
* Mechanical changes from manual buf set up to readdisksector().krw2015-09-281-28/+14
| | | | ok deraadt@
* remove obsolete INET kernel optiontedu2015-07-171-2/+1
|
* Bring a few routines from libkern in order to avoid linking against libgcc.miod2015-06-141-2/+4
|
* When investigating an uninitialised variable in the armv7 resettodr()jsg2015-06-131-2/+2
| | | | | | | miod pointed out that time_second should be compared to 1 not 0 in the md resettodr() functions as it is initialised to 1. ok miod@ deraadt@
* Move the logic deciding whether to grab the kernel lock or not, deeper in themiod2015-05-182-19/+12
| | | | | interrupt logic, making sure the lock is not taken for clock interrupts. Tested on aviion and luna88k.
* Repair boot device detection when booting off the second SCSI controller onmiod2015-04-252-3/+4
| | | | AV530.
* Rework secondary processor initialization, in order to allocate their idlemiod2015-02-252-23/+30
| | | | | | | | | | | | | | | | stack from the main processor, instead of from the secondary processors themselves. This used to work until recent churn in uvm require the kernel lock to be taken, and cpu_configure() runs with the kernel lock held by the boot processor. Allocating the idle stack on the secondary processors themselves was choosen early on, because there is no easy way, from the boot processor, to know the assocation between physical cpu number (ci_cpuid) and logical cpu number (the order they are initialized and reported in), especially on luna88k where there is no way to get secondary processors parked by the prom. Regression noticed by aoyama@. Verified to work on 2 and 4 cpu luna88k systems and 2 cpu aviion systems.
* Convert to uiomove().miod2015-02-102-13/+19
|
* First step towards making uiomove() take a size_t size argument:miod2015-02-102-4/+4
| | | | | | | - rename uiomove() to uiomovei() and update all its users. - introduce uiomove(), which is similar to uiomovei() but with a size_t. - rewrite uiomovei() as an uiomove() wrapper. ok kettenis@
* remove .Tn; from Jan Stary <hans at stare dot cz>schwarze2015-01-151-6/+4
|
* for the install: target, use cmp as a rough attempt for avoiding repeatedderaadt2015-01-131-3/+2
| | | | | | make install from Simon Nicolussi ok jsing tedu
* switch prototype warnings to implicit-declaration warnings.tedu2015-01-111-2/+2
| | | | | | This should catch all the same bad cases, but be a little less aggravating in circumstances where a prototype isn't necessary ok deraadt
* Pass real sizes to free().miod2014-12-244-8/+11
|
* unifdef INETtedu2014-12-222-6/+2
|
* Do not grab the kernel lock for clock interrupts, hardclock() will behavemiod2014-12-161-11/+14
| | | | correctly without. Modeled after sparc64 logic.
* retire shutdown hooks; ok deraadt, krwmikeb2014-12-101-2/+1
|
* Move {recv,send}udp() out of net.c into their own file; to be used shortly.miod2014-11-191-2/+2
| | | | Add the new files to the few md libsa builds which require it.
* (except for the arm architectures...) unify the way the ld.script isderaadt2014-11-181-4/+4
| | | | used and depended, mimicking new changes by guenther to amd64.
* Replace a plethora of historical protection options with justderaadt2014-11-165-14/+16
| | | | | | | PROT_NONE, PROT_READ, PROT_WRITE, and PROT_EXEC from mman.h. PROT_MASK is introduced as the one true way of extracting those bits. Remove UVM_ADV_* wrapper, using the standard names. ok doug guenther kettenis
* Significant unification of RAMDISK* config files, making them diffable.deraadt2014-10-101-81/+46
| | | | | | | This makes it easier to remove components not required to do an install, and subsequently add other desireable components ... In snapshots (in various forks) for about a week. Do some upgrades and installs, please.
* mechanical translation of dev_lkm_dummy() to dev_notdef()tedu2014-10-091-13/+13
|
* remove LKM devicestedu2014-10-091-3/+2
|
* Switch the kernel configs over to using -Wframe-larger-than= instead ofbrad2014-10-041-2/+2
| | | | | | -Wstack-larger-than-. This is what modern GCC supports as well as LLVM. ok miod@
* Reset fault status registers to zero after reading them, even in the 2:1miod2014-09-211-2/+7
| | | | CMMU-to-CPU ratio case. This is necessary at least on the AV530 family.
* Use config_suspend_all(9).kettenis2014-09-201-6/+2
| | | | ok mpi@, uebayasi@, dlg@
* Replace all queue *_END macro calls except CIRCLEQ_END with NULL.doug2014-09-131-2/+2
| | | | | | | | CIRCLEQ_* is deprecated and not called in the tree. The other queue types have *_END macros which were added for symmetry with CIRCLEQ_END. They are defined as NULL. There's no reason to keep the other *_END macro calls. ok millert@
* Kill the remaining <netinet/in_systm.h> inclusion!mpi2014-08-213-6/+3
|
* fixed overrid(d)en typotobias2014-08-141-2/+2
| | | | millert@ and jmc@ agree that "overriden" is wrong
* boot(9): Reduce annoying style diffsuebayasi2014-07-211-3/+3
| | | | | | | | - Always use either: ((x & RB_XXX) != 0) or ((x & RB_XXX) == 0) in boolean context (mostly if (x), or x ? y : z) - prom_halt() in alpha is confirmed to take int as boolean Converted by coccinelle. No functional change intended.
* boot(9): Cosmetic changes to improve diff'ability.uebayasi2014-07-131-3/+3
|
* Cosmetic changes to reduce diffs.uebayasi2014-07-131-5/+5
|
* fix even more trailing tabsjasper2014-07-132-5/+5
|
* revert bogus free changes in not kernel files. got a little trigger happy.tedu2014-07-126-15/+15
|
* add a size argument to free. will be used soon, but for now default to 0.tedu2014-07-1210-23/+23
| | | | after discussions with beck deraadt kettenis.
* Convert bus_dmamem_map(9) to km_alloc(9) in order to make it fail andmpi2014-07-111-10/+9
| | | | | | | not sleep if the allocator cannot obtain a lock when BUS_DMA_NOWAIT is specified. idea and inputs from kettenis@, ok miod@
* Set cold to 1 before executing the DVACT_POWERDOWN handlers when halting ormpi2014-07-101-1/+2
| | | | | | | | | rebooting a machine, like it is done in the hibernate case. At least some USB host controller drivers rely on this to busy way instead of sleeping. Avoid a panic on macppc with an uhci(4) cardbus plugged in. ok deraadt@, uebayashi@
* boot(9): Remove comments about RB_*, "cold", and savectx()uebayasi2014-07-101-4/+1
| | | | | | | Again remove slightly different comments to reduce diffs. These will be re-added once boot() become MI and its specification is clearly re-defined. OK miod@
* boot(): Remove comments about RB_TIMEBAD to reduce diffsuebayasi2014-07-101-6/+2
| | | | | | | RB_TIMEBAD is documented well enough that the comment is not needed. sparc64 does slightly different and its comment is left with XXX. OK deraadt@ miod@
* boot(): Unify declarationsuebayasi2014-07-101-3/+2
| | | | OK deraadt@
* Replace the assembly 88100 FPU imprecise exception code (mostly triggered bymiod2014-07-011-2/+2
| | | | | | | | | | denormal results) with C code using softfloat to correctly round the inexact results in the best possible way according to the current rounding mode. No functional change intended, and this assembly code was surprisingly almost non-buggy, as opposed to the precise exception code replaced a few weeks ago; still an improvement as this replaces 900 lines of arcane assembly with 90 lines of understandable C code.
* Replace the unmaintainable assembler code responsible for 88100 precise FPUmiod2014-06-091-2/+2
| | | | | | | | | | | | | fault handling with a C wrapper around the softfloat code, as already done for 88110 kernels. As a bonus, attempting to read or write FPU control registers but fcr62 and fcr63 in userland will now correctly signal an illegal instruction, instead of leaving the destination register unchanged and pretending nothing bad happened. Be sure to rm m88100_fp.d in your kernel compile directory after updating your tree.