summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
AgeCommit message (Collapse)Author
2002-09-20Support to run the 24 bit fb in 8 bit mode or cg12 in 1 bit modeFederico G. Schwindt
via flags, using 0x0001. miod@ ok.
2002-09-15Begone.Miod Vallat
2002-09-11update from sparc64 version:Jason Wright
-fix several stupid bugs -get encoding setup correct -add support for capture
2002-09-10Change the pmap_zero_page and pmap_copy_page API to take the struct vm_page *Artur Grabowski
instead of the pa. Most callers already had it handy and those who didn't only called it for managed pages and were outside time-critical code. This will allow us to make those functions clean and fast on sparc and sparc64 letting us to avoid unnecessary cache flushes. deraadt@ miod@ drahn@ ok.
2002-09-09Register more screen capabilities to work with the recent wsemul_sun changes.Miod Vallat
2002-09-06Fix pmap_protect for VM_PROT_EXECUTEArtur Grabowski
2002-09-05Allow kernels with no display device configured to link. Found by marc@Miod Vallat
2002-09-05Fix STRIPFLAGS for elf version of strip. Use same flagsMarco S Hyman
as sparc64 (suggested by fgs@)
2002-09-03Old (rev 1) OpenPROM will always report as the "fb" node, the firstMiod Vallat
framebuffer found, even if the PROM environment is set to serial console. Hence, make sure we won't consider this "fb" node as valid until we are really using a graphics console. Will makes drahn@'s IPC happy, and ok jason@
2002-09-02Make the cgfourteen work in 32bit when possible, also display the size ofMiod Vallat
the VSIMM in the dmesg.
2002-08-31Driver for the Vigra VS10 and VS12 SBus framebuffers, and possibly more fromMiod Vallat
this series. Thanks to Andrey Smagin (andrey at smagin dot com) for providing a VS10 card.
2002-08-30Add pnozz and wsdisplay at pnozz for Tadpole users. Spotted by millert@Miod Vallat
2002-08-21Recognize both VSIMM slots, and allow one cgfourteen to attach to eachMiod Vallat
of them.
2002-08-21Correctly map the video memory, for proper operation.Miod Vallat
2002-08-20Because of reversed use of the annul bit and delay slots copyin andArtur Grabowski
copyout could underflow by one byte and write a \0 where is doesn't belong. Don't try to micro-optimize the failure case of copyin and copyout. It's not worth the bugs. miod@ ok
2002-08-16remove debugging codeJason Wright
2002-08-16Scale back rows and columns if the font would not otherwise fit on theTodd C. Miller
display. Otherwise, we would panic in wsdisplay_cnattach(). miod@ OK
2002-08-15One line fix to make boot link from miod whose main NFS serverTodd C. Miller
is down at the moment.
2002-08-12Neuter the machdep.vsyncblank sysctl, as this setting is now controlledMiod Vallat
by wsconsctl. ok art@
2002-08-12Convert sparc console code from rcons and pseudo-devices to rasops and wscons.Miod Vallat
For most framebuffers it is faster. Other changes include: o 24 bit support in tcx(4) for the S24 framebuffer o accelerated cgsix(4) text console o new cgtwelve(4) driver for the GS framebuffer o improved serial driver code o better keyboard support The following framebuffers have not been tested but should work: cgfour, cgeight and cgfourteen These changes will require XF4 changes, to use Xwsfb instead of Xsun*, to be commited later today. Most of the work by me during the LSM and the week after, with code borrowed from jason@, NetBSD (new serial code), and feedback from mickey@. Work on pnozz(4) done by millert@
2002-08-12Provide type information for a few symbols that userland needs.Artur Grabowski
vmstat -i works again.
2002-08-12During prompts on sun4 class machines, disable local echo to preventMiod Vallat
ddoouubbllyy written characters. Modeled from the kernel's prom console routines.
2002-08-12Bump version to 2.2. Suggested by miod@Artur Grabowski
2002-08-11ELF support in sparc bootblocks.Artur Grabowski
Loadfile is from alpha, but heaviliy hacked here. The build is done by building elf versions of boot and bootxx, then merging the .rodata and .text sections into .text with a horrible hack and then using objcopy to convert that into a.out. Maybe someone will want to fix installboot to deal with ELF instead, but I won't be that someone in the nearest future.
2002-08-11ELF support.Artur Grabowski
- _C_LABEL where needed - Rename syscall to _C_LABEL(_syscall) to avoid name conflict with _C_LABEL(syscall) (this one was a real nightmare to find).
2002-08-11NATIVE_EXEC_ELF for sparc and ELF reloaction types.Artur Grabowski
2002-08-11ELF support for DDB.Artur Grabowski
2002-08-11Change to ELF-style linking.Artur Grabowski
2002-08-11_C_LABEL where necessary.Artur Grabowski
2002-08-11A horror hack for merging the .text and .rodata sections in elfArtur Grabowski
binaries so that we can use objcopy to convert them to a.out.
2002-08-11Use _C_LABEL for c labels.Artur Grabowski
2002-08-11Prepare for ELF.Artur Grabowski
2002-08-09Add an explicit dependancy of assym.h to Makefile.Miod Vallat
This makes sure it will be regenerated if you run config(8) again.
2002-08-08call setcontext{4,4m} directly when we know the CPU type alreadyJason Wright
2002-08-08Completely rework transmit interrupt handling:Jason Wright
- try to handle tx ring reclaim in bestart() - if we pass over the high water mark, enable TX interrupts - disable them again when the low water mark is passed Thanks to mickey@ for enduring 4 versions of this =)
2002-08-07KNF (parenthesized returns)Jason Wright
2002-08-02Do correct bounds checking in get/set/put cmap routines. A few ofTodd C. Miller
these check were already OK but have been modified for consistency. Problem found by Silvio Cesare.
2002-07-30Add SIZE_MAX define. This is the same as SIZE_T_MAX but more portable.Todd C. Miller
The only OSes I've seen that use SIZE_T_MAX are 4.4BSD-derived whereas SYSV things seem to use SIZE_MAX. It is also consistent with SSIZE_MAX (which we already have). deraadt@ OK
2002-07-28Add 'option NFSCLIENT' to macppc RAMDISK.Kenneth R Westerback
Delete (comment out) 'option NFSCLIENT' in sparc, sparc64, and sun3 RAMDISKs. This brings the presence of /sbin/mount_nfs in the boot image and the presence of NFSCLIENT in the RAMDISK kernel into alignment. Except for sparc64 which will now have mount_nfs removed from the boot image to save space. mvme88k RAMDISK did not need to be adjusted as it only *looks* like it does not have NFSCLIENT. It actually includes the system GENERIC. Investigation for inconsistancies prompted by todd@. This solution recommended by deraadt@.
2002-07-26Zap VM_KMEM_SIZE, not used anymore.Artur Grabowski
Pointed out by francisco <frisco@blackant.net>
2002-07-25really remove itTheo de Raadt
2002-07-25remove the intrhand .comm, which was wrong, and is not neededTheo de Raadt
2002-07-24Support for non-exec mappings on sun4m.Artur Grabowski
- support exec traps and deal with them correctly. - Instead of pretending that the pte permissions are a bit-mask, just make two stupid 8-entry tables (one for kernel, one for userland) that provides translation between VM_PROT* masks and pte permissions. This gives sun4m a non-exec stack.
2002-07-23Define __HAVE_SPLASSERT on architectures that support splassert.Artur Grabowski
2002-07-23Define IPL_NONEArtur Grabowski
2002-07-20define __HAVE_PMAP_PHYSSEGArtur 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-07-17DTIMEXP is not a fatal error, deal with it.Jason Wright
2002-07-15repair tags building (due to obj dirs in /sys)Michael Shalayeff
2002-07-12Use interrupts for fetching ADC conversions instead of polling.Jason Wright