summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2013-04-20more usb typedef removal falloutTheo de Raadt
2013-04-20Enable active PS/2 multiplexing if available.Tobias Stoeckmann
Supported for i386 and amd64 except SMALL_KERNEL. Based on Miod's former work on this subject. ok mpi
2013-04-19In {gpio,gdium}iic_bb_read_bits(), report the state of the SCL bit in additionMiod Vallat
to the state of the SDA bit; the MI i2c code is about to depend upon this.
2013-04-18Lower boot blocks load address, so that they fit within 8MB. Step 1 of manyMiod Vallat
towards getting Angelfire boards (MVME180/181) running.
2013-04-17Don't set the frequency of the statclock if we don't have one.Gerhard Roth
Prevents strange hang-ups during reboot. Joint work with hshoexer@. ok mikeb@, mlarkin@, miod@, deraadt@
2013-04-16Get rid of various 'typedef struct' definitions and use plain structureTheo de Raadt
definitions instead. We don't change usb.h for now to stay compatible with userland. missed bits from previous change; ok mpi
2013-04-16Add secondary cache flushes to armv7's pmap.Patrick Wildt
ok bmercer@
2013-04-14Unbreak tape boot blocks by not attempting to load kernel symbols, and providingMiod Vallat
a smarter seek routine which can seek forward and cope with the libsa gzip code reading the first 4KB of a file upon open, only to discard the buffer because it assumes we can always seek backwards. These boot blocks had been broken since the switch to the MI libsa loadfile code. Reported for mvme88k by Michael Fritsch, thanks and sorry for taking too long to fix.
2013-04-12Fix the log messages displayed to the user.Brian Callahan
ok jasper@
2013-04-12Double-register load and store instructions using an odd-numbered register asMiod Vallat
the low part trigger an `illegal instruction' trap on the 88110 (and I can't see this documented anywhere in the manual). Of course there is code "in the wild" which uses such constructs (libgmp is one such example). Extend double_reg_fixup() to take the trap type as an extra argument, and explicitely allow ld.d or st.d instructions with odd-numbered registers at aligned addresses if we are invoked from the `illegal instruction' trap handler, to give this code a chance to run on 88110.
2013-04-10Correctly handle data memory protection ID traps: if occuring in user mode,Miod Vallat
SIGSEGV the process; if occuring in kernel mode, check for a possible pcb_onfault to recover, before otherwise panicing. ok kettenis@
2013-04-09Need #include "isa.h" for NISAPhilip Guenther
Diff from Christian Groessler (chris (at) groessler.org)
2013-04-09Add missing #ifdef CRYPTO around amd64_has_aesniPhilip Guenther
Diff from Silamael (Silamael (at) coronamundi.de)
2013-04-08allow octeon to find it's root device, based on the flags passed by U-Boot. ↵Jasper Lievisse Adriaanse
The ${bootcmd} needs to be something like 'bootoctlinux root=/dev/octcf0'. This will be temporary untill we have proper bootblocks, but for now, this (in combination) with an upcoming installer diff allows my CAM-0100 to autoboot straight of the disk, without having to load the kernel via TFTP. ok bcallah@ yasuoka@
2013-04-06allow GENERIC.MP to compile again...just for shits and giggles.Jasper Lievisse Adriaanse
2013-04-05don't hardcode the size of u-boot's argv, but use a define instead.Jasper Lievisse Adriaanse
to be re-used shortly elsewhere..
2013-04-05Brad didn't even try building the ramdisk, because it is 7.5K oversize.Theo de Raadt
2013-04-05Add the remaining USB Wifi adapters to the CD RAMDISK media for usersBrad Smith
using the media with upgrades - athn(4), atu(4), otus(4), rsu(4), uath(4) ok deraadt@
2013-04-05enable com3 on both i386 and amd64 (com4 config is added, but disabled)Theo de Raadt
ok miod kettenis tedu
2013-04-04zap redundant assignmentsAlexander Hall
2013-04-03fix comment detailing the memory mapJasper Lievisse Adriaanse
from syuu@
2013-04-02Get rid of SYSCALL_G7RFLAG. iIt's been deprecated for a long time already,Mark Kettenis
and we've started using %g7 as a per-thread register now. If you have any binaries left that use this flag they'll probably crash and burn!
2013-04-01Build mips kernels with -G 0, to disable use of so-called `small' data andMiod Vallat
bss sections. The current kernel linker script is not gp-friendly enough for that; and while gas 2.15 was not attempting to output gp-relative relocations for variables which might have ended up in .sdata or .sbss, gas 2.17 will, and the kernel will fail to link. To be improved eventually with a better kernel ld script putting the gp-addressable sections close enough to gp... and making sure kernel gp is reloaded in all the userland->kernel code paths which might need gp in the kernel.
2013-04-01Do not expose the trap T_* values to userland, since they invade theTheo de Raadt
namespace a bit much. These are the names for the value encoded in core.c_ucode or siginfo.si_trapno, but userland never looks directly and only cares about the abstract signal code. ok guenther
2013-04-01Let the hp300 boot blocks compile again after all the md include churning.Miod Vallat
2013-04-01Unbreak 1.16Miod Vallat
2013-03-31try to avoid pulling in pte.h and other more crazy things. Checked againstTheo de Raadt
the things that libkvm needs.
2013-03-31NBPG and PGSHIFT are now available directly from cpp due to param.hTheo de Raadt
2013-03-30Back out previous; this needs more thought.Mark Kettenis
2013-03-30reorder include search directories. cuts lookups by quite a bit.Ted Unangst
ok deraadt miod
2013-03-30enable com2. if it works on i386, we think it will work here.Ted Unangst
ok deraadt
2013-03-30Add a function to read the ARM MPCore base address. This let's usPatrick Wildt
dynamically determine where e.g. the interrupt controller is. ok bmercer@
2013-03-30Remove duplicate prototypes.Patrick Wildt
2013-03-29put urtwn in big ramdisks so I can use it for upgradesTed Unangst
2013-03-28Add STRONG_ALIAS macros to be used from assembly code in libc andMartynas Venckus
libm. While at it, remove now unused workarounds for lint. Agreed by kettenis@, guenther@, matthew@.
2013-03-28Add __strong_alias macros for all architectures to be able to aliasMartynas Venckus
another symbol without weak attribute. To be used in libc and libm soon. Agreed by kettenis@, guenther@, matthew@.
2009-07-31By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2006-10-06Preliminary bits for SuperH-based ports, based on NetBSD/sh3 codebase withMiod Vallat
minor changes.
2013-03-28the ramdisk is a bit special, and some tedu arguments do apply. # outTheo de Raadt
the drivers which were disabled.
2013-03-27Remove commented out tr(4) stanzas, since support for them has been removedMiod Vallat
almost 6 years ago; Alexey Suslikov
2013-03-27fill in cpu_model.Jasper Lievisse Adriaanse
2013-03-27Move generic armv7 files into arm's file list.Patrick Wildt
ok bmercer@
2013-03-27Further updates to pmap7. Fixes some problems and removes debug printfs.Patrick Wildt
ok miod@
2013-03-27Draining the write buffer is accomplished via a DSB.Patrick Wildt
ok miod@
2013-03-27Mark vector page as executable and fix a cast.Patrick Wildt
ok miod@
2013-03-27Add prototypes for secondary cache operations.Patrick Wildt
ok miod@
2013-03-26sync TDIRS with realityJasper Lievisse Adriaanse
"looks good" deraadt@
2013-03-26move octcf bits togetherJasper Lievisse Adriaanse
2013-03-26Add AES-XTS support to the aesni crypto driver. This allows softraid(4)Joel Sing
to benefit from the AES-NI instructions found on newer Intel CPUs. ok mikeb@
2013-03-26- increase MINIROOTSIZE so a ramdisk can fit.Jasper Lievisse Adriaanse