summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
AgeCommit message (Collapse)Author
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
2003-08-10Do not trust and use uvm_useracc, but rather always check copy{in,out} forMiod Vallat
failure and act appropriately.
2003-07-22Fix .depend generation for assym.h. Resolves PR 1154.Otto Moerbeek
ok deraadt@
2003-07-19don't specify the leading "/" in MANSUBDIR (otherwise "//" occurs)David Krause
ok millert@
2003-06-12final bits of obvious UCB term 3 removalTheo de Raadt
2003-06-11Add pmsi to GENERIC, PR #3251Miod Vallat
2003-06-06- section reorderJason McIntyre
- new sentence, new line - some macro fixes
2003-06-04clean up my copyright so it matches the templateNathan Binkert
2003-06-03terms 3 & 4 cleanup based on "terms" fileTheo de Raadt
2003-06-03Make minaddr sane before calling uvm_km_suballoc()Dale Rahn
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-23remove old swapgeneric.c'sTed Unangst
2003-05-23move swapgeneric to truly generic code. tested on many archs by miod and ↵Ted Unangst
mickey.
2003-05-14add {b,c}devsw_lookup convenience functions.Ted Unangst
move chrtoblk and blktochr into MI code. tested on several archs and ok deraadt@
2003-05-13Add option NO_PROPOLICE, which explicitely disables the use of the propoliceMiod Vallat
stack protection when building kernels. Intended to be used on installation media, with tight space constraints - currently, only added where SMALL_KERNEL was already defined. Not thoroughly tested, but requested by deraadt.
2003-05-13snprintfTheo de Raadt
2003-05-13remove -fno-stack-protector (enable propolice)Ted Unangst
ok deraadt@
2003-05-11string cleaning; krw okTheo de Raadt
2003-05-10string cleaning; ok beck dhartmeiTheo de Raadt
2003-04-16fix my copyright. make the part that's without fee unambiguousNathan Binkert
2003-03-01Provide real ieee fp*() functions; from NetBSD.Miod Vallat
ok millert@
2003-02-28intrcnt's are now int's to fit with kern.intrcnt assumptions; miod okJason Wright
2003-02-19Remove ddb machine commands, they are already available as "bo ha" and "bo re".Miod Vallat
2003-02-18intial -> initial;Jason McIntyre
the great intial witch hunt, as prompted by tdeval@ os-aix-dso.c: ok henning@ ab.C: ok drahn@
2003-02-11be consistant on Hz vs hzMichael Shalayeff
2003-01-09Remove fetch(9) and store(9) functions from the kernel, and replace the fewMiod Vallat
remaining instances of them with appropriate copy(9) usage. ok art@, tested on all arches unless my memory is non-ECC
2003-01-08Make END() symbols match corresponding LEAF() name.Miod Vallat
2002-12-25No need to define FOO?=foo for AS, CC, CPP and LD, as they are always alreadyMiod Vallat
set from <sys.mk>
2002-12-17Make SysV-style shared memory and semaphore limits sysctl'able.Todd C. Miller
Instead of allocating a static amount of memory for the data structures via valloc() in allocsys(), allocate things dynamically using pool(9) when possible and malloc(9) when not. The various members of struct seminfo and struct shminfo are in kern.seminfo and kern.shminfo respectively (not all members of kern.seminfo are changable). The data structures used still leave something to be desired but things are not made worse in that respect by this commit.
2002-12-10Add RCS ids.Miod Vallat
2002-12-10You would think cleaning your tree every now and then would eventually neverMiod Vallat
produce typo fixes, but the typo pool is infinite.
2002-12-05remove altq entries.Kenjiro Cho
altq is merged into pf and handled through pf.
2002-12-02Import propolice (http://www.trl.ibm.com/projects/security/ssp), a stackMiod Vallat
attack protection scheme, into gcc. This protection is enabled by default. It can be turned off by using the -fno-stack-protector flag. Code by Hiroaki Etoh (etoh at jp dot ibm dot com); work on openbsd-specific integration by fgsch@, deraadt@ and myself; tests by fgsch@, naddy@ and myself; beer drinking by myself. Please note that system upgrades with this new code will require a new libc and ld.so to be build and installed before the propolice-enabled compiler can be installed.
2002-11-26Make the PTE constants unsigned long with UL.Artur Grabowski
The macro PG_PALCODE in pte.h is supposed to be used when comparing two ptes to see if we need a tlb flush. For that it uses the macro ALPHA_PTE_PALCODE which in turn is defined to ~ALPHA_PTE_SOFTWARE. Unfortunately ALPHA_PTE_SOFTWARE is small enough to fit in an int, so ALPHA_PTE_PALCODE becomes an int to and the masking in PG_PALCODE masks off the pfn in the pte and pmap_enter will then fail to flush certain TLB entries when it needs to (this situation shouldn't happen too often). This might or might not be the solution for the memory corruption bug I've been hunting for the last three months (the machine still borks up, but in different ways now).
2002-11-07Small simplification in sendsig.Artur Grabowski
In sys_sigreturn - don't uvm_useracc the context address and then copyin it afterwards. The copyin deals better with finding if the user address is correct and it's faster.
2002-11-05Allocate by default 6 virtual consoles on alpha, as on i386, rather thanMiod Vallat
only one. X11 is configured here to start on ttyC5, like on i386 again. This requires alpha-specific changes to the X servers, that went in the tree before 3.2 was released. On tga-compatible boards, there are no virtual consoles available, and these changes will have no effect.
2002-10-23Add a trivial va_copy() macro to all architectures but powerpcTodd C. Miller
(which I will leave for Dale since it needs special handling). From NetBSD (and same as sparc64). espie@ OK
2002-10-12Remove more '\n's from panic() statements. Both trailing and leading.Kenneth R Westerback
Diff generated by Chris Kuethe.
2002-10-10protect against multiple inclusion; pointed out by naddy, miod okPeter Valchev
2002-10-07this removes the functionality of adding allocatedMichael Shalayeff
pages into the queue already containing allocated pages. breaks i386:setup_buffers() because of this.
2002-10-06No more need to initialize the result list before uvm_pglistalloc.Artur Grabowski
2002-09-26renable sppp and lmc, now freeTheo de Raadt
2002-09-24Get rid of gx(4) and use em(4) since it supports more cards and works betterNathan Binkert
overall.
2002-09-23turn off sppp, lmc, and cz until various licenses on those components areTheo de Raadt
resolved. sorry -- i've been warning people for some time that i would start to take this stance.
2002-09-12Change the PMAP_{MAP,UNMAP}_POOLPAGE api to take a vm_page as argumentArtur Grabowski
and return a VM_PAGE. This is to allow sparc64 to cheaply record the VAC color for those pages.
2002-09-10Change the pmap_zero_page and pmap_copy_page API to take the struct vm_page *Artur Grabowski
instead of the pa. Most callers already had it handy and those who didn't only called it for managed pages and were outside time-critical code. This will allow us to make those functions clean and fast on sparc and sparc64 letting us to avoid unnecessary cache flushes. deraadt@ miod@ drahn@ ok.
2002-08-24aperture driver for alpha. It works here the same as on i386Matthieu Herrb
to allow access to VGA card's memory by mmapping /dev/xf86. The macdep.allowaperture does also control /dev/pci access. Ok miod@, deraadt@
2002-08-15fix END() labelTheo de Raadt
2002-08-09Add an explicit dependancy of assym.h to Makefile.Miod Vallat
This makes sure it will be regenerated if you run config(8) again.
2002-07-30Add SIZE_MAX define. This is the same as SIZE_T_MAX but more portable.Todd C. Miller
The only OSes I've seen that use SIZE_T_MAX are 4.4BSD-derived whereas SYSV things seem to use SIZE_MAX. It is also consistent with SSIZE_MAX (which we already have). deraadt@ OK