summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
AgeCommit message (Collapse)Author
2013-03-21NBPG -> PAGE_SIZE, PGSHIFT -> PAGE_SHIFT, PGOFSET -> PAGE_MASKTheo de Raadt
2013-03-15Delete the sequencer(4) driver, since its not used any longer. DiffAlexandre Ratchov
mostly from armani. ok miod, mpi, jsg and help from sthen
2013-03-12Fix kernel profiling on MP systems by using per-CPU buffers and teachMartin Pieuchot
kgmon(8) to deal with them, this time without public header changes. Previously various CPUs were iterating over the same global buffer at the same time to modify it and never ended. This diff includes some ideas submited by Thor Simon to NetBSD via miod@. ok deraadt@, mikeb@, haesbaert@
2013-03-10this ramdisk is just for one machineTheo de Raadt
2013-03-09RAMDISKC wil be needed for alphabook1Theo de Raadt
2013-03-09remove unneccessary needs-flagTheo de Raadt
2013-03-09First steps towards alphabook1 support; from netbsdTheo de Raadt
miod did not disagree.
2013-03-08Stop defining __NO_ISA_INTR_CHECK and add a real isa_intr_check() function.Miod Vallat
Allows pcic to attach and correctly pick a suitable interrupt on Multia.
2013-03-08Always initialize the direct DMA window, instead of relying upon SRM to do so;Miod Vallat
many LCA-based systems apparently don't. From NetBSD.
2013-03-02Replace magic numbers with more meaningful (1 << interrupt#) constructs.Miod Vallat
No functional change.
2013-02-12Back out per-CPU kernel profiling, it shouldn't modify a public headerMartin Pieuchot
at this moment.
2013-02-11Fix kernel profiling on MP systems by using per-CPU buffer. PreviouslyMartin Pieuchot
various CPUs were iterating over the same global buffer at the same time to modify it and never ended. This diff includes some ideas submited by Thor Simon to NetBSD via miod@. ok mikeb@, haesbaert@
2013-02-09Do not bother defining cpu_exec_aout_makecmds() on platforms where we no longerMiod Vallat
(or never did) support a.out binaries (i.e. where _KERN_DO_AOUT is not defined).
2013-01-16cpu_coredump() also needs to invoke vn_rdwr() without IO_NODELOCKED; onlyMiod Vallat
affects a.out binaries' core dumps.
2013-01-01<machine/aout_machdep.h> is not used anywhere in the tree, move to the Attic.Miod Vallat
2012-12-31Remove emulation errno mapping code from platforms that no longer havePhilip Guenther
non-native emulations. ok miod@
2012-12-17Add a list of alpha systems and their SRM footprint in the linker scriptMiod Vallat
comments, in the discussion about the kernel load address, for reference purpose. While there, admit the current value will not let the kernel boot on a GS160. If you are the happy owner of a GS160, can afford the electricity bill, and want to run OpenBSD on it, please contact alpha@
2012-12-17Unbreak bootblocks on Alpha by fixing the primary load address. AMartynas Venckus
typo crept in in rev. 1.13. "yeah! the as800 netboots" naddy@
2012-12-10Add cdce(4).Brad Smith
ok deraadt@
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2012-12-02Determine whether we're currently on the alternative signal stackPhilip Guenthe
dynamically, by comparing the stack pointer against the altstack base and size, so that you get the correct answer if you longjmp out of the signal handler, as tested by regress/sys/kern/stackjmp/. Also, fix alt stack handling on vax, where it was completely broken. Testing and corrections by miod@, krw@, tobiasu@, pirofti@
2012-11-08now that our make is more strict, fix ws issue; ok espie@Otto Moerbeek
2012-11-05unifdef -D __HAVE_TIMECOUNTERMiod Vallat
2012-11-02typoMiod Vallat
2012-11-01Switch alpha to per-process astpending.Miod Vallat
2012-11-01In cpu_fork(), correctly set up the stack of the new process if required. ThisMiod Vallat
repairs tfork_thread() operation.
2012-10-20move sio_intr_shutdown() from being a shutdownhook, and do it directly inTheo de Raadt
boot() as required. ok miod
2012-10-10Add __BEGIN_DECLS so that programs using C++ can use functionsStuart Henderson
defined in sysarch.h again, they were broken following the change to NO_IMPLICIT_EXTERN_C. help/ok kettenis@
2012-10-08Revamp the sequences for suspend/hibernate -> resume so that the codeTheo de Raadt
paths are reflexive. It is now possible to fail part-way through a suspend sequence, and recover along the resume code path. Split DVACT_SUSPEND by adding a new DVACT_POWERDOWN method is used after hibernate (and suspend too) to finish the job. Some drivers must be converted at the same time to use this instead of shutdown hooks (the others will follow at a later time) ok kettenis mlarkin
2012-09-27enable smscJonathan Gray
2012-09-21add register aliases "fp" and "AT" as available on Tru64 and Linux; ok miod@Christian Weisgerber
2012-09-11Remove the 'OLF method' used for the transition from a.out to ELF andTheo de Raadt
for all the compat layers which are now gone. Linux compat still works because it always used another method in any case, and nothing looks at p_os anymore. ok jsing
2012-09-04Implement pci_min_powerstate().Mark Kettenis
2012-09-01Fix alpha bootblocks: Compile with -fno-pie, link with -nopie.Pascal Stumpf
tested by naddy@; ok deraadt@
2012-08-28Add -nopie to LINKFLAGS on ELF architectures. Note that this needs anPascal Stumpf
updated gcc and ld to understand the new -nopie flag. ok deraadt@
2012-08-23kill nnpfs deadTheo de Raadt
2012-08-22Build the kernel with -fno-pie. Just getting Ms out of my tree; this will bePascal Stumpf
cleaned up later. ok deraadt@
2012-08-22sigpid should be of type pid_t (only visable with DEBUG).Okan Demirmen
ok miod@ (who found others to fix as well)
2012-08-21Add NOPIE= bits for sys/arch/*/stand to ensure that bootblocks will always bePascal Stumpf
built with -fno-pie. This gets the hairiest part of PIE out of the way ... ok deraadt@
2012-08-07Move the common bits of syscall invocation and return handling intoPhilip Guenthe
an MI file, <sys/syscall_mi.h>, correcting inconsistencies and the handling when copyin() of arguments fails. Tested on i386, amd64, sparc64, and alpha (thanks naddy@) Any issues with other platforms will be fixed in tree. header name from millert@; ok miod@
2012-07-09Do not re-initialize ci_randseed on the primary cpuTheo de Raadt
ok kettenis
2012-06-26ALPHA_PGSHIFT -> PGSHIFT.Theo de Raadt
2012-06-26create new machine/_float.h which is namespace clean. create a newTheo de Raadt
MI float.h which pulls in and defines the values that are needed from there, and repair sys/limits.h so that it defines the values it needs as well (depending on POSIX version, XPG version, etc). guenther has a more exact selection of that coming for limits.h. this also fixes a few mistakes for the vax. reviewed by kettenis and guenther.
2012-06-26Stop the song and dance where alpha param.h tries to include the world.Theo de Raadt
"Why is this not commited yet?" says miod
2012-04-11The first ktrace record for a newly spawned thread is a returnMike Belopuhov
from a fork syscall done by the parent. Use __tfork, not rfork here to match the ktrace records for the parent (CALL __tfork, RET __tfork). ok guenther
2012-04-10Make the KERN_NPROCS and KERN_MAXPROC sysctl()s and the RLIMIT_NPROC rlimitPhilip Guenthe
count processes instead of threads. New sysctl()s KERN_NTHREADS and KERN_MAXTHREAD count and limit threads. The nprocs and maxproc kernel variables are replaced by nprocess, maxprocess, nthreads, and maxthread. ok tedu@ mikeb@
2012-04-06tedu the raidframe.Joel Sing
ok deraadt@
2012-03-23Make rusage totals, itimers, and profile settings per-process insteadPhilip Guenthe
of per-rthread. Handling of per-thread tick and runtime counters inspired by how FreeBSD does it. ok kettenis@
2011-11-25Rework assembler constraints to satisfy gcc 4. Unfortunately this could notMiod Vallat
been done earlier because these new and improved constraints lose bigtime with gcc3, so be sure to compile your kernel with gcc 4 only if you have atomic.h 1.10 onwards.
2011-11-25Compile fixes for gcc4 (-Wbounded)Miod Vallat