summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2003-08-01No semicolon at the end of macros supposed to be atomic statements.Miod Vallat
2003-08-01Compensate for the assym.h lossage, which defines NBPG for now (this will beMiod Vallat
cleaned up soon...)
2003-08-01Do not use hardcoded values for constants which are in fact computed from otherMiod Vallat
constants.
2003-08-01Turn flush_pipeline() in a simple macro.Miod Vallat
2003-08-01Define a more reasonable label_t size.Miod Vallat
2003-08-01Even better varargs code, inspired by and more closer to the powerpc code,Miod Vallat
necessary for proper gcc 2.95 operation.
2003-08-01Fix pcctwo locator typosMiod Vallat
2003-08-01${LIBGCC} is useless, since libgcc.a does not live in /usr/lib; instead,Miod Vallat
use gcc to get the correct location.
2003-08-01Fix the *longjmp() behaviour - it is legal to reuse a jmp_buf several times.Miod Vallat
Gets us a working perl 5.8.
2003-08-01remove the strcpy/strcat macrosAnil Madhavapeddy
deraadt@ ok
2003-07-31remove autoconf_nzs; from netbsdJason Wright
2003-07-30an absolute cure for an inherited arrhythmia w/ uninitialized variableMichael Shalayeff
2003-07-30kill sample device mappings as not really usefulMichael Shalayeff
2003-07-30deduce the leds address from the model number and thus make some more use of ↵Michael Shalayeff
that lichtenblinkenschmutz on some more machinens
2003-07-30give those leds some hasteMichael Shalayeff
2003-07-30support for vt8231 from netbsd via pr3362 and tested by matthew.gream@pobox.comMichael Shalayeff
2003-07-29load_raw did not set all the needed fields in the dmamap.Michael Shalayeff
make sure to allocate dmamem in one segment. do not allocate extra va for dmamem allocated -- just reuse the already there equ mapping of pa and thus implement the dmamem_free as a pglist free.
2003-07-29move spl checking wrap over the syscall into trap.c:syscall();Michael Shalayeff
this gives several benefits: the arguments for a syscall printed are the exact args and not some wild guess fetched from the user stack; the check does not include the AST traps that may be checked on their own in the trap() routine should be desired; kill last use and thus itself the fuword() function and it's glue.
2003-07-29Remove a diagnostic print which was left in the code to determine howDale Rahn
bad integer division is for calculation of the tick timer. Turns out that the typical error on most machines is < .005% just a few seconds per week. Not enough to bother with at this time.
2003-07-28nuke more MATH_EMULATEJason Wright
2003-07-28remove the non-licensed i386 math emulation stuff. This only leaves theJason Wright
gnu stuff as an option until it is replaced RSN. ok deraadt.
2003-07-26on syscall exit restore old cpl if there is a need; move call for softints ↵Michael Shalayeff
processing towards after that
2003-07-25use names not numbers for msrs, do not define yet another implementation of ↵Michael Shalayeff
wrmsr/rdmsr
2003-07-25s/CPUID_SYS2/CPUID_SEP/ to avoid confusionMichael Shalayeff
2003-07-25let ALWAYS_MATH_EMULATE actually compileJason Wright
2003-07-25make sure SYSENTER registers are 0 at boot time. should fix an unusualTed Unangst
DOS reported by Michal Zalewski to bugtraq. ok mickey@ toby@
2003-07-24a whole bunch of tyop fixes from Andrey SmaginJason Wright
2003-07-23add ahc and clean things a bitJason Wright
2003-07-22Fix .depend generation for assym.h. Resolves PR 1154.Otto Moerbeek
ok deraadt@
2003-07-19The last parameter to _dma_init for wdc code is flags, not read,Dale Rahn
mask of just the desired bit. ok grange@
2003-07-19don't specify the leading "/" in MANSUBDIR (otherwise "//" occurs)David Krause
ok millert@
2003-07-16sun disklabels need updating too. frag size -> 2048.Ted Unangst
pointed out by deraadt@
2003-07-16Add support for unbuffered SBus LANCE devices. jason@ and deraadt@ OKTodd C. Miller
2003-07-16only match int-eg on gecko sgc cardsMichael Shalayeff
2003-07-15hptmask goes away as a register and frees one tmp crMichael Shalayeff
2003-07-15model and revision were swappedplaces in the structMichael Shalayeff
2003-07-15more dmamap_load_* functions stolen from other places and de-registerMichael Shalayeff
2003-07-15include the puc stuff (currently commented out in GENERIC)Jason Wright
2003-07-15match on ich5 as piix; from couderc@Michael Shalayeff
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-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.