summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2013-02-10switch m68k ports to gcc3Miod Vallat
2013-02-09Grammar, typosMiod Vallat
2013-02-09ater -> afterMiod Vallat
2013-02-09Blame the right function when panic'ing.Miod Vallat
2013-02-09Fix indent, add RCS IdMiod Vallat
2013-02-09No longer define EXEC_SCRIPT (probably coming from old PefoBSD). Also,Miod Vallat
DB_ELFSIZE ought to be defined in <machine/db_machdep.h>, not <machine/exec.h>
2013-02-09No longer define the a.out relocation format struct.Miod Vallat
2013-02-09Do not bother defining cpu_exec_aout_makecmds() on platforms where we no longerMiod Vallat
(or never did) support a.out binaries (i.e. where _KERN_DO_AOUT is not defined).
2013-02-06Check for __PIC__, not PIC, as some files in libc will only see the former.Miod Vallat
Fixes the few TEXTREL which crept in libc.so.
2013-02-05Do not profile the various ipi functions. This is a requirement for theMartin Pieuchot
upcoming per-CPU profiling modifications and it does not make much sense to profile such low-level functions anyway. ok kettenis@, miod@
2013-02-03Let the octeon kernel link properly.Brian Callahan
ok miod@
2013-02-02mvme68k ELF bits. Boot block updates heavily based upon the recent mvme88kMiod Vallat
a.out->ELF transition.
2013-02-02hp300 ELF bits. Requires many device and prom related structs to now be declaredMiod Vallat
as packed due to them containing 32-bit types at 16-bit but not 32-bit aligned offsets. The boot block updates (especially mkboot) come straight from NetBSD.
2013-02-02Kernel bits for m68k/ELF, mostly from NetBSD. In addition, the `pmod' symbelMiod Vallat
in fpsp has to be renamed due to a clash with other parts of the kernel.
2013-01-31welcome to 5.3-BETAMiod Vallat
2013-01-29the bus_space api implies that there's a bus endianness that it willDavid Gwynne
swap for you to the hosts endianness. sometimes you dont want this hand holding and just want raw access to the registers. bus_space does have stuff to do this already, but they deal with buffers which can be awkward if you just want to get or set a single register. this adds the following to i386 and amd64: bus_space_read_raw_2() bus_space_read_raw_4() bus_space_read_raw_8() bus_space_write_raw_2() bus_space_write_raw_4() bus_space_write_raw_8() sparc64 already implements this, even though it wasnt part of the official api. how handy. i'll do other archs as i can. kettenis@ and miod@ seem ok with this
2013-01-27Bump MAXTSIZ to 128 MB, some binaries are quite large.Federico G. Schwindt
Agreed with millert@ and guenther@
2013-01-26Make sure new processes get a clean FPU configuration upon startup, byMiod Vallat
resetting the appropriate register in setregs(). Similar in spirit to what m68k does (restoring a null frame), and necessary since m88k doesn't do lazy fpu switching.
2013-01-25Updates for beagle/panda work. OK patrick@ and miod@Brandon Mercer
2013-01-23ARMv7 doesn't support the atomic SWP instruction anymore. Use the atomicPatrick Wildt
load and store instructions instead. ok miod@
2013-01-23Add instruction fault register functions, which will be needed for furtherPatrick Wildt
ARMv7 support. ok miod@
2013-01-22pull the guts of bus_space_barrier into the inline function in the header.David Gwynne
there's only one implementation of it on sparc64, so we shouldnt need to iterate up a chain of bus_space_tags to get to it. because the only argument that is used inside the function is the flags, this can generally be inlined to a single membar opcode. this leaves that op as membar(Sync) for now while kettenis@ thinks about what changing it might mean. ok miod@
2013-01-21Only the mpcpcibus driver is actually using these structures so merge themMartin Pieuchot
in the appropriate .c file and remove unused fields while here.
2013-01-21Remove old functions to access MPC106 registers. Only one of them was usedMartin Pieuchot
to read the revision id that was wrong most of the time.
2013-01-21No need to include pcibrvar.hMartin Pieuchot
2013-01-21Remove unused variable, leftover from rev 1.36.Martin Pieuchot
2013-01-20Add viomb(4).Brad Smith
ok sf@
2013-01-18fix bogus dependencies, and allow mkdep to runMarc Espie
checked on amd64 by rpe@ okay jsing@
2013-01-18Fix the makefile so it works on other architectures.Joel Sing
Found the hard way by bluhm@
2013-01-18Generate assym.h where we need it, instead of reaching around into otherJoel Sing
object directories.
2013-01-18Clean up/standardise makefiles for i386/stand.Joel Sing
2013-01-18twist the amd64 bus_space implementation a bit. instead of using the tagDavid Gwynne
as an identifier for IO or memory mappings that was checked inside the api, turn it into a pointer to a structure of function pointers. the api then generally becomes a set of macros that deref the function pointers on the callers behalf. the idea is that following a pointer to very small functions is cheap compared to doing compares continuously. a notable exception to the macro wrappers is bus_space_barrier which is now a static inline function. the only argument to it that gets used is the flags, and thats usually a constant at compile time so it can be inlined to a single fence instruction. the kernel is smaller and the api is more cache friendly now. ok deraadt@
2013-01-18Update the ARM CPU ID information. The IDs aren't vendor/productPatrick Wildt
specific, they are specific to the ARM CPUs themselves. ok bmercer@ jsg@ deraadt@
2013-01-17New pmap for panda boards. Work from lots of folks.Brandon Mercer
OK miod@
2013-01-17Generate assym.h where we need it, instead of reaching around into otherJoel Sing
object directories. Discussed with deraadt@
2013-01-17Clean up/standardise makefiles for amd64/stand.Joel Sing
2013-01-17Clean includes.Joel Sing
2013-01-17option HIBERNATE for amd64Mike Larkin
presently there are issues with SMP which are being looked at, and a few machines still reboot on the unpack stage. ok deraadt@
2013-01-17use .quad for gdt load when returning from long mode. Fixes a rebootMike Larkin
problem after unpack
2013-01-17fix an error in the amd64 asm unhibernate code and a slight adjustment toMike Larkin
the MI hibernate code to handle 64 bit archs
2013-01-16MD hibernate goo for amd64Mike Larkin
2013-01-16asm resume functions for amd64 hibernateMike Larkin
2013-01-16Nuke commons with libsa and add --warn-common to the ld command lines.Miod Vallat
No functional change.
2013-01-16On second thought, do not unconditionnaly register the cpu throttling codeMiod Vallat
on all Loongson2F systems yet; Gdium does not have a separate scheduling clock yet and can't afford throttling until then.
2013-01-16Do not register the internal cpu timer-based timecounter if we support cpuMiod Vallat
throttling.
2013-01-16Remove orphaned files.Miod Vallat
2013-01-16cpu_coredump() also needs to invoke vn_rdwr() without IO_NODELOCKED; onlyMiod Vallat
affects a.out binaries' core dumps.
2013-01-16Nuke common.Miod Vallat
2013-01-16properly distinguish /boot and biosboot in informational and error messagesChristian Weisgerber
ok guenther@
2013-01-16Loongson: add throttling support.Paul Irofti
This commit allows CPU throttling on the 2F systems. Inspired by an old diff from otto@. Help from and okay miod@.