summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2010-11-15add urtwn(4) to more USB 2.0 capable architectures, since it worksDamien Bergamini
on sparc64 and macppc. prodded by jsg@
2010-11-15rename aesni_sess to aesni_session; bugged me all the timeMike Belopuhov
2010-11-15do session allocations from the poolMike Belopuhov
2010-11-15thrash less cache lines and zero out only what we've touchedMike Belopuhov
2010-11-15convert one if-else instance to the switch to ease gcm integration;Mike Belopuhov
use proper define for the initial counter block
2010-11-15round up crd_len to the blocksize; will be needed for gcmMike Belopuhov
2010-11-15there's either mbuf or an iovec, no other option is possibleMike Belopuhov
2010-11-14remove unused header fileTakuya ASADA
2010-11-13Switch from TSS-per-process to TSS-per-CPU, placing the TSS rightPhilip Guenthe
next to the cpu's GDT, also making the double-fault stack per-CPU, leaving it at the top of the page of the CPU's idle process. Inline pmap_activate() and pmap_deactivate() into the asm cpu_switchto routine, adding a check for the new pmap already being marked as active on the CPU. Garbage collect the hasn't-been-used-in-years GDT update IPI. Tested by many; ok mikeb@, kettenis@
2010-11-12Push all potential (as in, all system MI not utilized by the bootblocks)Theo de Raadt
.h files into the ctags run as well to bring #define's and structs and such into scope. Problem reported by thib
2010-11-11Replace snprintf(foo, sizeof foo, "%s", ...) with strlcpy. ok deraadt@ krw@Miod Vallat
2010-11-11Compute syhcnronous transfer periods with a better accuracy, to get betterMiod Vallat
results on the 16.5MHz clock case. ok krw@
2010-11-11DEC 3000/400 has a 22.5MHz TURBOchannel bus instead of the usual 25MHz;Miod Vallat
correctly report this. Then, in asc@tc, compute synchronous transfer periods (involving the bus clock) with a better accuracy. ok krw@
2010-11-11Pass a few more M_ZERO to malloc() or its wrappers, when useful; ok krw@Miod Vallat
2010-11-11Correctly disassemble ssnop.Miod Vallat
2010-11-10pass aesni_ctr_enc an initial counter block instead of an initialization vectorMike Belopuhov
2010-11-08clear ERL register on secondary processorsTakuya ASADA
2010-11-06urtwn(4) works on sparc64 too.Damien Bergamini
committed from my Sun Blade 1500 with the HWNUp-150.
2010-11-05urtwn(4), a driver for Realtek RTL8188CU/RTL8192CU 802.11n USB devices.Damien Bergamini
these devices are different from the RTL8191SU/RTL8192SU ones that are not supported by this driver. requires a firmware (urtwn-firmware-1.0) committed over a Hercules HWNUp-150 (RTL8188CU). ok deraadt@
2010-11-05Sync a bunch of USB devices from i386 to macppc, compiles, butDale Rahn
devices not tested. Not going to get tested unless they are available.
2010-11-03no need to specify the -t flag to ctagsTheo de Raadt
2010-11-03only let vmt match and therefore attach if mainbus is specifically askingDavid Gwynne
for vmt to attach after vmt_probe succeeds. this prevents vmt from appearing at other attach points hanging off mainbus. found by phessler@ and debugged gently by claudio@
2010-11-01use the amd64 name for this frame, instead of the i386 name, to bePeter Hessler
consistent with the rest of the file. requested to be a seperate commit by kettenis@
2010-11-01convert a trap that ends up in 'we_re_toast' from a boot(RB_HALT) into aPeter Hessler
real panic. this brings amd64 inline with all of the other arches. OK kettenis@, mikeb@, krw@, guenther@, thib@
2010-10-28Inital commit of PCI and SATA support for OCTEONTakuya ASADA
2010-10-28Inital commit of PCI and SATA support for OCTEONTakuya ASADA
2010-10-27Report proper pc address in siginfo; found the hard way by naddy@ and gcc 4.Miod Vallat
ok deraadt@
2010-10-27Fix a few logic errors in comparison instruction emulation: make sure theMiod Vallat
less than relation is correctly computed, and check for both operands being signaling NaNs, instead of only the first NaN found, to decide whether to raise an invalid exception or not.
2010-10-26thib missed this architecture when he did all the other architectures;Theo de Raadt
ok thib jsing -- Move the MSIZE, MCLSHIFT, MCLBYTES and the MCLOFSET mbuf constants from MD param.h to MI param.h. Besides being the same on every arch, things will most probly break if any arch has different values then the others. The NMBCLUSTERS constants needs to be MD though; ok miod@,krw@,claudio@
2010-10-26The LDT is only used by dead compat code now, so load the ldtPhilip Guenthe
register with the null selector (disabling use of it), stop reloading it on every context switch, and blow away the table itself, as well as the pcb and pmap bits that were used to track it. Also, delete two other unused pcb members: pcb_usersp and pcb_flags. (Deleting pcb_usersp also keeps the pcb_savefpu member aligned properly.) Finally, delete the defines for the unimplemented AMD64_{GET,SET}_LDT sysarch() calls. Tested by various with both AMD and Intel chips ok mikeb@
2010-10-26enable vmt(4). hopefully it will get some use soon.David Gwynne
"sure." deraadt@
2010-10-26Replace broken CF driver with new one, fixed bus_space base address.Takuya ASADA
2010-10-24Move build_trampoline() and setregs() to a common location for all mips ports.Miod Vallat
2010-10-24Don't short-circuit userret() when returning from trap() in the rm7000Miod Vallat
performance counter code path (which is not enabled at the moment).
2010-10-23Add working compile directoryMiod Vallat
2010-10-19grow i386 inside media a teeny bitTheo de Raadt
2010-10-14Move glxpcib(4) to MI land unifying the two MD drivers.Paul Irofti
Specific features of the companion chip will be handled in MD land. Okay deraadt@.
2010-10-14Clean up segment handling: switch user-space to using code and dataPhilip Guenthe
segments in the GDT instead of the LDT and eliminate the GDT slots that we don't actually use. tested on both amd and intel by several not really the right person, but ok: kettenis@
2010-10-13do the same thing for the cd:Mike Belopuhov
shave some bytes off the ramdisk kernels by disaling a bunch of custom pci to isa bridge drivers. pcib(4) will cope with the loss. suggested by brad, deraadt agrees, so does kettenis
2010-10-13shave some bytes off the ramdisk kernels by disaling a bunch ofMike Belopuhov
custom pci to isa bridge drivers. pcib(4) will cope with the loss. ok deraadt
2010-10-12Force openings to 1 for devices that can't do tagged i/o, i.e. moreKenneth R Westerback
than 1 i/o active at once. This reduces the chances that concurrent i/o's for such devices will confuse the device or the adapter code. It also eliminates a reason for adapter code to maintain its own queues. Tweak all drivers that fake INQUIRY results to set the SID_CmdQue flag, thus continuing to claim to be able to do tagged i/o. Positive feedback from matthew@ and marco@ for an earlier version. ok dlg@
2010-10-11correct MACHINE, MACHINE_ARCHTakuya ASADA
2010-10-10Compact Flash support for OCTEONTakuya ASADA
2010-10-08allocate a major number to midi, since midi is already enabledAlexandre Ratchov
ok deraadt, miod
2010-10-06Save and restore the lapic Task Priority register accross suspend/resume,Mark Kettenis
otherwise we wake up at IPL_NONE instead of IPL_HIGH. ok deraadt@
2010-10-06Correct the condition under which the x_wakeup_vector is cleared.Theo de Raadt
ok mlarkin
2010-10-04add support for midi(4) ports to envy(4)Alexandre Ratchov
2010-10-03Remove unused header. ok deraadt@Takuya ASADA
2010-10-03Follow recent changes on mip64 FPU handling. ok deraadt@ miod@Takuya ASADA
2010-10-02turn off lid suspend if we doing halt -pTheo de Raadt
ok kettenis marco miod