summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
AgeCommit message (Collapse)Author
2006-07-25Kill option GPL_MATH_EMULATE.Mark Kettenis
ok deraadt@ and many others.
2006-07-17id tag.Federico G. Schwindt
2006-07-01Eliminate redundant get_le() in favour of letoh32(). Add letoh32()Kenneth R Westerback
calls in alpha, hppa, hppa64 and mips63 when accessing the two DOS MBR u_int32_t fields dp_size and dp_start. No functional change.
2006-06-13Kernel virtual mode 8086, currently disabled in GENERIC.Gordon Willem Klok
lots of help at c2k6 and after from toby@, ok toby@, mickey@
2006-06-12Some more improvements to EST:Dimitry Andric
- If an unknown EST CPU is encountered, use the known highest and lowest (and if different, the current) power state to generate a fake power state table on the fly. Thanks to canacar for the idea. - Calculate system bus clock speed before calling est_init(); it is needed to display proper MHz values from MSR values. - Also use the bus clock to identify EST CPU's, which is needed to differentiate e.g. Pentium M 715 and 760, which unfortunately have exactly the same MSR values. - Store power states directly as MSR values. Tested by many, "so when does it go in?" deraadt@
2006-05-29implement reliable microtime on smp (joint work w/ otto):Michael Shalayeff
send a bcast ipi from the cpu0 to all others to timestamp tsc on every clock intr. this way using local tsc provides accurate microtime() measurements. thus gettimeofday test passes now. otto@ deraadt@ ok
2006-05-20add bios_bootmac_t and BOOTARG_BOOTMACTheo de Raadt
2006-05-19Reimplement the Enhanced SpeedStep CPU detection by using theDimitry Andric
quintuplet { vendor, MHz_hi, mV_hi, MHz_lo, mV_lo }, which works much better than parsing the branding string. It also makes it easier to add new models later. Shouldn't break any CPU's which previously worked okay with EST; if there's any trouble, please let me know! Also adds quite a number of VIA C7-M models, and a few more Pentium M models, all from FreeBSD. "go for it" deraadt@
2006-05-19Smbios cleanupGordon Willem Klok
Improve the heuristics a little and extend them to the version and serial number fields. Clean the strings of leading/trailing space and deal with strings which consist entirely of space. Use fixed buffers for strings instead of using pointers into the table. ok deraadt@, and tested by many.
2006-05-09Import global ACPI interrupt code from amd64.Mark Kettenis
ok brad@
2006-05-090x0006 is not a good value for a bit flag, so change it to 0x0008.Tom Cosgrove
Spotted by kettenis@ ok mickey@
2006-05-09Move the sti to after the memory write. We do not want execution ofOtto Moerbeek
this and microtime() to interleave. ok deraadt@ toby@ mickey@
2006-05-08Add smbios support for i386 and amd64, fix ipmi to use this new functionallity,Gordon Willem Klok
hook up some sysctls to add system vendor/product/version and UUID reporting. "get it in" deraadt@
2006-05-01Fixup broken mpbios'es on VT8237 and nForce4 chipsets. Fixes interruptMark Kettenis
routing for several integrated devices on those chipsets in GENERIC.MP. ok brad@, mickey@
2006-04-27implement separate PAE pmap that allows access to 64g of physmemMichael Shalayeff
if supported by the cpu(s). currently not enabled by default and not compiled into ramdisks. this grows paddr_t to 64bit but yet leaves bus_addr_t at 32bits. measures are taken to favour dmaable memory allocation from below 4g line such that buffer cache is already allocated form below, pool backend allocator prefers lower memory and then finally bounce buffers are used as last resort. PAE is engaged only if global variable cpu_pae is manually set to non-zero and there is physical memory present above 4g. simplify pcibios address math to use u_long as we always will be in the 32bit space.
2006-04-27from PAE work:Michael Shalayeff
add a BUS_DMA_24BIT flag to signify that dmamap being created is for the isadma use (thus already backed up by the bounce buffers). later also to be used for dmamem allocation.
2006-04-24Enable profling in asm if either PROF or GPROF is enabled, kernel profilingDale Rahn
builds with GPROF, libraries build with PROF. ok espie, miod
2006-04-14Remove final DUMMY_NOPS vestige of a macro as well.Tobias Weingartner
ok marco@
2006-04-14Nuke DUMMY_NOPS, cleanup.Tobias Weingartner
ok marco@
2006-04-09#ifdef lint wraps for va_startTheo de Raadt
2006-03-29workaround for intel errata p53 -- follow lapic writes w/ a read; toby@ ↵Michael Shalayeff
kettenis@ ok
2006-03-24move the mp tramp higher to avoid trashing boot args and also to fight ↵Michael Shalayeff
strange memory zeroing happennning on some amd machines; toby@ ok
2006-03-19remove unused bdbtofsb(bn) macroMartin Reindl
found by drahn@
2006-03-15allow for more physmem segments; as required by some dell from dhill@Michael Shalayeff
2006-03-15remove dead macrosMichael Shalayeff
2006-03-14move the kernel 1m up to provide more space for isadma; deraadt@ okMichael Shalayeff
2006-03-13time-bind and lower power in lock spinning and a couple of other ipi loops ↵Michael Shalayeff
by using pause insn; brad@ ok tedu@ ok and feedback krw@ testing
2006-03-12remove IPL_IMP and splimp().Brad Smith
2006-03-07Check for a few additional CPUID flags.Jonathan Gray
ok deraadt@
2006-01-13Make size_t, ssize_t, intptr_t and uintptr_t consistent amongst ourTodd C. Miller
architectures. They are now defined as unsigned long, long, long and unsigned long respectively.
2006-01-12Move to using gdt only (no more ldt in general case) but with a variableTobias Weingartner
limit selector, so that the w^x line can float much more dynamically. Much work done by tom. Tested by various people. Addresses concerns of (Julien Tinnes) <julien ATHOST cr0.org>
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