summaryrefslogtreecommitdiff
path: root/sys/arch/aviion
AgeCommit message (Collapse)Author
2010-11-18Do not #include <sys/dkstat.h> if you don't need anything from it.Miod Vallat
ok krw@ deraadt@
2010-11-12Push all potential (as in, all system MI not utilized by the bootblocks)Theo de Raadt
.h files into the ctags run as well to bring #define's and structs and such into scope. Problem reported by thib
2010-11-03no need to specify the -t flag to ctagsTheo de Raadt
2010-09-23Add pppx(4) to the cdevs of the remaining archs.Claudio Jeker
OK dlg@
2010-09-20Get rid of evcount's support for arranging counters in a treeMatthew Dempsky
hierarchy. Everything attached to a single root node anyway, so at best we had a bush. "i think it is good" deraadt@
2010-07-03No more ss(4) or usscanner(4). Unused, unloved and unmaintained.Kenneth R Westerback
General huzzahs. "go for it" deraadt@
2010-07-02Move common code for waking up writers on a tty into a function.Nicholas Marriott
ok deraadt matthew millert
2010-06-28Allow tty drivers to request larger buffers at attach time using aTheo de Raadt
max-baud-rate hint. Adjust TTYHOG (the nearly full logic) to this new situation. The larger buffers are required by the very high speed KDDI devices in Japan (CF com, or USB ucom) so those are the only two drivers which currently ask for a larger buffer size. ok yasuoka miod
2010-06-27Bunch of include adjustements to restore compilability.Miod Vallat
2010-06-27uvm constraints. Add two mandatory MD symbols, uvm_md_constraintsThordur I. Bjornsson
which contains the constraints for DMA/memory allocation for each architecture, and dma_constraints which contains the range of addresses that are dma accessable by the system. This is based on ariane@'s physcontig diff, with lots of bugfixes and additions the following additions by my self: Introduce a new function pool_set_constraints() which sets the address range for which we allocate pages for the pool from, this is now used for the mbuf/mbuf cluster pools to keep them dma accessible. The !direct archs no longer stuff pages into the kernel object in uvm_km_getpage_pla but rather do a pmap_extract() in uvm_km_putpages. Tested heavily by my self on i386, amd64 and sparc64. Some tests on alpha and SGI. "commit it" beck, art, oga, deraadt "i like the diff" deraadt
2010-06-26Don't #include <sys/user.h> into files that don't need the stuffPhilip Guenthe
it defines. In some cases, this means pulling in uvm.h or pcb.h instead, but most of the inclusions were just noise. Tested on alpha, amd64, armish, hppa, i386, macpcc, sgi, sparc64, and vax, mostly by krw and naddy. ok krw@
2010-06-09Wire up device nodes for disk mapper.Joel Sing
ok deraadt@
2010-06-02has GENERIC.MPTheo de Raadt
2010-06-01use --warn-common for linking (some arch's will show new warnings), andTheo de Raadt
prefer binutils-compatible options in STRIPFLAGS (now that our non-binutils strip(1) can handle them too) ok drahn; miod kettenis (for parts)
2010-05-31Completely rewrite the tags file creation process. use config(8) againstTheo de Raadt
a fat kernel (GERERIC or GENERIC.MP) into a temporary dir, then extract some variables using make -V, and after some more singing and dancing use this full and (more) correct list of files with ctags. Don't read this code. ok guenther
2010-05-28${PARAM} is now included in ${CPPFLAGS}, so stop passing it separatelyPhilip Guenthe
to genassym.sh ok deraadt
2010-05-25eh.S includes eh_common.S to make eh.o; fix this dependencyTheo de Raadt
2010-05-25The _arch and _mach variables now come from config(8), decreasing even furtherTheo de Raadt
the differences between these files. You will need a newer config(8) binary to be able to build kernels. ok kettenis miod
2010-05-25Hand-list the two-step assym.h -> .[Ss] -> .o dependencies. TheTheo de Raadt
result: kernels built without 'make depend'-provided information (ie. the .depend file) are more likely to have their *.[Ss] file compilations track changes to *.h files. The "*.o: assym.h" dependencies listed are gotten from reading the .depend output --- from the biggest kernel possible (ie. GENERIC.MP). When an architecture changes in a substantial way (new .[sS] files), the list should be updated in the prettiest way possible. This is not encouraging people to skip 'make depend'; other issues are not resolved and may be solved later with a change guenther is working on. You can still screwed really easily, so continue running make depend as config tells you. Idea from a discussion with drahn ok drahn, kettenis likes the idea too
2010-05-25${SRCS} is only used once, and fits onto the line where it is usedTheo de Raadt
idea that came out of discussion with drahn
2010-05-24give up on -Wvariable-declTheo de Raadt
delete the archaic links: target which is easily misused handle special .[sS] files in a portable way
2010-05-24use the same idiom for stripping gdb kernels. This relies on strip -oTheo de Raadt
support for the non-binutils architectures (and that diff is coming..)
2010-05-24Reduce differences between the Makefile.* files for all architectures.Theo de Raadt
ok various people, tested by fewer people, tested by me on 15.
2010-05-02Precompute the userland process apr cache bits into a global variable.Miod Vallat
On AViiON systems with the 6:1 CMMU:CPU configuration, force cached mappings to be writethrough - this probably hides a bug in the code, but that's the only way so far to get such a system running stably.
2010-04-28clean up more more subtle and stupid differences between the variousTheo de Raadt
Makefile.* files
2010-04-27Unifity CPPFLAGS= (using ${_mach}), SYSTEM_LD_TAIL= (always on one line),Theo de Raadt
and SRCS= (common files always after the \)
2010-04-27shorten preambleTheo de Raadt
2010-04-27noone needs comments about QUOTA and TRACETheo de Raadt
2010-04-27over the years we have moved to a machine+architectures scheme that hasTheo de Raadt
two directories. in reality, because of how we place files, it has four: .../arch/A, .../arch/A/A, .../arch/M, and .../arch/M/M formalize this A/A and M/M scheme directly in the Makefiles, which makes them a lot more similar drahn likes the idea a lot
2010-04-27use -f assymp.dep again; worked out with miodTheo de Raadt
2010-04-27alpha/conf/Makefile.alphaTheo de Raadt
2010-04-26even cleaner mach/arch/machdir/archdirTheo de Raadt
2010-04-26next step towards unification: make all the genassym chunks handle bothTheo de Raadt
arch and machine dependent files (and add the missing files) ok miod drahn
2010-04-26next unification step: move all MD naming _mach, _machdir, _arch, and _archdirTheo de Raadt
ok miod drahn
2010-04-26first step of unification: spaces at end of lines; comments, etc.Theo de Raadt
ok miod
2010-04-25Update various comments.Miod Vallat
2010-04-25Simplify the 6:1 pfsr extraction block: process data CMMU first, and do notMiod Vallat
bother zeroing fault registers of CMMU which did not report faults.
2010-04-24AViiON VDM and VDIT defines, to be used by disksubr.c very soon.Miod Vallat
2010-04-24SMP support for models 4600 and 530, adapted from the MVME188 code. ModelsMiod Vallat
4000 and 4300 will need more work, because they don't have as many distinct software interrupt sources as required by this implementation, so a different IPI scheme will be necessary. Tested on dual-processor 4625 (AV530 family) and single processor 4300 (AV400 family).
2010-04-24Replace heuristics used to figure out which model we are running on, andMiod Vallat
trust the cpuid value returned by the prom itself (verified against /usr/opt/sdk/include/sys/dg_sys_info.h on a DG-UX filesystem).
2010-04-21More reworking of interrupt handling and VME support, and rename variousMiod Vallat
board-specific defines to prevent any risk of collision. This also adds clock support for AV530 family, and timecounter support (cio code sync'ed with mvme88k). And various bugs fixed in the process. This is enough to get models 4600 and 530 to run multiuser with a Hawk Ethernet VME card (the onboard Ethernet is not supported yet, coming soon). There is no way to share a disk with DG/UX yet, the kernel (and fdisk(8)) needs to become aware of its ways.
2010-04-20Add bus_dma and oosiop(4), as found on the AV530 family. Tested on model 4605.Miod Vallat
2010-04-18Work in progress support for AViiON models 4600 and 530.Miod Vallat
Also features support for {awkw,bast}ard 6:1 CMMU:CPU configurations (4I2D). Tested on model 4605, which runs up to cpu_initclocks(), which is not written for this system family yet. No regression on model 4300.
2010-04-18Correctly identify a machine of the 530 family even if the expansion I/O boardMiod Vallat
is missing. While there, provide more information when the system is not recognized.
2010-04-18Parse commandline options in netboot, and force the onboard ethernet addressMiod Vallat
to be 00:00:00:00:00:00 if `-z' is passed; this allows netboot to work on a machine which has lost its nvram (despite the ethernet address not being stored in nvram at all, stupid prom can't be bothered to get it right...). Crank netboot version.
2010-04-18Apply the same interrupt enable bit fiddling protection as done for le@fwioMiod Vallat
on vax, since interrupts on syscon are edge-triggered. Fixes the onboard lance getting stuck after a while.
2010-04-18Allow for multiple options after a dash (getopt style).Miod Vallat
2010-04-18Fix esym computation logic.Miod Vallat
2010-04-12Some of the line disciplines want to check for suser. Better to pass themTed Unangst
a process instead of using curproc. ok deraadt
2010-03-31Make sure the boundaries of uvm_pglistalloc() calls are set up with lowMiod Vallat
being page-aligned, and high being end of page (i.e. high & PAGE_MASK == PAGE_MASK) everywhere, for consistency. Future code will depend on this. ok deraadt@