summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include
AgeCommit message (Collapse)Author
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-26Clean up some inconsistancies in definitions around DOS MBR code. NoKenneth R Westerback
functional change. ok deraadt@
2006-05-20add bios_bootmac_t and BOOTARG_BOOTMACTheo de Raadt
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-10Missing $OpenBSD$ tags.Kenneth R Westerback
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-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-09#ifdef lint wraps for va_startTheo de Raadt
2006-03-22Fixup broken mpbios'es on VT8237 and nForce4 chipsets. Fixes interruptMark Kettenis
routing for SATA on those chipsets in GENERIC.MP. ok mickey@, brad@.
2006-03-19remove unused bdbtofsb(bn) macroMartin Reindl
found by drahn@
2006-03-15Remove address range KASSERT check in vtopte() and kvtopte(), callers areMiod Vallat
supposed to know which one of the two is applicable when the address is not guaranteed to be a kernel address. ok kettenis@ mickey@
2006-03-15remove dead macrosMichael Shalayeff
2006-03-12remove IPL_IMP and splimp().Brad Smith
2006-03-08Patch from Gordon Klock to update AMD PowerNow K8 support on i386,Uwe Stuehler
and to add amd64 K8 support from FreeBSD.
2006-03-07It does not make sense to check for IA64 CPUID flag here.Jonathan Gray
ok deraadt@
2006-03-01from mickey, like on i386:Theo de Raadt
prioritise <16m memory for isa bus_dma'ble memorble memory allocations why? this is now needed because the nvidia ethernet running with jumbo frames is allocating much more memory, and was robbing isadma of bounce buffers.
2006-02-12Remove dead sysbeep driver and unused sysbeep() routine. No functional change.Miod Vallat
2006-02-05remove useless comment about macros being different from i386Martin Reindl
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-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-13remove ad clause that got copied from older versions of the files; pto by jsg@Michael Shalayeff
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-12-13Remove the advertising clause in the UCB license which BerkeleyJonathan Gray
rescinded 22 July 1999. Checked by ian@, deraadt@ and millert@, arm portion checked by drahn@
2005-12-12Drop clause 3/4 as per i386 version this was based on.Jonathan Gray
ok niklas@ (Copyright holder).
2005-11-28- consistently use x86_round_pdr() allowing us to remove the superfluousMartin Reindl
round_pdr() macro - while there remove two more unused Mach macros
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-13untested kgdb support for amd64. prolly needs more work whenFederico G. Schwindt
getting and setting the registers, but it's a start. kettenis@ ok.
2005-11-05Add bus_space_alloc and _free.Marco Peereboom
from jason@
2005-10-26goodbye more Mach macrosMartin Reindl
help toby, ok deraadt@
2005-10-21use the MI trunc_page() and round_page() macros instead of rolling or ownMartin Reindl
ok weingart@ deraadt@
2005-10-05Add CardBus/PCMCIA support to AMD64.Thierry Deval
ok deraadt@
2005-10-02remove isa_intr_evcnt() prototype. a NetBSD-ism.Brad Smith
ok fgsch@
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-09-19floppy support; form@openbsd.ruTheo de Raadt
2005-09-04remove unused NetBSD pci_intr_evcnt() function.Brad Smith
ok beck@
2005-08-20Check for and report the presense of SSE3. This has started to appearJonathan Gray
in AMD products with the arrival of the venice core. 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-26Instead of juggling around with cr4 and enabling parts of it sometimes,Artur Grabowski
other parts later, etc. Just set it to the same default value everywhere. We won't survive without PSE and tt's not like someone will suddenly make an amd64 that doesn't support PGE. This will allow us to make the bootstrap process slightly more sane.
2005-07-18remove trailing newline in panic(9); ok millert@ and deraadt@Federico G. Schwindt
2005-07-12fix comment, describe the VA hole correcltyHans-Joerg Hoexer
ok art@
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@