summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2002-03-16no need to include sys/conf.h w/ machine/conf.h; from David KrauseMichael Shalayeff
2002-03-16PTRACE fallout.Artur Grabowski
2002-03-16and in the filesMichael Shalayeff
2002-03-16separate out interrupt handling stuffMichael Shalayeff
2002-03-16move cdev_decl out and kill some ugly print and some spacesMichael Shalayeff
2002-03-15and this is how it will look for the gecko boyMichael Shalayeff
2002-03-15here will be a wscons-gardenMichael Shalayeff
2002-03-15proper file depsMichael Shalayeff
2002-03-15rewrite a pmap to use multilevel page tables.Michael Shalayeff
lower 12 bits contain the perms, no unused bits left, but a couple for off-tlb use (as the ref implemented now). do not use the hvt, which might get some use later if proven to speed thigs up, tlb handlers would po another dozen of insns though, but if that's worth its... move on the data seg and map kernel text rdonly (idea form fredette), since all of the page0 mods done before that we are all fine except for some viper fluff, but later w/ that. this also picks up a bit more of ddb magic for bpt and ss. tlb handlers can use a little bit more of attention, but things, visually, seem to be much faster already, -- sorry, no benchmarks for now. * effort sponsored in part by the `henry st. old ale house' * and mr.pete and mr.lee in particular in thier generous entrirety. * the proj took a little more that 72man*h as it was expected, * but within murhy's law estimations.
2002-03-15build really really smallMichael Shalayeff
2002-03-15fix a comment a littleMichael Shalayeff
2002-03-15fix binutils entry; pt out by Diana Eichert <deicher@sandia.gov>Michael Shalayeff
2002-03-15Add lpt device entry pointJason Wright
2002-03-15dohMichael Shalayeff
2002-03-15regs get/set for pmdbMichael Shalayeff
2002-03-15Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do thingsTodd C. Miller
the ANSI way.
2002-03-15Cosmetic changes only, primarily making comments line up nicely after theTodd C. Miller
__P removal.
2002-03-15The previous commit broke the bootblocks, since uvmexp is not availableMiod Vallat
there. Win some uglyness points in fixing this.
2002-03-14Improved altivec support for powerpc/macppc.Dale Rahn
Fix bug where altivec context was not freed on process exit. Fix bug where vscr was not correctly saved/restored. replace asm statement was macros which expand to the same asm code or to .long XXX which evaluates to the same instruction since in-tree gas does not support altivec. Enable ALTIVEC support by default on macppc, still conditional for other powerpc ports.
2002-03-14remove ambiguity in version,ostype,osversion,osrelease and their constanity, ↵Michael Shalayeff
they are and declarre 'em accordingly also removing private externies of those
2002-03-14Remove a bunch of #if 0 codeJason Wright
2002-03-14Make the sbus ipl handling more like psycho. Some devices (Aurora 210sj, eg)Jason Wright
use Sbus level 5 for interrupts which means spltty() is not blocked correctly because the sbus interrupt handling uses the implied spl of the interrupt instead of the level passed to it.
2002-03-14From NetBSD: driver for lpt at ebusJason Wright
2002-03-14add apio* at sbus? and lpt* at apio?Jason Wright
2002-03-14Do not include headers twice. Pointed out by Dries Schellekens.Dale Rahn
2002-03-14protect from overflows and null derefs in cpu probing; from ↵Michael Shalayeff
wd@ics.nara-wu.ac.jp via pr#2457
2002-03-14this mod has nothing to do w/ ptrace option addition, did not even compileMichael Shalayeff
2002-03-14Properly conditionalize uvm history dumpJason Wright
2002-03-14use getprop, not getpropstring to fetch 'magma_prom' property...Jason Wright
ra->ra_name is needed and is the result of getpropstring
2002-03-14add asio* at sbus? and com* at asio?Jason Wright
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-14Remove PTRACE support out of the ramdisks/miniroots.Miod Vallat
2002-03-14Turn the ptrace(2) syscall into a kernel compile option, option PTRACE inMiod Vallat
your kernel configuration file. By default, GENERIC will enable this. When PTRACE is not enabled, several ptrace-like features of the procfs filesystem will be disabled as well (namely, the ability to read and write any process' registers, as well as attching, single stepping and detaching to/from processes). This should help paranoid people build better sandboxens, and us to build smaller ramdisks.
2002-03-13Complete rewrite of the powerpc pmap handling, Instead of keepingDale Rahn
the spill list for each PTEG, the V->P translations are stored in trees for each pmap. All valid kernel mappings are preallocated in 1-1 memory so that tlb spill/loads for kernel accesses can be looked up while physical, user mappings are not guaranteed to be 1-1 mapped, thus the kernel must go virtual to look up user mappings. While this is more expensive, the tree search is much lower cost than the long linked list search. Also on each pmap_remove() it was necessary to search the linked lists for each possible mapping, now it just looks up the entry in the tree. This change gives a 25-36% speedup in 'make build' time. What was around 2:50 is now around 1:55 on a 733MHz G4. This change causes a likely existing bug to appear quite often, it deals with the segment register invalidation in kernel mode. Because of that problem, currently this change limits the physical memory used to 256MB. This limitation will be fixed soon, it is not an error in the pmap code. * Effort sponsored in part by the Defense Advanced Research Projects * Agency (DARPA) and Air Force Research Laboratory, Air Force * Materiel Command, USAF, under agreement number F30602-01-2-0537.
2002-03-13On sparc, PAGE_SIZE and friends might not be a compile-time constant.Miod Vallat
Instead of using a homegrown set of variables in this case, rely on uvmexp fields once uvm has been initialized. This requires a few #include <uvm/uvm_extern.h> here and there in the kernel as well. Idea from art@, changes by me.
2002-03-12rest of copy_on_fault proper handlingsMichael Shalayeff
2002-03-12sparc64's aren't likely to be CPU_ISSUN4CJason Wright
2002-03-12Look up the TTE and only do the streaming cache dance if the mapping is ↵Jason Wright
marked as streaming.
2002-03-12extraneous 'or'; from Sven Kirmess <sven.kirmess@gmx.net>Michael Shalayeff
2002-03-12Emulate ptrace(PT_STEP in software.Artur Grabowski
More or less directly from FreeBSD.
2002-03-12sync with KAMEKenjiro Cho
ALTQify more drivers. ok millert@
2002-03-12oopsMichael Shalayeff
2002-03-11If the clock has lost over 1000 days, use the filesystem time insteadDale Rahn
of the hardware clock. Prevent clock screwage due to lost battery on laptops where the hardware clock goes back to 0. From NetBSD.
2002-03-11Add <machine/ieeefp.h>, will be needed by libc shortly.Miod Vallat
2002-03-11Add a <machine/varargs.h> skeleton for userland.Miod Vallat
2002-03-10rdboot -> hdbootHugh Graham
2002-03-09Completely rewritten keyboard detection mechanism. Instead of using theDale Rahn
openfirmware commands (which apple seems to have removed), walk the device tree attempting to detect what type of keyboard(s) are present. Give preference to USB if USB and ADB both found. If none found hope for USB. This does have a problem on RevC iMacs booting without USB keyboard, it seems apple left the adb device tree information which indicates an ADB kebyoard is present. This fixes newer ibook and PBG4 keyboard detection.
2002-03-09Add case for BTYP_1305.Hugh Graham
2002-03-08Remove the code which reenables interrupts in these interrupt controllers,Dale Rahn
they do not appear to be capable of handling all possible nested interrupts.