summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2008-07-07Add AGP and hostbridge support for the Intel 82945GME chipset.Bernd Ahlers
ok jsg@
2008-07-06Enable ssm(4) and remove hacks that worked around the fact that we didn'tMark Kettenis
have it.
2008-07-06Add ssm(4), a driver for the scalable shared memory device found onMark Kettenis
Serengeti and Starcat systems.
2008-07-06Bump verson number now that the bootloader works on the v1280.Mark Kettenis
2008-07-06Add sbbc(4), a driver for the BootBus controller on Serengeti and StarCatMark Kettenis
systems that provides time of day services and (in the future) console services.
2008-07-06Add missing include such that RAMDISK kernels compile again.Mark Kettenis
2008-07-05Copy OBP breakpoint vector from the PROM trap table into our own trap table.Mark Kettenis
This makes the kernel properly enter the prom upon halt on the v1280.
2008-07-05Add function to read %tba.Mark Kettenis
2008-07-05Apparantly the "chain" OpenFirmware interface always fails so don't botherMark Kettenis
with it. Makes the bootloader work on the v1280 where the firmware breaks into the firmware debugger instead of returning failure.
2008-07-05Round up memory allocations to page size. Apparently sane firmware versions doMark Kettenis
this automatically, but the braindead firmware on the v1280 doesn't do this and makes the allocation fail.
2008-07-05Specify the correct number of arguments in prom call that sets the trap tableMark Kettenis
(1 for sun4u, 2 for sun4v).
2008-07-05Calculate the size of kernel text correctly if it spans multiple prom mappingMark Kettenis
entries. This is necessary on the v1280 where the firmware mixes 4MB and 8KB mappings to map kernel text. tested by miod@ and nick@
2008-07-05Link bootloader at 1MB (same a the Solaris bootloader) instead of 8MB (whichMark Kettenis
the firmware on the v1280 doesn't like). tested by many
2008-07-05The firmware on the v1280 changes %wstate behind our back. Work around thisMark Kettenis
problem by adopting the same encoding used by Solaris for the kernel windows. Note that this involves rearranging the trap vector tables, both fur sun4u and for sun4v.
2008-07-05Don't play games with %cleanwin when spinning up secondary CPUs. The firmwareMark Kettenis
on the v1280 doesn't like it if we change it behind its back.
2008-07-04Add T_MON_BREAKPOINT, the trap vector used by OBP for breakpoints.Mark Kettenis
2008-07-04Change trapbase from a pointer to a variable-length array such that it canMark Kettenis
actually be used to access trap vectors.
2008-07-04Add a little hack to recognize the boot device on the v1280.Mark Kettenis
2008-07-04Make debug code compile.Mark Kettenis
2008-07-04Add support for ssm nodes as found on the v1280 and bigger machines. For now,Mark Kettenis
we pretend that ssm is mainbus. Perhaps I'l turn it into a real bus driver later.
2008-07-03add rum(4)Todd T. Fries
ok deraadt@
2008-07-03Remove clauses 3 and 4 from NetBSD license.Ray Lai
OK deraadt
2008-07-03Remove NetBSD license which, after removing clauses 3 and 4, isRay Lai
identical to the one above it. OK deraadt
2008-07-02add CRYPTOTodd T. Fries
ok deraadt@
2008-07-02add softraidTodd T. Fries
ok deraadt@
2008-07-02add bio & bioctlTodd T. Fries
ok deraadt@
2008-07-02Enable FFS2.Brad Smith
ok deraadt@
2008-07-02* Dynamically set the rbus start address. from netbsd.Federico G. Schwindt
* For amd64, remove pcibios traces. * make RBUS_IO_START, RBUS_IO_SIZE, RBUS_MIN_START and RBUS_MEM_SIZE (on i386) configurable via kernel options. * Remove unneeded headers. * Some cleanups. originally reported in pr/5829 and tested by viq <viq at viq dot ath dot cx>. fixes ian@ laptop too. kettenis@ and miod@ agrees that although not perfect, this is the right direction.
2008-07-02move to 4.4-betaTheo de Raadt
2008-07-01add bio & bioctlTodd T. Fries
ok deraadt@
2008-07-01add bio & bioctlTodd T. Fries
ok deraadt@
2008-07-01Remove a now unused variable.Marc Balmer
2008-07-01Stricter probing: Not only check for an AMD cpu with MSRs, but make sureMarc Balmer
it is an AMD Geode LX before reading the GLD_MSR_CAP register. Problem reported by Paul Irofti, thanks. Tested by me and sthen. ok sthen.
2008-07-01Enable FFS2 on most of the larger RAMDISK media.Brad Smith
ok deraadt@
2008-06-30re* at cardbus? 'Put it in' brad@ 'Go for it' deraadt@Ian Darwin
2008-06-29Use DEV_BSIZE (defined as 512) instead of 512 when initializing theKenneth R Westerback
disklabel's d_secsize. ok millert@ marco@
2008-06-29Don't fail compilation if APERTURE is not defined.Anders Magnusson
Also, fail probe if APERTURE is not defined. Ok Marc Balmer.
2008-06-29Split k8_powernow_setperf into two functions, the new function calledGordon Willem Klok
k8pnow_transition handles the actual transition, this change is necessitated by some of the ACPI work which can involve dynamic changes in the available states in response to endogenous events such as removing the AC power. This new code is designed to cope with the current operating point not being among the newly available states in which case we recalculate what the current desired performance level coresponds to among the new states. Also fix a screw up with the acpi_states function (fix originally by Markus Hennecke in a diff to tech@ thanks) which resolves PR 5854. Diff tested by numerous people thanks! ok marco@
2008-06-29Revert 1.8, and reenable branch prediction on swift cpus. Ten years of trap.cMiod Vallat
and locore.s changes have fixed the condition incorrectly blamed on branch prediction, and these processors run fine with it enabled.
2008-06-27Clear swap encryption keys before dumping a kernel image.Miod Vallat
2008-06-27More removal of clauses 3 and 4 from NetBSD licenses.Ray Lai
OK deraadt@ and millert@
2008-06-27Add uvideo(4).Brad Smith
ok mglocker@
2008-06-27add bio & bioctlTodd T. Fries
ok deraadt@
2008-06-26add bio & bioctlTodd T. Fries
ok deraadt@
2008-06-26add bio & bioctl to a couple cd based ramdisksTodd T. Fries
ok deraadt@
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-26Typo, CMD -> AMDBrad Smith
2008-06-25Move .rodata 512KB further, since kernels will soon reach the address .rodataMiod Vallat
is currently linked at. This should eventually be replaced with a proper alignment construct in the ld script, but it's too hot and too late to do this correctly and I need a kernel that links (containing stuff to reach a cvs tree near you reasonably soon).
2008-06-25Support the Intel G35 which apparently works similarly to the 965.Owain Ainsworth
Initial information, half the diff, and testing from Andrew Lutomirski, thanks!
2008-06-25this diff changes the bootloader to skip the CHS sanity check if LBAReyk Floeter
(EDD) is found and OK. it will also fix chainloading into OpenBSD from grub in a few scenarios where grub doesn't report the CHS correctly but the LBA. and we don't need CHS if there is LBA. this has been in the snapshots for a while. with input from weingart@ ok deraadt@