summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include
AgeCommit message (Collapse)Author
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.
2005-03-15Nuke matchbyname(), which isn't used anymore.Miod Vallat
ok deraadt@
2005-03-07Do not bother passing the blanking routine to fbwscons_console_init(),Miod Vallat
as fbwscons_attach() can find it on its own.
2005-01-04SET_PC_REGS, arches tested between me and miod.Marc Espie
2004-11-29Move the struct wsscreen_descr from a per-driver global to a per-instanceMiod Vallat
field of the sunfb structure. This allows multiple instances of the same driver, but with different resolutions (such as a couple of vigra or a TGX cgsix and a TGX+ cgsix) to use distinct wsscreen_descr structures featuring different resolution information. Doing this allows more wsscreen_descr fiddling inside the sparc* fb api, and results in some code shrinkage (about 4KB on sparc GENERIC).
2004-11-28MAXSLP is not really an MD-configurable define so move it to param.h; miod@ ↵Michael Shalayeff
testing
2004-11-26Kill __HAVE_EVCOUNT, now that all architectures provide them.Miod Vallat
2004-09-29Switch sparc to evcount; ok deraadt@Miod Vallat
2004-08-06rename sparc kill_user_windows() to pmap_unuse_final(). provide empty stubsTheo de Raadt
on all other architectures. remove last architecture dependent #ifdef from uvm code.
2004-08-06provide md USPACE_ALIGN zero on all but mips; deradat@ pefo@ okMichael Shalayeff
2004-07-06only pull in a.out stuff if COMPAT_SUNOSTheo de Raadt
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-05-20Properly flush instruction cache for ptrace(PT_WRTIE_{DI}, ...) on powerpcMark Kettenis
and m68k. ok drahn@, millert@
2004-04-19remove the GATEWAY junk thingy; at the same time, select a new fatTheo de Raadt
cluster value that noone will really need to crank.
2004-02-08restored & repaired wcookie support; kettenis@chello.nlTheo de Raadt
2004-01-03put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macrosMarc Espie
to built-ins, so eventually we will have one version of these files. Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes. okay millert@, drahn@, miod@.
2003-11-14the the; rohee@Miod Vallat
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK
2003-07-14i_loadstore is missing the rs1 decode which shifts the i_i bits and i_simm13Jason Wright
left 5 bits. Luckily this isn't used except for debug code.
2003-07-08BUS_SPACE_BARRIER_{READ,WRITE} are needed for some drivers -- fakeMichael Shalayeff