summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
AgeCommit message (Collapse)Author
2005-12-27Remove unused sw_nblks field of struct swdevt. Then, remove swapconf()Miod Vallat
which duplicates work done by uvm_swap_init().
2005-12-25Return proper frame buffer type rather than generic SUN24 id, Xwsfb has knownMiod Vallat
the proper id for a long time already...
2005-12-25Ensure child_return() leaves registers the same way a successfull systemMiod Vallat
call would.
2005-12-22Set correct partition offset to 0 when initializing RAW_PART.Kenneth R Westerback
ok deraadt@
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-17unfortunately with PROCFS, that is not true yetTheo de Raadt
2005-12-16Compile out process_sstep() as we don't define PT_STEP, thus nothing usesMiod Vallat
these functions. ok kettenis@
2005-12-16Flush fpu state before reading/modifying the state in the pcb.Mark Kettenis
ok miod@
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-12Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,Miod Vallat
otherwise it's just a waste of bytes. ok deraadt@ mickey@
2005-12-10, after end of last enum entry is bogusTheo de Raadt
2005-12-06Remove fdescfsPedro Martelletto
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-23use proper bus_size_t for register offsets and not bus_addr_t; uwe@ miod@ ↵Michael Shalayeff
testing
2005-11-15More typos (especially indicies -> indices), checked with jmc@Miod Vallat
2005-11-13move kgdb_connect and kgdb_panic into MI. looked by miod@ and kettenis@Federico G. Schwindt
2005-11-11Enable or disable keyclick on attach, based upon the PROM keyboard-click?Miod Vallat
property. Tested with type 3 and type 4 keyboards.
2005-11-11fix kgdb compilation; input and ok miod@.Federico G. Schwindt
2005-11-10remove unused header.Federico G. Schwindt
2005-11-09splimp -> splnetBrad Smith
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-25On Sun4m, be sure to steal the overlapping part of the iommu dvma spaceMiod Vallat
and kernel_map from the latter. Otherwise, very bad things happen when kernel_map usage grows.
2005-09-21Reduce NKMEMPAGES_MAX_DEFAULT_SUN4M, or we may allocate too much of kernel_mapMiod Vallat
on large memory sun4m machines.
2005-09-15Change child_return() to record a proper ktrace record for vfork childMiod Vallat
processes. ok art@ uwe@ (some time ago)
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-18Skip (trap) instruction in cpu_fork() instead of proc_trampoline().Mark Kettenis
Add special handling for init(8) in setregs(). Fixes returning from fork(2) in the child with a pending signal. ok deraadt@, art@ (screaming in agony)
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-08-06We do not need a char machine_arch[] constant.Miod Vallat
ok deraadt@
2005-08-03enable safte and ses on all archs that appear to have real scsi bussesDavid Gwynne
ok deraadt@ beck@ marco@
2005-07-31Get rid of unused SINCR and SSIZE constants.Miod Vallat
2005-07-31remove the config glue between the /dev entry for ses and its driverDavid Gwynne
sure deraadt@
2005-07-31Introduce bpf_mtap_af and bpf_mtap_hdr to be used when passing a mbuf chainChristopher Pascoe
to bpf with either an address family or other header added. These helpers only allocate a much smaller struct m_hdr on the stack when needed, rather than leaving 256 byte struct mbufs on the stack in deep call paths. Also removes a fair bit of duplicated code. commit now, tune after deraadt@
2005-07-19On the SPARCbooks, allow tctrl(4) to control the external video output,Miod Vallat
acting when the external display status changes, with the help of the pnozz(4) driver.
2005-07-17Oops, forgot to commit this file (Tadpole SPARCbook modem attachment code).Miod Vallat
2005-07-17Attach com(4) to the built-in modem found on Tadpole SPARCbooks.Miod Vallat
2005-07-17If the internal battery is missing, report it as absent rather than in anMiod Vallat
unknown state.
2005-07-17Always turn off video when the lid is closed; this behaviour was lost in r1.8.Miod Vallat
2005-07-17Do not claim this driver uses a soft interrupt in dmesg since it is not true.Miod Vallat
2005-07-14More netccitt and netns removals; OK henning, brad, mickeyUwe Stuehler
2005-07-09Do not #include "foo.h" and keep the whole file between #if NFOO >0 ... #endif,Miod Vallat
config(8) will not bring us into play unless NFOO > 0 anyway.
2005-07-09In the interrupt handlers, clear the interrupt condition explicitely;Miod Vallat
saves us a few unnecessary colormap updates.
2005-07-08The Tadpole SPARCbook S3000XT apparently needs auxio bit frobbing, in additionMiod Vallat
to a tctrl command, to turn the screen off (or back on), so deal with it. (untested)