summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/include
AgeCommit message (Collapse)Author
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-03HPUX, HP/UX -> HP-UXJason McIntyre
ok mickey@
2003-03-14Zombies on the bridge, captain.Miod Vallat
2003-03-01- only declare and provide pmap_map() for mac68k, until it bites the dust.Miod Vallat
Other m68k-based arches do not need it. - do not wait to allocate struct pv_page. Either pmap_enter() has been invoked with PMAP_CANFAIL and can live with this, or we are close to fandagoland anyways.
2003-02-24Sync struct pcb and struct mdproc with what other m68k ports use. This willMiod Vallat
eventually be factorized someday...
2003-01-27Convert m68k pmap from physseg to VM_PAGE_MD.Miod Vallat
This allows us to remove some ambiguities on how some functions are called, remove some diagnostic checks for conditions that can never happen and remove the ugly hack with "pmap_initialized". Then, rework internal function interfaces and some logic so as to stop fetching vm_page from a pa and the reverse every now and then - this makes some pmap operations run much faster. per art@'s idea.
2003-01-05splassert on m68k-based arches. Not totally accurate on hp300 at the moment,Miod Vallat
still.
2002-06-07Remove obsolete CLKF_BASEPRI(). ok niklas@, miod@ and art@Thomas Nordin
2002-04-29Define placeholders for art's splassert() debugging stuff on all arches.Miod Vallat
Currently as no-ops everywhere. ok art@, deraadt@
2002-04-27Lots of cleanup to catch up with other m68k-based ports and modern code,Miod Vallat
including: - use netisr_dispatch - extract an allocsys() function from cpu_startup() - updated cachectl() - a few fixes in trap() and more...
2002-04-24Introduce a new file, machine/internal_types.h, to hold that specific archMarc Espie
type characteristics. internal_types.h will contain only settings invisible from standard C, e.g., in the __* or _[A-Z]* namespace, and be reused by files like limits.h. This allows us to shorten machine/limits.h greatly, as all the common defines are now in sys/limits.h, plus a small stub in internal_types.h. Tested on all arches as far as I know. Approved after discussion with art, millert, deraadt, and others.
2002-04-18Make the Mac68k disklabel 16 partitions long, to cope withMiod Vallat
partition-{convoluted,challenged} disks.
2002-04-16Missing prototype.Miod Vallat
2002-03-19Fix bus_space_copy_region_ macro that got messed up by unpeeing.Todd C. Miller
miod@ OK
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-17Patch from Daniel Lucq <daniel@lucq.org>Mats O Jansson
The patch allows you to change the value of NMBCLUSTERS, BUFCACHEPERCENT and NKMEMPAGES using the config command, instead of recompiling the kernel. This is the kernel part of the patch. I have compiled it on i386, sparc64, alpha and macppc. -moj ok art@ maja@
2002-01-10Bring back pmap_motorola for mac68k.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-06No need to keep dummy fields in cpu_disklabel structures.Miod Vallat
2001-12-05VM_KMEM_SIZE no longer needed.Artur Grabowski
2001-12-05make nkmempages dynamic based on memory. okay art@ from netbsd:Niels Provos
date: 2000/02/11 19:22:52; author: thorpej; Add some very simple code to auto-size the kmem_map. We take the amount of physical memory, divide it by 4, and then allow machine dependent code to place upper and lower bounds on the size. Export the computed value to userspace via the new "vm.nkmempages" sysctl. NKMEMCLUSTERS is now deprecated and will generate an error if you attempt to use it. The new option, should you choose to use it, is called NKMEMPAGES, and two new options NKMEMPAGES_MIN and NKMEMPAGES_MAX allow the user to configure the bounds in the kernel config file.
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-30Switch to pmap_motorola.Miod Vallat
2001-11-30Now that pmaps can have vm_page_md, make pmap_physseg optional.Artur Grabowski
2001-11-28zap some typedefs.Artur Grabowski
vm_map_t -> struct vm_map * vm_map_entry_t -> struct vm_map_entry * simple_lock_data_t -> struct simplelock (uvm not done yet, coming in the next commit)
2001-11-28Make pmap_update functions into nops so that we can have a consistentArtur Grabowski
pmap_update API (right now it's nop).
2001-11-23Remove splsched() declaration and related stuff.Miod Vallat
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-09-22Remove more old, dusty, unused defines.Miod Vallat
2001-09-06missing machine/ieee.h from NetBSDTodd C. Miller
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-20Bring get[sd]fc() prototypes to <m68k/cpu.h>, this will be needed shortly.Miod Vallat
2001-08-18Move pmap_{de,}activate to vm/pmap.h, it's same on all archs.Artur Grabowski
2001-08-13SYSPTSIZE is orhpaned, so g/c the poor define.Miod Vallat
2001-08-12KUSER_AREA, BTOPUSRSTACK, P1PAGES are never used, so get rid of them.Miod Vallat
2001-06-27MNN is no longer an option.Artur Grabowski
2001-06-24Define splvm() for arches who don't already provide it, with the sameMiod Vallat
definition as splimp(). art@ ok
2001-05-13PAGE_MASK is (PAGE_SIZE - 1), *not* (PAGE_SHIFT - 1)Todd C. Miller
2001-05-10Provide PAGE_{MASK,SHIFT,SIZE} constants.Miod Vallat
2001-05-08Substantial update from NetBSD, most notably gives us UVM support; deraadt@ okAaron Campbell
2001-05-05Rename configure() to cpu_configure().Artur Grabowski
Move it from cpu_startup() to main().
2001-05-05Get rid of CLSIZE and all related stuff.Artur Grabowski
CLSIZE -> 1 CLBYTES -> PAGE_SIZE OLOFSET -> PAGE_MASK etc. At the same time some archs needed some cleaning in vmparam.h so that goes in at the same time.
2001-01-22Define ARCH_ELFSIZE that is the default elf size on this arch.Artur Grabowski
2001-01-15__asm__ and __volatile__Theo de Raadt
2000-07-06Add spllowersoftclock(), same as splsoftclock(). (art@ ok)Hakan Olsson
2000-03-15implimented -> implementedTodd T. Fries
2000-02-22enlarge msgbuf, somewhat line netbsd didTheo de Raadt
1999-06-11egcs crapJason Downs
1999-04-24Use the generic m68k param.h.Jason Downs