summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/alpha
AgeCommit message (Collapse)Author
2004-12-25Use list and queue macros where applicable to make the code easier to read;Miod Vallat
no functional change.
2004-12-24{e,}intr{cnt,names} bye-bye.Miod Vallat
2004-12-06Use uvm_grow() to account for stack growth, rather than home-grown codeMiod Vallat
or nothing. Inspired by a similar recent change in NetBSD.
2004-11-02Remove __HAVE_NWSCONS and related remnants of pre-wscons days; no functionalMiod Vallat
change.
2004-08-16Uninline splraise to save some time and space.Artur Grabowski
deraadt@ ok, tested by many for a long time.
2004-07-18minor space savingsTheo de Raadt
2004-07-06assert is dumb dumb dumb; no objection from miodTheo de Raadt
2004-07-04turn off _KERN_DO_ECOFF unless COMPAT_OSF1 is enabled. This shrinks theTheo de Raadt
ramdisks, too.
2004-07-03sigh, not yetTheo de Raadt
2004-07-03oops something went wrong in commitTheo de Raadt
2004-07-03{e,}intr{names,cnt} are extinctTheo de Raadt
2004-06-28Use new event counter API for interrupt counting on alpha. By me, with someAaron Campbell
edits by Theo. deraadt@ ok
2004-06-18Add /dev/crypto support.Miod Vallat
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-06-08Use cpuid_t whenever possible, rather than an angry combination of longMiod Vallat
there and u_long elsewhere. ok marc@ deraadt@
2004-06-08pull ncpus support from smp tree into main branch.Marco S Hyman
remove alpha specific definition of ncpus. OK (and tested on alpha) deraadt@
2004-05-30Devices hot plugging support.Alexander Yurchenko
The hotplug pseudo-device passes device attachment and detachment events to userland. When a device attaches or detaches, the corresponding event is queued. The events can then be obtained from the queue through the read(2) call on the /dev/hotplug device file. Each event consists of event type (attach/detach), device class (DV_*) and device name (sd1 e.g.). We have hotplug pseudo-device on alpha, amd64, i386, macppc and sparc64. Since it was tested only on i386 other archs has it commented out in GENERIC until tested. The idea liked peter@ tedu@ drahn@ millert@ marco@ henning@. Ok deraadt@.
2004-03-17Make sure disklabels use at least DEV_BSIZE as their sector size.Miod Vallat
This allows the kernel to survive reading the disklabel off a 256-bytes/sector scsi device... ok deraadt@
2004-03-10Ensure that we obey a user's ddb> boot reboot command even if the systemTom Cosgrove
is cold (during startup). This adds RB_USERREQ to sys/reboot.h, uses it in the ddb commands, and ensures that */*/machdep.c:boot() won't set RB_HALT when cold if this flag is set. ok deraadt@
2004-02-10Add the ptm device to pty(4). By opening /dev/ptm and using the PTMGETTodd C. Miller
ioctl(2), an unprivileged process may allocate a pty and have its owner and mode set appropriately. This means that programs such as xterm and screen no longer need to be setuid. Programs using the openpty() function require zero changes and will "just work". Designed by beck@ and deraadt@; changes by beck@ with cleanup (and a rewrite of the vnode bits) by art@ and tweaks/bugfixes by me. Tested by many.
2004-01-22dot_conv() is not used.Miod Vallat
2004-01-22Nuke ddb_regs common.Miod Vallat
2004-01-13grog EV68Theo de Raadt
2003-12-22typos from Jared Yanovich;Jason McIntyre
note: i only committed some of these.
2003-11-17Sync cpu_swapout() comments with reality.Miod Vallat
2003-11-13More leftovers after uvm_useracc() removal; from NetBSD.Miod Vallat
2003-11-08Avoid a race condition while swapping in a process.Thomas Nordin
Tested by mickey@, henning@, ericj@, and beck@. ok mickey@
2003-11-06move netisr definition into md code to allow arch provide suitable ↵Michael Shalayeff
allocation; tested on most archs
2003-10-18typos from Jared Yanovich;Jason McIntyre
2003-10-03Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need forMiod Vallat
separate tty registering is gone now that sparc has switched to wscons, and this makes the code less error-prone. Also, remove tests for ttymalloc() failure, since it uses M_WAITOK. ok millert@ deraadt@, tested by various people as well besides me...
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-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-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-11string cleaning; krw okTheo de Raadt
2003-05-10string cleaning; ok beck dhartmeiTheo de Raadt
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-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
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-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-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-10-12Remove more '\n's from panic() statements. Both trailing and leading.Kenneth R Westerback
Diff generated by Chris Kuethe.
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-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.