summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
AgeCommit message (Collapse)Author
2002-06-22Add ${PIPE} to CFLAGSTodd C. Miller
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-06-14sysctl for getting the cputype.Artur Grabowski
2002-06-08Use tsleep.Artur Grabowski
2002-06-07knfJason Wright
2002-06-07Remove obsolete CLKF_BASEPRI(). ok niklas@, miod@ and art@Thomas Nordin
2002-06-03spell transceiver correctlyTheo de Raadt
2002-05-29splbio around biodone.Artur Grabowski
2002-05-22splassert_check should be ifdef DIAGNOSTICArtur Grabowski
2002-05-18Rename the MD db_stack_trace_cmd to db_stack_trace_print. Add an argumentArtur Grabowski
that specifies which printf funciton it should use. Implement db_stack_trace_cmd in MI code. Thanks to miod@ for all the tests.
2002-05-17Handle the removal of 'const' from structure definition.mjacob
2002-05-16Add systrace support to all the remaining architectures.Miod Vallat
Tested by various people on various platforms, I'm willing to fix any breakage this causes. ok niels@ deraadt@ and mickey@ (after his comments were applied)
2002-05-16Add a an argument to db_printsym that specifies the printf functionArtur Grabowski
we'll use for printing the information. miod@ ok
2002-05-15Implement splassert() for sparc - a tool for finding problems related toArtur Grabowski
spl handling (already found 3 problems). Man page in a few seconds. deraadt@ ok.
2002-04-30Fix an ancient problem in how sparc interrupts are handled.Artur Grabowski
There are many interrupt handlers that assume that they don't need to do any spl protection in their code because the interrupt of some level can't be interrupted by an interrupt of the same level. The problem is that some interrupt handlers have hardware levels that are lower then their "software" levels. Fix this by adding an additional field to struct intrhand that specifies which "software" level an interrupt handler has and blocks that level while handling the interrupt. This new field is initialized in intr_establish which gets an additional argument (which can be -1 meaning that the interrupt handler doesn't need to block any additional level). ok deraadt@
2002-04-30dmesg logs show that many NICs run at prio 7. Bump IPL_NET to 7.Artur Grabowski
deraadt@ ok.
2002-04-29Define placeholders for art's splassert() debugging stuff on all arches.Miod Vallat
Currently as no-ops everywhere. ok art@, deraadt@
2002-04-28Use assym.h for intrhand fields.Artur Grabowski
ok deraadt@
2002-04-28Rename all PIL_* constants to IPL_* to match other archs and make themArtur Grabowski
usable in MD code in the future. deraadt@ ok
2002-04-27In proc_trampoline, lower the spl level to 0. This way kernel threads that areArtur Grabowski
forked out in main() will run at a decent spl level and not at splhigh. From NetBSD. deraadt@ ok.
2002-04-26build release bsd.scsi3 from regular bsd file, by using config -e toTheo de Raadt
clone sd0 out of sd*. my idea, initial hack by miod, my makefile hackery
2002-04-26Fix spelling in comment and some whitespace.Artur Grabowski
2002-04-24Introduce a new file, machine/internal_types.h, to hold that specific archMarc Espie
type characteristics. internal_types.h will contain only settings invisible from standard C, e.g., in the __* or _[A-Z]* namespace, and be reused by files like limits.h. This allows us to shorten machine/limits.h greatly, as all the common defines are now in sys/limits.h, plus a small stub in internal_types.h. Tested on all arches as far as I know. Approved after discussion with art, millert, deraadt, and others.
2002-04-18call pool_get() with PR_NOWAIT. allocation can fail with low memory, butTheo de Raadt
will work in contexts with curproc is NULL. from art. going into 3.1
2002-04-11Make sure this always prints the 'root on' line. Also, treat ramdisksJason Wright
as disks in a few other places so that autoconf doesn't complain: 'use one of: ...' when rd0 is wired as root.
2002-03-31Fix a spl botch for sun4/sun4c, which should fix reported stability issuesMiod Vallat
on some machines. Tested on ss2 only. ok art@ deraadt@
2002-03-26Honor psratio for addupc_task(), as other arches do.Miod Vallat
2002-03-23typo repair; openbsd@davidkrause.comTheo de Raadt
2002-03-23Add variables for config(8) -e time tweak of systemV shared memoryMarc Espie
parameters. Ok millert@, miod@, maja@
2002-03-15Cosmetic changes only, primarily making comments line up nicely after theTodd C. Miller
__P removal.
2002-03-15The previous commit broke the bootblocks, since uvmexp is not availableMiod Vallat
there. Win some uglyness points in fixing this.
2002-03-14Remove a bunch of #if 0 codeJason Wright
2002-03-14use getprop, not getpropstring to fetch 'magma_prom' property...Jason Wright
ra->ra_name is needed and is the result of getpropstring
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-14Turn the ptrace(2) syscall into a kernel compile option, option PTRACE inMiod Vallat
your kernel configuration file. By default, GENERIC will enable this. When PTRACE is not enabled, several ptrace-like features of the procfs filesystem will be disabled as well (namely, the ability to read and write any process' registers, as well as attching, single stepping and detaching to/from processes). This should help paranoid people build better sandboxens, and us to build smaller ramdisks.
2002-03-13On sparc, PAGE_SIZE and friends might not be a compile-time constant.Miod Vallat
Instead of using a homegrown set of variables in this case, rely on uvmexp fields once uvm has been initialized. This requires a few #include <uvm/uvm_extern.h> here and there in the kernel as well. Idea from art@, changes by me.
2002-02-21%s/iommu_clear/iommu_remove/gJason Wright
(iommu_clear was renamed awhile ago, but comments and such were not updated)
2002-02-20frantzen's stackghost code. wcookie is set at 0 right now, until debuggerTheo de Raadt
support added (i mean, written)
2002-02-19Provide PAGE_{MASK,SHIFT,SIZE} ``constants'' for every cpu combination.Miod Vallat
Fixes PR #2219
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-02-15Don't cast nonexistent return value from splx to (void). ok art@Thomas Nordin
2002-02-14__weak_alias() support.Federico G. Schwindt
2002-02-08Better tx interrupt handling; don't call bestart() from betint() unlessJason Wright
we're OACTIVE and cleared at least one slot
2002-02-08since we're checking, avoid an unnecessary writeJason Wright
2002-02-08Better IFF_OACTIVE handling; don't bother calling qestart() unlessJason Wright
we were IFF_OACTIVE and we freed at least one slot.
2002-02-08simplify qec_put a bitJason Wright
2002-01-30Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ okThomas Nordin
2002-01-25Add support for the "Magma 2+1HS Sp" (from NetBSD)Jason Wright
2002-01-24Fix a few typosArtur Grabowski