summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
AgeCommit message (Collapse)Author
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
2002-07-24Pretty nasty hack to make non-exec mappings work.Artur Grabowski
Instead of using FOE for just emulating references, we also keep track of a pages executability and don't remove the FOE bit if the page is not executable. This is implmented with horrible hacks. Maybe when I have time, I'll reimplment the whole pmap to allow this without ugly hacks (read: probably not this decade). The stack on alpha is now non-exec.
2002-07-21remove unsued variables.Artur Grabowski
2002-07-20Remove unused variables.Artur Grabowski
2002-07-20Instead of copying out the signal trampoline on top of the stack, createArtur Grabowski
an uvm aobj, copy out the signal trampoline into it and share that page among all processes for the same emulation. This also requires us to actually be able to tell signal code where the trampoline is located, so introduce a new field in struct proc - p_sigcode that is a pointer to sigcode. This allows us to remove all the ugly calculations of the signal trampoline address done in every sendsig function in the tree (that's why so many files are changed). Tested by various people. ok deraadt@
2002-07-15repair tags building (due to obj dirs in /sys)Michael Shalayeff
2002-07-10proper cdev_decl(ksyms), fix ksyms's broken functionsMichael Shalayeff
2002-07-10'sez' is not an english word; ok deraadt@Jason Peel
2002-07-09Use BWX on cia as much as possible.Artur Grabowski
It doesn't seem to cause problems anymore and it should simplify some things for X.
2002-07-07Add isadma to bsd.rd, for proper isapnp operation.Miod Vallat
Found the hard way by pvalchev@
2002-07-05Sync the ethernet controllers list with GENERIC.Miod Vallat
2002-07-04ep at isapnp works (dma on isapnp is still non-working).Miod Vallat
And fix a comment while there.
2002-07-03sis(4) works on alpha, so move it out of the UNTESTED section.Aaron Campbell
2002-06-30AlphaServer 800 and 1000 support; from NetBSD. Tested by Tor Houghton.Miod Vallat
Added to floppy31 still fits.
2002-06-30Art says I shouldn't be shy, so uncomment lc entries.Miod Vallat
2002-06-30Add lc[01] at isa entries, commented out. Tested and work fine.Miod Vallat
2002-06-30Dummy bus_space_read_raw_region implementation.Miod Vallat
2002-06-28Oops. Doing a diff before commit is not enough. You have to read the diff too.Artur Grabowski
2002-06-28The IEEE fp stuff changed the rules for how fpu should be enabled.Artur Grabowski
We kept too much of the old code in trap handling. This should fix floppies and bsd.rd on some machines.
2002-06-25No \n at the end of a panic() message... I thought all occurences had beenMiod Vallat
squashed already.
2002-06-24move cdev_decl() for usb devices into one place.Michael Shalayeff
usage of cdev_decl() in the driver code is more tricky since i have kqueue mods here and there and will fix that on that way through.
2002-06-23uid_t is unsignedTheo de Raadt
2002-06-22Add ${PIPE} to CFLAGSTodd C. Miller
2002-06-19natyposMiod Vallat
2002-06-19using cdev_ugen_init for all sorts of usb devices is just one pint less ↵Michael Shalayeff
wrong than using cdev_decl_random for the same purpose
2002-06-16Oops, uncomment wsdisplay at vga, commented out by mistake last time.Miod Vallat