summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
AgeCommit message (Collapse)Author
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
2002-07-10proper cdev_decl(ksyms), fix ksyms's broken functionsMichael Shalayeff
2002-07-09try to disable vsync timing if sparc_vsyncblank is setJason Wright
2002-07-09typo in panic message.Artur Grabowski
2002-07-09When building ptes manually for pmap_zero_page4m and pmap_copy_page4mArtur Grabowski
use explicit PPROT_N_RX and PPROT_N_RWX, don't treat the pte permissions as bitmasks (they aren't).
2002-07-09allow getting and setting of the ADC, DAC, and PIO ports on the daadio (this ↵Jason Wright
has been sitting in my tree for awhile)
2002-07-08bzero the correct size (I swear this worked at one time...)Jason Wright
2002-07-08Correctly convert to new timeouts (this hasn't compiled for awhile)Jason Wright
2002-07-08in addition to check cd_ndevs, also check that cd_devs[N] != NULLJason Wright
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)