summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include
AgeCommit message (Collapse)Author
2006-09-17Time to leave the bus.Miod Vallat
2006-08-12Make all DEV_BSIZE definitions consistant by using (1 << DEV_BSHIFT)Kenneth R Westerback
in the six cases using "512". As DEV_BSHIFT is always 9, this should be a no-op. "no objections" miod@ "I can't see any problem doing this." pedro@
2006-05-07Long due update from a.out to ELF (slightly different) relocation defines,Miod Vallat
from sparc64 with love. Spotted by drahn@
2006-04-09#ifdef lint wraps for va_startTheo de Raadt
2006-03-19remove unused bdbtofsb(bn) macroMartin Reindl
found by drahn@
2006-03-15Switch sparc to device_register() to find out its boot device (when it's aMiod Vallat
disk).
2006-03-12Previous fix was half-done, move the wsscreen_list array into the softcMiod Vallat
as well.
2006-03-12When attaching a wsdisplay, the wsscreen_list structure can not be on theMiod Vallat
stack; found the hard way by Stefano <stefano@merlinobbs.net>.
2006-03-12remove splimp.Brad Smith
2006-02-28Shrink NKMEMPAGES_MAX back to 4MB for 3.9, as this still has issues on >= 512MBMiod Vallat
machines; this will be fixed post release. Reported by Serge Basterot. ok deraadt@
2006-01-20Use <dev/sun/disklabel.h> instead of similar <machine/sun_disklabel.h> onMiod Vallat
sparc and remove unused sun_dkioctl(). No functional change.
2006-01-13Make size_t, ssize_t, intptr_t and uintptr_t consistent amongst ourTodd C. Miller
architectures. They are now defined as unsigned long, long, long and unsigned long respectively.
2006-01-10Remove duplicate _C_LABEL define. OK miod@Todd C. Miller
2006-01-08Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2Todd C. Miller
2006-01-06Don't redefine SIZE_MAXTodd C. Miller
2006-01-06Adapt things to use __type_t instead of _BSD_TYPE_T_Todd C. Miller
Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable
2006-01-06Merge machine/ansi.h and machine/types.h into machine/_types.h andTodd C. Miller
rename the types using the __ protected namespace (e.g. __size_t). Idea from FreeBSD.
2006-01-01Don't need to include machine/types.h here. OK and tested by miod@Todd C. Miller
2005-12-31Split the d_type field of cdevsw entries into d_type and d_flags for clarity.Miod Vallat
Discussed with and ok deraadt@ millert@
2005-12-18Don't include cdefs.h if _LOCORE is defined and hide some more definesTodd C. Miller
unless __BSD_VISIBLE or _LOCORE are set. OK deraadt@
2005-12-17Don't include cdefs.h when we are included from locore.sTodd C. Miller
Problem noticed by deraadt@
2005-12-15Protect va_copy with __ISO_C_VISIBLE as intended.Todd C. Miller
2005-12-15__BSD_VISIBLE is not compared against a dateTheo de Raadt
2005-12-14make va_arg() map to nothing; ok millertTheo de Raadt
2005-12-14convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@Todd C. Miller
2005-12-14Add a __statement macro to use with gcc statement expressions insteadTodd C. Miller
of using __extension__ directly. This lets us define away the whole thing when lint is in use.
2005-12-14Make clock_t consistent across platforms as a 32 bit int. OK deraadt@Todd C. Miller
2005-12-13First step in include files overhaul. Use __FOO_VISIBLE (as definedTodd C. Miller
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@
2005-12-10, after end of last enum entry is bogusTheo de Raadt
2005-11-24add lint-specific hacks. at the same time, clean out a lot of ancientTheo de Raadt
cruft for old compilers and environments. there may be a 2nd round of polishing after this; ok miod and others
2005-11-13move kgdb_connect and kgdb_panic into MI. looked by miod@ and kettenis@Federico G. Schwindt
2005-11-01remove Mach macros, they were unused anywayMartin Reindl
2005-09-25Do not try increasing NKMEMPAGE_MAX on sun4m at all, until we makeMiod Vallat
kernel_map larger.
2005-09-21Reduce NKMEMPAGES_MAX_DEFAULT_SUN4M, or we may allocate too much of kernel_mapMiod Vallat
on large memory sun4m machines.
2005-09-12Change the NKMEMPAGES range to 4-64MB for 32bit arches, and 8-128MB for 64bitMiod Vallat
arches; except on sparc where the range is 4-8 for !sun4m and 4-64 for sun4m, selected at runtime.
2005-08-14Add more flexibility to the fast trap handlers mechanism:Miod Vallat
- add the ability to deregister a fast trap handler. - when registering a fast trap, provide an optional callback which will be invoked if we try to register a regular trap handler later; the callback will be responsible to replace the fast trap handler with a regular trap handler (and is allowed to fail). Alter audioamd(4) to take advantage of this, so that it can share its interrupt with stp(4) on SPARCclassic machines. Problem found the hard way and fix tested by Jason George; discussed and ok deraadt@
2005-07-31Get rid of unused SINCR and SSIZE constants.Miod Vallat
2005-07-17Attach com(4) to the built-in modem found on Tadpole SPARCbooks.Miod Vallat
2005-07-08Declare mainbus_model as extern here so that code outside of autoconf.c canMiod Vallat
look at it (forgotten as part of the auxio commit)
2005-04-19nothing uses spllowersoftclock() anymoreMichael Shalayeff
2005-04-19No more a.out symbols support in ddb.Miod Vallat
2005-04-17Do not use KERNBASE when VM_MIN_KERNEL_ADDRESS or VM_MAXUSER_ADDRESS areMiod Vallat
implied; this currently does not change anything (yet). Also, define the I/O space range in <machine/vmparam.h> rather than in <sparc/sparc/vaddrs.h>. ok deraadt@ mickey@
2005-04-14internal _BSD_WCTRANS_T_, _BSD_MSTATE_T_, _BSD_WCTYPE_T_ types.Marc Espie
2005-04-11use MD #define to choose stackgap size per-architecture. on sparc, specialTheo de Raadt
case sun4c/sun4 -- because address space is more constrained
2005-04-04Nuke pmap_bootstrap_alloc(), not used anymore.Miod Vallat
2005-04-03Simple performance improvements:Miod Vallat
- inline empty pmap_deactivate() and pmap_collect(). - inline pmap_phys_address(). - provide a real pmap_kremove() implementation, rather than invoking pmap_remove() on behalf of pmap_kernel(). - do not check for the MMU hole in pmap_prefer() for SUN4M-only kernels.
2005-03-29Add an apm interface to the tctrl(4) device found on SPARCbooks; currentlyMiod Vallat
limited to power change events and battery status retrieval. ok deraadt@ mickey@
2005-03-23Move the alloc_screen, free_screen and show_screen wsdisplay accessops toMiod Vallat
the common frame buffer code, rather than duplicating it in every driver. No functional change.
2005-03-23Move wzero() and wcopy() from machdep.c to where they are really used.Miod Vallat
2005-03-23Kill the sparc-specific mountroot hooks (which are run before the rootMiod Vallat
filesystem is mounted, unlike the MI mountroot hooks). They were only used to allow root on floppy in the long dead two-floppies installation method.