summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2003-07-14regenTodd C. Miller
2003-07-14Add Siemens SpeedStream 1021Todd C. Miller
2003-07-14tickspending is now a private variable of clock.cDale Rahn
2003-07-14'dual' clock support for macppc, this allows the stat clock to runDale Rahn
at a rate independant of the HZ clock. when profiling is enabled stat clock now runs at 1000/s instead of the normal 100/s. Other improvements to the ppc clock handling and KNF/ansi.
2003-07-14For completeness, handle ldqf/stqf alignment faults by calling the emulationJason Wright
routine. According to the spec, ldqf/stqf requires word alignment, but can generate a ldqf/stqf alignment exception if the data isn't quad word aligned. Since the emulation routine only requires word alignment anyway, this seems to be the right thing to do.
2003-07-14i_loadstore is missing the rs1 decode which shifts the i_i bits and i_simm13Jason Wright
left 5 bits. Luckily this isn't used except for debug code.
2003-07-14cleaning and undef DEBUG_EMULJason Wright
2003-07-13whoa, gcc wasn't at fault: i_loadstore was missing 5 bits, which was causingJason Wright
the decode to be wrong.
2003-07-13my loathing for gcc runneth over: another case where a bitfield isn'tJason Wright
decoded properly with the instruction decode stuff.
2003-07-13make this compile on big endian systems.Brad Smith
-- From: NetBSD
2003-07-12Remove two htons(), which were meant as ntohs(), and are wrong sinceDaniel Hartmeier
ip_ouput() flipped byte order. From Pyun YongHyeon. ok itojun@
2003-07-12Prevent u_int16_t variable from overflowing and get rid of the compilerDaniel Hartmeier
warning. From Pyun YongHyeon. ok itojun@
2003-07-12grr. gcc has bugs in its bitfields, work around it.Jason Wright
2003-07-12%asi is in tf_tstate... nail the last variant of ldqfa/stqfaJason Wright
2003-07-12almost full emulation of stq(a)/ldq(a):Jason Wright
- the only missing bit is the variant that uses %asi... explicit asi or implicit asi appears to work - also, a slightly improved popc loop based on a link from otto
2003-07-11Set pcb_onfault earlier in 386 version of copyout and clean upArtur Grabowski
some register handling. Based on NetBSD. Solves one of the problems on 386. toby@ ok.
2003-07-11debug only; mickey okTheo de Raadt
2003-07-11fix some displays;Jason McIntyre
2003-07-10unlock on error condition. from Tim Wiess. ok csapuntz@ millert@Ted Unangst
2003-07-10in statfs, cast disk size to int64_t to prevent overflow on large disks.Ted Unangst
from Peter Galbavy
2003-07-10unifdef -UNEW_FPSTATE in attempt to make it more clearJason Wright
2003-07-10small bit of cleaningJason Wright
2003-07-10- working emulation for POPC instructionJason Wright
- good start are fully decoding LDQF(A)/STQF(A)
2003-07-10more instructions in type 3, op=2Jason Wright
2003-07-10correct another incorrect comparison in ip6 normalization.Jun-ichiro itojun Hagino
don't use m->m_pkthdr.len for checking, as it is not reliable
2003-07-10wrong comparison of IPv6 packetsizeJun-ichiro itojun Hagino
2003-07-09part of infrastructure to deal with emulated stqf/ldqf:Jason Wright
T_ILLINST handler fetches instruction and decodes it. If it's stqf, ldqf, stqfa, or ldqfa call emulation instead of SIGILL directly. Note: this still SIGILL's in the end, the emulation isn't done yet.
2003-07-09check if m->m_pkthdr.len is too shortJun-ichiro itojun Hagino
2003-07-09don't check exact ip6_plen and m->m_pkthdr.len match, as ip6_input()Jun-ichiro itojun Hagino
does the m_adj() only after filtering. reported by marc
2003-07-09do not flip ip_len/ip_off in netinet stack. deraadt ok.Jun-ichiro itojun Hagino
(please test, especially PF portion)
2003-07-09syncOtto Moerbeek
2003-07-09Add V3 V961PBC i960 Host-PCI and VIA VT8751 Host-PCIOtto Moerbeek
ok deraadt@ henning@
2003-07-09Eliminate creation/destruction of dmamap's for every xmit by reusingKenneth R Westerback
statically allocated maps. Significant performance boost on both sparc64 and macppc. Tested on macppc by drahn@. ok jason@ drahn@.
2003-07-09fix whitespaceMarkus Friedl
2003-07-09another instruction correction: STQDC -> STQFAJason Wright
2003-07-09corrections/filling of type 3 v9 instructionsJason Wright
2003-07-09add trap entries for LDQF/STQF alignment faults, but handle them asJason Wright
SIGILL for now. Also split out T_INST_EXCEPT and T_TEXTFAULT from T_ILLINST pending handling of LDQF/STQF illegal instruction faults.
2003-07-09KNFDaniel Hartmeier
2003-07-09better vif_delete (no dangling ref to struct ifnet). deraadt okJun-ichiro itojun Hagino
it won't affect default GENERIC build - as MROUTING is not defined
2003-07-09add a bunch more traps from the v9 specJason Wright
2003-07-09s/Tryap/TrapJason Wright
2003-07-09Fix problems with ICS1893 PHY and some sis chipsets.Kenneth R Westerback
Partial re-sync with FreeBSD, from Jeorg Sonnenberger. Tested by Jeorg, Henning@, Paul de Weerd, Otto@, and myself. ok henning@ deraadt@
2003-07-08The best read code of mice and men, ... (reviewed by /dev/null)Dale Rahn
2003-07-08Improved timebase register handling. use all 64 bits, instead of theDale Rahn
lower 32 bits.
2003-07-08unifdef -U__otherBSD__Jun-ichiro itojun Hagino
2003-07-08add ep@pcmcia and phys, commented out an and comMichael Shalayeff
2003-07-08BUS_SPACE_BARRIER_{READ,WRITE} are needed for some drivers -- fakeMichael Shalayeff
2003-07-08no need for an explicit machine/intr.h; tested on alpha, i386, sparcMichael Shalayeff
2003-07-08syncDamien Couderc
2003-07-08add Intel 82865G/PE/P, Intel 82801ER and 3Com 3c940 deraadt@ okDamien Couderc