summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2010-04-27shorten preambleTheo de Raadt
2010-04-27No need for a specific .SUFFIXES list; ok drahnTheo 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-27Fuloong with LM6003 signature is apparently similar to LM6004 with differentMiod Vallat
DDR settings, and is reported to work by ysw at mpcj dot cn after cheating the Version environment variable, so recognize its model number.
2010-04-27next phase: get rid of bogus dependencies on Makefile from the day whenTheo de Raadt
people thought skipping "make depend" or "make clean" was acceptable
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-26typoTheo de Raadt
2010-04-26next unification step: remove bsd.rd test build goopTheo de Raadt
2010-04-26BOARDTYPE is no longer used by Makefile.*; spotted by miodTheo de Raadt
2010-04-26next unification step: move all MD naming _mach, _machdir, _arch, and _archdirTheo de Raadt
ok miod drahn
2010-04-26Make this compile with gcc4.Mark Kettenis
2010-04-26first step of unification: spaces at end of lines; comments, etc.Theo de Raadt
ok miod
2010-04-26cut down simple locks (so simple that they don't even lock) to the pointTheo de Raadt
where there is almost nothing left to them, so that we can continue getting rid of them ok oga
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-25Do not include <machine/intr.h> from <sh/psl.h>, and fix <sh/cpu.h> whichMiod Vallat
used to depend on <sh/psl.h> bringing <machine/intr.h>.
2010-04-25introducing a 64-bit type to the disklabel structure leads some architecturesTheo de Raadt
to pad-align the size of the structure; it grows, the disklabel ioctl's are break ABI. Change the uid to a character array. this also simplifies some other stuff ok jsing
2010-04-24AViiON VDM and VDIT defines, to be used by disksubr.c very soon.Miod Vallat
2010-04-24grammar in commentsMiod 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-24There is no reason to protect the pmap_vp_pool with splvm(). The only pmapMark Kettenis
that gets manipulated in interrupt context is the kernel pmap, and we fully populate its VP mappings during pmap_bootstrap(). Gets rid of the excessive spl's at pmap_destroy() time noticed by deraadt@ ok deraadt@, drahn@
2010-04-23Merge the only relevant (for now) parts of simplelock.h into lock.hTheo de Raadt
since it is time to start transitioning away from the no-op behaviour. ok oga kettenis
2010-04-23Recycle unused disklabel fields in order to create a disklabel uniqueJoel Sing
identifier, allowing the disk to be identified without relying on the device name. ok deraadt@ krw@ beck@ marco@ todd@
2010-04-23Make sure IPL_SCHED is always defined by MD headers, instead of having a MIMiod Vallat
fallback definition in <sys/sched.h>, so that there is no hidden include ordering requirement between <machine/intr.h> and <sys/sched.h>. ok deraadt@ tedu@
2010-04-22De-inline atomic_setbits_int and atomic_clearbits_int, on arm these functionsDale Rahn
are emulated by disabling interrupts which requires a lot more header files than a simple atomic operation should be need. ok deraadt@
2010-04-22Whitespace cleanup on generated asm code, so it is readable.Dale Rahn
2010-04-22Committing on behalf or ariane@.Owain Ainsworth
recommit pmemrange: physmem allocator: change the view of free memory from single free pages to free ranges. Classify memory based on region with associated use-counter (which is used to construct a priority list of where to allocate memory). Based on code from tedu@, help from many. Useable now that bugs have been found and fixed in most architecture's pmap.c ok by everyone who has done a pmap or uvm commit in the last year.
2010-04-22- remove ptei(), which was verified to be unused.Jasper Lievisse Adriaanse
ok miod@
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-21<sys/systm.h> required now.Miod Vallat
2010-04-21more proc.h neededTheo de Raadt
2010-04-21two more proc.h neededTheo de Raadt
2010-04-21- missing rcs idJasper Lievisse Adriaanse
2010-04-21more cleanup to cope with the change that tries to make proc.h not actTheo de Raadt
like it is everything.h
2010-04-21more cleanup to cope with the change that tries to make proc.h not actTheo de Raadt
like it is everything.h ok tedu
2010-04-20more misuse of user.h and sysctl.hTheo de Raadt
2010-04-20cleanup more confusion regarding user.h before proc.h, or missing proc.hTheo de Raadt
ok tedu
2010-04-20fix amd64 kernel compile after proc.h was removed from uvm_map.hPeter Hessler
OK tedu@
2010-04-20Add bus_dma and oosiop(4), as found on the AV530 family. Tested on model 4605.Miod Vallat
2010-04-20need proc.h before user.hTed Unangst
2010-04-20remove proc.h include from uvm_map.h. This has far reaching effects, asTed Unangst
sysctl.h was reliant on this particular include, and many drivers included sysctl.h unnecessarily. remove sysctl.h or add proc.h as needed. ok deraadt
2010-04-20Get rid of MAXSENSORDEVICES. Gaps in sensordev lists are now handledTheo de Raadt
by returning ENXIO instead of ENOENT, to essentially indicate hotplug sensor that has gone away. Accessing beyond the end of the sensordev list still returns ENOENT, so that you can see there are no further devices. ok kettenis oga
2010-04-20destintation -> destinationMiod Vallat
2010-04-20Allow MD oosiop(4) attachment to override default values for a few of theMiod Vallat
chip initialization values (SCNTL0, DMODE, DWT, CTEST7). No functional change on hppa; required by another upcoming attachment.
2010-04-20Instead of using PWT|PCD for uncached (which is wrong on old cpus andOwain Ainsworth
HARD uncached on anything since the P3), use just PCD which is UC- (uncached but mtrrs can override it to write combining). Now kernel mappings of WC-mtrred memory actually get write combining memory. the speed up is very very nice. ok kettenis@, deraadt@, beck@ (who likes his scrollbars non-wibbly)