summaryrefslogtreecommitdiff
path: root/sys/arch/m68k
AgeCommit message (Collapse)Author
2002-01-21Argh, correctly handle the maxlen == 0 case.Miod Vallat
2002-01-21Always clear the destination string in copyinstr() on error, unless we faultedMiod Vallat
when writing to the first character. With some help from millert@.
2002-01-10Reintroduce the pmap_motorola framework.Miod Vallat
2001-12-20Temporarily revert the pmap_motorola changes, as they may account forMiod Vallat
some problems as well. Requested by deraadt@
2001-12-16Delay a cache invalidation in a 68060-only loop.Miod Vallat
Also, better tests for validity bits in STEs.
2001-12-1668060 CPUs need a few more TLB operations. Oops.Miod Vallat
2001-12-15Optimize (reduce) the pmap_changebit() calls for 68060 processors.Miod Vallat
2001-12-15Slightly reorganize.Miod Vallat
2001-12-14Remove the ugly protection_codes[] array, only used by the pte_prot()Miod Vallat
macro, by a different version of the aforementioned macro.
2001-12-12At Miod's request make the pte in pmap_extract() a pt_entry_t * forTodd C. Miller
consistency with the rest of pmap. Also, use pmap_pte_pa() in pmap_extract() instead of doing the equivalent inline. No functional difference, just style...
2001-12-12Don't return TRUE from pmap_extract if the pte is not valid.Todd C. Miller
From art@ as munged by me.
2001-12-11Repair 68060 operation; from art@ and myself, spell-checked by deraadt@.Miod Vallat
2001-12-08m68k_trunc_page -> trunc_pageMiod Vallat
2001-12-08Sprinkle pmap_update calls where relevant and some otherArtur Grabowski
misc pmap usage fixes.
2001-12-06DDB disassembly fixes and trace improvements from NetBSD.Miod Vallat
2001-12-06Don't hardcode SYS_exit value.Miod Vallat
2001-12-06Declare SYS_exit for all m68k locore.s'esMiod Vallat
2001-12-06Define proper macros for FP frame offsets rather than magic numbers.Todd C. Miller
From NetBSD (tsutsui).
2001-12-06Fix typos, from NetBSDMiod Vallat
2001-12-05Update pmap_update macro for arches Art missed. Still just a noop.Todd C. Miller
2001-12-021) kill old vm_*_t types (no real effect)Todd C. Miller
2) Change flag in uvm_km_suballoc() from VM_MAP_PAGEABLE to 0 3) Pass pmap_extract the address of Segtabzeropa, not Segtabzeropa itself
2001-11-30Factorize more definitions to enable the use of pmap_motorola.Miod Vallat
2001-11-30Common pmap defines and code for all m68k platforms using Motorola (orMiod Vallat
compatible) MMU.
2001-11-25Need <machine/cpu.h> to be sure to bring userret() prototype for all ports.Miod Vallat
2001-11-25Be cross-compilation friendly.Miod Vallat
2001-11-25Harmonize userret() prototypes across m68k arches.Miod Vallat
XXX The userret() code is not factorized out yet, as this will require XXX insane amiga cleaning work.
2001-11-21Provide COMPAT_SUNOS files via the common m68k configuration files.Miod Vallat
2001-11-17put more common stuff into m68k/genassym.cf; miod@ okMichael Shalayeff
2001-11-16oopsMichael Shalayeff
2001-11-16make stack trace print addrs if no symtab present; miod@ okMichael Shalayeff
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-11-06Let fork1, uvm_fork, and cpu_fork take a function/argument pair as argument,Artur Grabowski
instead of doing fork1, cpu_set_kpc. This lets us retire cpu_set_kpc and avoid a multiprocessor race. This commit breaks vax because it doesn't look like any other arch, someone working on vax might want to look at this and try to adapt the code to be more like the rest of the world. Idea and uvm parts from NetBSD.
2001-11-06Kill vm/vm_param.h, move it to uvm/uvm_param.hArtur Grabowski
2001-09-20occured->occurredMike Pechkin
idea from deraadt@ via NetBSD millert@ ok
2001-09-16Make use of "export", "struct" and "member" keywords to be easier to readMiod Vallat
and simpler.
2001-09-14Instead of defning our own AS, define FPSPAS.Artur Grabowski
Instead of cc, use CC. This allows cross-compile.
2001-09-11Don't include <vm/vm_kern.h> if you don't need foo_map.Miod Vallat
2001-09-06missing machine/ieee.h from NetBSDTodd C. Miller
2001-08-31The fact that my tree builds should not prevent the official tree toMiod Vallat
build as well... Right now, .s files can't include unmodified <machine/psl.h>
2001-08-30New file with common genassym.cf defines needed by arch/m68k/m68k/*.sMiod Vallat
2001-08-25One regdump to dump them all...Marc Espie
(moid@ wants that commit, because it interferes with stuff he's cleaning, and he's prepared to clean up stuff I may have forgotten, even though this was tested)
2001-08-22Modify fpsp and 060sp makefiles, so that they honor obj/ directoriesMiod Vallat
and get cleaned as part of the kernel clean rule. Agreed by millert@ and jj@
2001-08-20cvs does not like me.Miod Vallat
2001-08-12#(endif|else) foo is incorrect, make it #endif /* foo */Heikki Korpela
deraadt@ ok
2001-08-11remove some old cruft.Artur Grabowski
2001-07-25Change the pmap_enter interface to merge access_type and the wired booleanArtur Grabowski
and arbitrary flags into one argument. One new flag is PMAP_CANFAIL that tells pmap_enter that it can fail if there are not enough resources to satisfy the request. If this flag is not passed, pmap_enter should panic as it should have done before this change (XXX - many pmaps are still not doing that). Only i386 and alpha implement CANFAIL for now. Includes uvm updates from NetBSD.
2001-07-06change MSIZE to 256, okay @deraadtNiels Provos
2001-07-04$OpenBSD$Niklas Hallqvist
2001-06-27kill old vmArtur Grabowski
2001-06-23Only mips uses cpu_set_init_frame (and it shouldn't)Artur Grabowski