summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2002-12-03Use bus_space_vaddr() instead of checking the mapping directly (this willJason Wright
be necessary soon); from henric@
2002-12-02Skip the ffb0, ffb1, pcia/slot2 (for psycho), and pcia/slot3 (for psycho)Jason Wright
interrupt map matches; from FreeBSD.
2002-12-02remove trm to fit propolice onto the floppyTheo de Raadt
2002-12-02remove aic to fit propolice onto the floppyTheo de Raadt
2002-12-02Import propolice (http://www.trl.ibm.com/projects/security/ssp), a stackMiod Vallat
attack protection scheme, into gcc. This protection is enabled by default. It can be turned off by using the -fno-stack-protector flag. Code by Hiroaki Etoh (etoh at jp dot ibm dot com); work on openbsd-specific integration by fgsch@, deraadt@ and myself; tests by fgsch@, naddy@ and myself; beer drinking by myself. Please note that system upgrades with this new code will require a new libc and ld.so to be build and installed before the propolice-enabled compiler can be installed.
2002-11-30Add driver for Belkin usb serial adapters.Nathan Binkert
Driver from Alexander Kabaev <kan.FreeBSD.org> and Ichiro FUKUHARA <ichiro@ichiro.org>
2002-11-30add uvscom(4), but comment it outNathan Binkert
2002-11-29inconsistant spelling; torh@bogus.netTheo de Raadt
2002-11-29Foward; torh@bogus.netTheo de Raadt
2002-11-29Upon detection of an international Sun keyboard with a recognized layout,Miod Vallat
attach it with the appropriate keymap table, rather than the default KB_US table. If this is not the expected behaviour, users can still revert to US layout via "kbd us" or "wsconsctl -w keyboard.encoding=us". As the installation media uses the prom console, which will honor the international keyboard layout, this will definitely help users with international keyboards and fancy characters in their passwords... Note that there is still some Sun keyboard tables missing at the moment.
2002-11-28same devices named the sameMichael Shalayeff
2002-11-28generic isa mpu, from Sergey A. Smitienko w/ fixes from meMichael Shalayeff
2002-11-27no wrapper arounf hardclock(), use CPU_CLOCKUPDATE, real microtime; miod okMichael Shalayeff
2002-11-26Make the PTE constants unsigned long with UL.Artur Grabowski
The macro PG_PALCODE in pte.h is supposed to be used when comparing two ptes to see if we need a tlb flush. For that it uses the macro ALPHA_PTE_PALCODE which in turn is defined to ~ALPHA_PTE_SOFTWARE. Unfortunately ALPHA_PTE_SOFTWARE is small enough to fit in an int, so ALPHA_PTE_PALCODE becomes an int to and the masking in PG_PALCODE masks off the pfn in the pte and pmap_enter will then fail to flush certain TLB entries when it needs to (this situation shouldn't happen too often). This might or might not be the solution for the memory corruption bug I've been hunting for the last three months (the machine still borks up, but in different ways now).
2002-11-25enable fxp(4) and xl(4) on sparc64; ok jason@Christian Weisgerber
2002-11-24also no opt_user_ldt.hPhilipp Buehler
miod@, millert@ ok
2002-11-24Be sun4m-friendly in FDC_C_HANDLER case.Miod Vallat
2002-11-24Fix a kernel fault in FDC_C_HANDLER code.Miod Vallat
2002-11-24Make this compile again if FDC_C_HANDLER is defined.Miod Vallat
2002-11-24When initializing the colormap on low depth frame buffers, pick valuesMiod Vallat
from rasops_cmap table, rather than providing our own, especially when they are wrong.
2002-11-23Mention that hme does not work in sun4c machines.Miod Vallat
2002-11-22new sysctl: machdep.v8mul says whether the kernel replaced the mul/div/remTheo de Raadt
stubs, so that userland can do the same. we cannot just determine based on sun4m, because cypress (at least) is a sun4m cpu without the instructions
2002-11-22Add xl for pci and cardbus. It seems to work, needs additional testing...Dale Rahn
2002-11-21add ubsec and lofnJason Wright
2002-11-21MID_MACHINE should not be 0 (MID_ZERO) but MID_POWERPC,Dale Rahn
not used in kernel anyway. pointed out by art@
2002-11-20You know why I love Sun? Consistency... deal with another weirdo rootJason Wright
device selection situation (IDE disk controllers on the AX).
2002-11-19a typo; from David KrauseMichael Shalayeff
2002-11-17Remove old unused debugging code.Dale Rahn
2002-11-14get more use of the shadowed regsMichael Shalayeff
2002-11-13print 'banner-name' instead of 'name' for mainbus (when available)Jason Wright
2002-11-12build program on hppa onlyTheo de Raadt
2002-11-11Proper defines for powerpc kernel profiling.Dale Rahn
2002-11-11Various little pmap changes:Miod Vallat
- get rid of splpmap, use splvm everywhere - harmonize some 4_4c routines to wake them easier to diff against 4m - fix an spl botch in can't happen situations on 4_4c - fix pmap_stas.ps_npg_prot_all on 4m in case someone cares - slightly better pmap_kenter_pa and pmap_kremove on 4_4c art@ ok
2002-11-10Use appropriate VM_MAP constants rather than hardcoded values inMiod Vallat
uvm_map_create() and uvm_km_suballoc().
2002-11-10some creamy fillingMichael Shalayeff
2002-11-09Instead of relying on uvm_useracc(), get a false sense of security, andMiod Vallat
do not check copyin() result, take care and properly handle copyin() failure. This was not harmful, but a bit more correctness never harms.
2002-11-09- make IFF_SIMPLEX only set if the media is IFM_FDX (prevents ip6 fromFederico G. Schwindt
seeing it's packets and thinking another machine with the same mac is on the wire when running half-duplex); from NetBSD. tested by matthieu, jason and him ok.
2002-11-08absolutely no need to save the fpu state before rewriting the fpu regs, just ↵Michael Shalayeff
reset the curpcb and force a reload
2002-11-08hmm, todos seem to be unapplicable no moreMichael Shalayeff
2002-11-08only reset the pending fpu exceptions on fork, not the rest of the fpu ↵Michael Shalayeff
status reg
2002-11-08prepare for bktr on macppc (commented out in generic for now); drahn@ okMichael Shalayeff
2002-11-08Don't uvm_useracc the user sigcontext in sys_sigreturn and then accessMichael Shalayeff
the user addresses directly from the kernel. copyin is faster and can correctly deal properly with mappings that uvm_useracc thinks are correct but will fault anyway (to figure out how to generate such mappings is left as en excercise for the reader).
2002-11-08Don't uvm_useracc the user sigcontext in sys_sigreturn and then accessMiod Vallat
the user addresses directly from the kernel. copyin is faster and can correctly deal properly with mappings that uvm_useracc thinks are correct but will fault anyway (to figure out how to generate such mappings is left as en excercise for the reader). Blatantly stolen from art@'s similar fix to sparc.
2002-11-07dev/isa/i82365_isasubr.c is needed for pcic at pci; from Bernard Gardner via ↵Michael Shalayeff
pr2962
2002-11-07pmap_[de]activate() are not nops; w/ art@'s helpMichael Shalayeff
2002-11-07make pte flushing into a separate function,Michael Shalayeff
add a missing pte flush in page_remove(), removed a few dead debugs and ifdefs. use local vars inestead of long -> chains./ miod@ ok
2002-11-07Don't uvm_useracc the user sigcontext in sys_sigreturn and then accessArtur Grabowski
the user addresses directly from the kernel. copyin is faster and can correctly deal properly with mappings that uvm_useracc thinks are correct but will fault anyway (to figure out how to generate such mappings is left as en excercise for the reader).
2002-11-07Small simplification in sendsig.Artur Grabowski
In sys_sigreturn - don't uvm_useracc the context address and then copyin it afterwards. The copyin deals better with finding if the user address is correct and it's faster.
2002-11-06- always initialize colormaps, even if the frame buffer is non console; thisMiod Vallat
helps if the ramdac does not get initialized (idea from jason@) - only register a shutdown hook for the frame buffers which need it, if this is the console frame buffer. Otherwise this is just a waste of time.
2002-11-06Eliminate the use of KERN_SUCCESS outside of uvm/Artur Grabowski
Also uvm_map returns KERN_* codes that are directly mapped to errnos, so we can return them instead of doing some attempt to translation. drahn@ "I see no problem" pval@ "makes sense"