summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/alpha/machdep.c
AgeCommit message (Collapse)Author
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-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-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-01-22dot_conv() is not used.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-08-10Do not trust and use uvm_useracc, but rather always check copy{in,out} forMiod Vallat
failure and act appropriately.
2003-06-03Make minaddr sane before calling uvm_km_suballoc()Dale Rahn
2003-05-11string cleaning; krw okTheo de Raadt
2003-05-10string cleaning; ok beck dhartmeiTheo de Raadt
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-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-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-07-21remove unsued 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-06-08Always keep the symbols, don't hand that memory to the VM system.Artur Grabowski
In most cases we'll have either DDB or /dev/ksyms and if someone really needs the memory they'll strip the kernel. Fixes alpha/2705.
2002-06-04spelling; raj@cerias.purdue.eduTheo de Raadt
2002-05-03le_ioasic.h is historyTodd C. Miller
2002-04-28IEEE 754 floating point completion code, and implementation of thePeter Valchev
FP_C (Floating Point Control Quadword). From ross@NetBSD. Added a way to disable it with option NO_IEEE, which appears on the ramdisks to save space. This affects only programs compiled with -mieee, and what it essentially does is enabling infinities and NaNs, instead of generating SIGFPE on division by zero, overflow, etc. ok art, deraadt
2002-04-25Cast and display memory sizes as long integers, to avoid displayingMiod Vallat
negative amounts of memory on >= 2GB machines.
2002-03-23Add variables for config(8) -e time tweak of systemV shared memoryMarc Espie
parameters. Ok millert@, miod@, maja@
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-17comment typoJason Wright
2002-02-17Patch from Daniel Lucq <daniel@lucq.org>Mats O Jansson
The patch allows you to change the value of NMBCLUSTERS, BUFCACHEPERCENT and NKMEMPAGES using the config command, instead of recompiling the kernel. This is the kernel part of the patch. I have compiled it on i386, sparc64, alpha and macppc. -moj ok art@ maja@
2002-01-23move mb_map allocation to mbinit()Artur Grabowski
2002-01-23move definition of mb_map from zillions of machdep.c to uipc_mbuf.cArtur Grabowski
2002-01-22call osf1_exec_ecoff_hook for osf1 bin'sEric Jackson
2002-01-16Don't include <sys/map.h> when you don't need what's in it.Miod Vallat
2001-12-08Sprinkle pmap_update calls where relevant and some otherArtur Grabowski
misc pmap usage fixes.
2001-11-28zap some typedefs.Artur Grabowski
vm_map_t -> struct vm_map * vm_map_entry_t -> struct vm_map_entry * simple_lock_data_t -> struct simplelock (uvm not done yet, coming in the next commit)
2001-11-28Sync in more uvm changes from NetBSD.Artur Grabowski
This time we're getting rid of KERN_* and VM_PAGER_* error codes and use errnos instead.
2001-11-24Harmonize boot() logic across arches:Miod Vallat
- ensure RB_DUMP | RB_HALT will cause a dump - or RB_HALT if (cold) While there, honor RB_TIMEBAD on sparc64.
2001-11-07Add an alignment argument to uvm_map that specifies an alignment hintArtur Grabowski
for the virtual address.
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-09-30Generic soft interrupts from NetBSD plus some minor cleanups.Artur Grabowski
2001-09-19merge vm/vm_kern.h into uvm/uvm_extern.h; art@ okMichael Shalayeff
2001-09-12Print memory numbers in KB as well as bytes like most other platforms.Todd C. Miller
2001-09-12mbutl no moreArtur Grabowski
2001-08-23We can now move timeout_init into main().Artur Grabowski
2001-08-23Remove even more old timeout tentacles.Artur Grabowski
2001-07-05Get rid of REAL_CLISTS. It was never implemented and the tentacles areArtur Grabowski
everywhhere.
2001-06-26Provide some chipset information to usreland through sysctl.Artur Grabowski
The chipset support is not here yet, but the skeleton works.
2001-06-25cold is in systm nowMichael Shalayeff
2001-05-17convert mbuf and cluster allocation to pool, mostly from NetBSDNiels Provos
okay art@ miod@
2001-05-05Rename configure() to cpu_configure().Artur Grabowski
Move it from cpu_startup() to main().
2001-05-05Get rid of CLSIZE and all related stuff.Artur Grabowski
CLSIZE -> 1 CLBYTES -> PAGE_SIZE OLOFSET -> PAGE_MASK etc. At the same time some archs needed some cleaning in vmparam.h so that goes in at the same time.
2001-04-30Move the hwrpb_primary_init to before configure.Artur Grabowski
2001-02-07Now that niklas has fixed ddb to not barf on elf symbols, thereArtur Grabowski
is no need to disable ddb.
2001-02-06Don't initialize ddb until I've committed elf support for ddb.Artur Grabowski
2001-01-24Not killing an application when the application does something wrongArtur Grabowski
encourages not fixing the application. SIGBUS on unaligned access.