summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/alpha
AgeCommit message (Collapse)Author
2005-11-23fix DEBUG buildMartin Reindl
2005-11-21Move contents of sys/select.h to sys/selinfo.h in preparation for aTodd C. Miller
userland-visible sys/select.h. Consistent with what Net and Free do. OK deraadt@, tested with full ports build by naddy@.
2005-11-15enable bktr(4) and radio(4) on alphaRobert Nagy
ok deraadt@ mickey@
2005-11-12no longer require boot_osflags being set to 'a' in the SRM for going ↵Martin Reindl
multiuser; setting boot_osflags to 's' explicitly will get us to singleuser as usual; very old SRM versions can only set 'a' or 's', but are still fine because we ignore 'a' now and default to multiuser idea and ok deraadt@, jsg@, testing by many final ok miod@
2005-11-03use splvm() here instead of splimp(). in currently unused MULTIPROCESSOR code.Brad Smith
ok martin@
2005-10-30Remove unused pcb field (this should have been part of the fetch(9)/store(9)Miod Vallat
removal ages ago).
2005-10-28no more Mach-macrosMartin Reindl
2005-10-17Rename ncpus to alpha_ncpus so that MI ncpus matches the number ofMiod Vallat
attached processors; deraadt@ ok
2005-09-27Don't try to read the DOS label from the device if spoofonly is 1.Kenneth R Westerback
This changes the architectures which use code identical to the amd64 disksubr.c. macppc seems different so it will be separate. The remaining archs don't try to read a DOS label. ok deraadt@
2005-09-15In syscall(), do not recompute the struct proc * after the syscall hasMiod Vallat
succeeded. This used to be necessary for fork(), when returning in the child, but we return in the child in child_return() which does TRT. ok art@
2005-09-15Change child_return() to record a proper ktrace record for vfork childMiod Vallat
processes. ok art@ uwe@ (some time ago)
2005-08-06If a process has trashed its stack, use sigexit() instead of psignal() toMiod Vallat
terminate it with prejudice, as done in native sendsig(). Plus you get a memory leak in COMPAT_HPUX on m68k fixed for free. review art@ test martin@
2005-06-17Override cpu_switch() with a faster version if we can use BWX instructions.Miod Vallat
From RusticBSD, ok deraadt@
2005-05-09fixes and updates for root device detection from NetBSD:Martin Reindl
- remove unneeded checks and variables - use strncasecmp() to check b->protocol because the case is dependant on the firmware revision - check logical unit numbers - consistently check PCI function numbers - on the 6600 models check which PCI hierarchy is looked at - makes root device detection on DS20 (6600) work testing by claudio, xsa and miod; ok miod@
2005-05-09- add alpha optimized in4_cksumBrad Smith
- de register and use ANSI prototypes From NetBSD ok miod@ martin@
2005-04-28shrink extra verbose crudTheo de Raadt
2005-04-28shut upTheo de Raadt
2005-04-21count fpu lazy context switches; deraadt@ okMichael Shalayeff
2005-04-21correct idiom for snprintf failure handling; ok beckTheo de Raadt
2005-03-30first approximation: spoof UDF filesystem disklabels when we see them.Theo de Raadt
it is likely a slight bug or two will sneak in with this, so everyone please keep an eye out on your disklabels
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...