summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
AgeCommit message (Collapse)Author
2006-01-08Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2Todd C. Miller
2006-01-06Don't redefine SIZE_MAXTodd C. Miller
2006-01-06Adapt things to use __type_t instead of _BSD_TYPE_T_Todd C. Miller
Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable
2006-01-06Merge machine/ansi.h and machine/types.h into machine/_types.h andTodd C. Miller
rename the types using the __ protected namespace (e.g. __size_t). Idea from FreeBSD.
2005-12-31Split the d_type field of cdevsw entries into d_type and d_flags for clarity.Miod Vallat
Discussed with and ok deraadt@ millert@
2005-12-14make va_arg() map to nothing; ok millertTheo de Raadt
2005-12-14convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@Todd C. Miller
2005-12-14Make clock_t consistent across platforms as a 32 bit int. OK deraadt@Todd C. Miller
2005-12-13nuke unused BTOPKERNBASE defineMartin Reindl
pointed out by miod@
2005-12-13First step in include files overhaul. Use __FOO_VISIBLE (as definedTodd C. Miller
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@
2005-11-24add lint-specific hacks. at the same time, clean out a lot of ancientTheo de Raadt
cruft for old compilers and environments. there may be a 2nd round of polishing after this; ok miod and others
2005-11-23finnish the PTDPTDI and APTDPTDI conversion to PDSLOT_PTE and PDSLOT_APTE ↵Michael Shalayeff
thus reducing confusion; remove compatibility defines and comments
2005-11-23kill two old mach macros that are not used anywhere in the tree anymore (or ↵Michael Shalayeff
ever)
2005-11-23resolve a couple of problems in mpbios-mapped interrupts:Michael Shalayeff
- synthesise isa mappings (as 1-1) should those be missing in mpbios; - for rcc osb* firce "special" ints into isa mappings always. niklas@ ok and testing by many since
2005-11-22pm_pdirpa is apaddr_t and PTDpaddr (on the contrary) is u_int32_tMichael Shalayeff
2005-11-22bios gives 32bit units not paddr/psize; no func changeMichael Shalayeff
2005-11-14convert and remove the last traces of i386_round_page(),Martin Reindl
i386_trunc_page(), i386_btop() and i386_ptob()
2005-11-13move kgdb_connect and kgdb_panic into MI. looked by miod@ and kettenis@Federico G. Schwindt
2005-11-04only build powernow pieces as appropriate for config'd cpu typesTed Unangst
2005-10-28update support for powernow (cool and quiet) on k7, and add supportTed Unangst
for k8. preliminary and not well tested yet. from freebsd via gordon klok.
2005-10-26Add basic handler for MCE and MCA. Written mostly by toby@ and commiting forMarco Peereboom
toby@ per his request. ok marco@
2005-09-25Turn CPU_INFO_FOREACH into a real construct, like all queue(3) iterators,Miod Vallat
instead of the contents of a for() loop. No functional change. From the m88k SMP tree; ok art@ deraadt@ [complete diff this time]
2005-09-20unbreak tree, how did you do that miodTheo de Raadt
2005-09-20Turn CPU_INFO_FOREACH into a real construct, like all queue(3) iterators,Miod Vallat
instead of the contents of a for() loop. No functional change. From the m88k SMP tree; ok art@ deraadt@
2005-08-20PNI was changed to be known as SSE3 by Intel so makeJonathan Gray
a similiar change when reporting CPU features here. ok deraadt@
2005-08-01kernal->kernel;Jason McIntyre
from netbsd pr #30872 (anonymous post); ok deraadt@ krw@
2005-07-31Get rid of unused SINCR and SSIZE constants.Miod Vallat
2005-07-18save/restore fpu for the signal handler call in the trampoline.Michael Shalayeff
modeled after sparc together w/ deraadt@; deraadt@ ok
2005-07-18remove trailing newline in panic(9); ok millert@ and deraadt@Federico G. Schwindt
2005-06-26cpu0: RNG AES AES-CTR SHA1 SHA256 RSATheo de Raadt
on fancy new VIA C3 Esther (aka C7) cpus
2005-06-02Start on a basic ACPI framework -- does not do much more than read out theThorsten Lockert
ACPI tables into kernel memory and attach ACPI and HPET timers currently. In order to test this code, enabling the devices in GENERIC as well as the ACPI_ENABLE option is needed. This code does not do any thermal control yet, so this should be done with care depending on the platform. In the tree so more people can contribute to making this more fully featured. Ok niklas@ grange@ tedu@
2005-05-31IPL_SCHED should block statclock on architectures where the schedulerArtur Grabowski
is clocked by the statclock. miod@ ok
2005-05-29sched work by niklas and art backed out; causes panicsTheo de Raadt
2005-05-27Enable SSE instructions on secondary (i386) processors inKjell Wooding
a multiprocessor boot. This fixes the hardware AES (and likely RNG) instruction on the dual VIA, which was failing because the SSE/SSE2 extensions are never enabled on any processor but the boot processor. Much assistance from niklas, and the eureka moment from theo. "commit it" deraadt@
2005-05-25This patch is mortly art's work and was done *a year* ago. Art wants to thankNiklas Hallqvist
everyone for the prompt review and ok of this work ;-) Yeah, that includes me too, or maybe especially me. I am sorry. Change the sched_lock to a mutex. This fixes, among other things, the infamous "telnet localhost &" problem. The real bug in that case was that the sched_lock which is by design a non-recursive lock, was recursively acquired, and not enough releases made us hold the lock in the idle loop, blocking scheduling on the other processors. Some of the other processors would hold the biglock though, which made it impossible for cpu 0 to enter the kernel... A nice deadlock. Let me just say debugging this for days just to realize that it was all fixed in an old diff noone ever ok'd was somewhat of an anti-climax. This diff also changes splsched to be correct for all our architectures.
2005-05-25comment typoJason Wright
2005-05-13Kill <machine/spkr.h>, software should use <dev/isa/spkrio.h> instead.Miod Vallat
2005-04-19nothing uses spllowersoftclock() anymoreMichael Shalayeff
2005-04-14internal _BSD_WCTRANS_T_, _BSD_MSTATE_T_, _BSD_WCTYPE_T_ types.Marc Espie
2005-04-11use MD #define to choose stackgap size per-architecture. on sparc, specialTheo de Raadt
case sun4c/sun4 -- because address space is more constrained
2005-04-08add rcs idsJolan Luff
2005-04-03Implemente PT_[GS]ETXMMREGS ptrace(2) requests on i386.Mark Kettenis
ok deraadt@
2005-02-17miscellaneous typo fixes:Jean-Francois Brousseau
- sturct -> struct (spotted by pedro) - elimination of consecutive 'the' words ok jmc@, henning@, krw@, robert@, some whining by jolan@
2005-01-09typo in comment; ok many peopleJason McIntyre
from freebsd kern/75923;
2005-01-07Fix profiled kernel builds on i386 by moving splraise/splx code into macrosChristopher Pascoe
permitting non-recursive reuse in mcount. Should be a no-op for normal builds.
2005-01-04SET_PC_REGS, arches tested between me and miod.Marc Espie
2004-12-24Rewrite intlock/intunlock not to pass around interrupt frame directlyPeter Valchev
without copying which is against C conventions and broke GENERIC.MP with a gcc3 optimization From niklas, tested by many
2004-12-14fix a comment.Hans-Joerg Hoexer
ok deraatd tdeval
2004-11-28MAXSLP is not really an MD-configurable define so move it to param.h; miod@ ↵Michael Shalayeff
testing
2004-11-26Kill __HAVE_EVCOUNT, now that all architectures provide them.Miod Vallat