summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
AgeCommit message (Collapse)Author
2001-11-05Workaround to prevent Altivec Unavilable problem.Dale Rahn
Why did Motorola put this exception misaligned with respect to all other exceptions? Altivec is not supported. This will cause any process executing altivec instructions to recieve an illegal instruction signal.
2001-09-21Correctly initialize variables in cpu_fork(). From NetBSD.Miod Vallat
2001-09-20Allow nesting of fault handlers by saving old onfault handler andDale Rahn
restoring it when the copying/copyout/badaddr functions finish.
2001-09-19merge vm/vm_kern.h into uvm/uvm_extern.h; art@ okMichael Shalayeff
2001-09-18Changing the way the pmap code works again.Dale Rahn
Changes to the pmap_enter code so that the pmap_kenter/pmap_kremove has a method to create mappings without adding them to the _pv lists (part of the point of pmap_k* functions). Also adds an interface so that device mappings can be created with cacheable attributes. So that devices such as display memory can be mapped writethru greatly increasing their speed.
2001-09-18Improve the panic message, print symbol and offset, of where fault occursDale Rahn
instead of just address. Managed to test this out a few times today.
2001-09-17pagemove() should use the pmap_k* functions instead of pmap_enter/remove.Dale Rahn
The buffer cache is initialized with pmap_k* for all powerpc systems. Does not cause a problem with current code because pmap_k* are only wrappers around pmap_enter/remove.
2001-09-15Rewrite of powerpc pmap_page_protect(), the old version had a couple ofDale Rahn
possible bugs in it which could cause the code to spin indefinately attempting to remove all mappings for a page. This is now able to survive a paging death program and additional other testing.
2001-09-14simplify userretArtur Grabowski
2001-09-10move vtophys proto into a port-area in order to remove it for macppc ↵Michael Shalayeff
eventually; drahn@ ok
2001-09-03Zero pages before handing them over to the VM layer.Dale Rahn
This seems to improve the reliablity of the system. Thanks to those who tested this.
2001-09-01The "powerpc" port which has supported the newer Apple Macintosh powerpc basedDale Rahn
is being renamed to macppc. This is to allow sharing of common code between different powerpc base platforms. Most of the work involved in the renaming process was performed by miod@ Files moved from powerpc/conf to macppc/conf files.powerpc was modified to keep powerpc common files.
2001-09-01The "powerpc" port which has supported the newer Apple Macintosh powerpc basedDale Rahn
is being renamed to macppc. This is to allow sharing of common code between different powerpc base platforms. Most of the work involved in the renaming process was performed by miod@ Files moved from powerpc/pci to macppc/pci The file pci_machdep.h was not moved in this conversion. It needs to be check if it is correct that should be the only shared powerpc/pci file. Or if that file too should be MD, or more files MI.
2001-09-01The "powerpc" port which has supported the newer Apple Macintosh powerpc basedDale Rahn
is being renamed to macppc. This is to allow sharing of common code between different powerpc base platforms. Most of the work involved in the renaming process was performed by miod@ Files moved from powerpc/mac to macppc/dev
2001-09-01The "powerpc" port which has supported the newer Apple Macintosh powerpc basedDale Rahn
is being renamed to macppc. This is to allow sharing of common code between different powerpc base platforms. Most of the work involved in the renaming process was performed by miod@ Files moved from powerpc/include to macppc/include Some files were not "moved" but wrapper files were created which include the powerpc/include version. Several of the powerpc/include files where changed to reflect that they are POWERPC_* not MACHINE_*.
2001-09-01The "powerpc" port which has supported the newer Apple Macintosh powerpc basedDale Rahn
is being renamed to macppc. This is to allow sharing of common code between different powerpc base platforms. Most of the work involved in the renaming process was performed by miod@ Files moved from powerpc/powerpc to macppc/macppc This moves hardware specific files from the common directory to the platform specific directory. This leaves common files. With this change all of the debugger (db_) files have been moved to the platform specific directory. The debugger should be reconsidered and commonized.
2001-09-01The "powerpc" port which has supported the newer Apple Macintosh powerpc basedDale Rahn
is being renamed to macppc. This is to allow sharing of common code between different powerpc base platforms. Most of the work involved in the renaming process was performed by miod@ Files moved from powerpc/compile to macppc/compile
2001-09-01The "powerpc" port which has supported the newer Apple Macintosh powerpc basedDale Rahn
is being renamed to macppc. This is to allow sharing of common code between different powerpc base platforms. Most of the work involved in the renaming process was performed by miod@ Files moved from powerpc/stand to macppc/stand
2001-09-01The "powerpc" port which has supported the newer Apple Macintosh powerpc basedDale Rahn
is being renamed to macppc. This is to allow sharing of common code between different powerpc base platforms. Most of the work involved in the renaming process was performed by miod@ Files moved from powerpc/stand/boot.mac to macppc/stand/boot.mac These files are the bootloader for the older Openfirmware, not currently supported.
2001-09-01The "powerpc" port which has supported the newer Apple Macintosh powerpc basedDale Rahn
is being renamed to macppc. This is to allow sharing of common code between different powerpc base platforms. Most of the work involved in the renaming process was performed by miod@ Files moved from powerpc/stand/mbr to macppc/stand/mbr
2001-09-01The "powerpc" port which has supported the newer Apple Macintosh powerpc basedDale Rahn
is being renamed to macppc. This is to allow sharing of common code between different powerpc base platforms. Most of the work involved in the renaming process was performed by miod@ Files moved from powerpc/stand/ofwboot to macppc/stand/ofwboot
2001-09-01The "powerpc" port which has supported the newer Apple Macintosh powerpc basedDale Rahn
is being renamed to macppc. This is to allow sharing of common code between different powerpc base platforms. Most of the work involved in the renaming process was performed by miod@ Files moved from arch/powerpc to arch/macppc.
2001-08-25Change pci_intr_map to take pci_attach_args as an argument.Artur Grabowski
All callers actually took all arguments to pci_intr_map from pci_attach_args structs, so this simplifies code. This also allows more complicated interrupt assignment schemes like the one on sparc64. This makes sparc64 pci interrupts work. Inspired by the same change in NetBSD.
2001-08-25The VP cache code, while giving the powerpc port a signficant speedDale Rahn
increase is contributing to the instability of the port. This ifdef's the code, disabling it.
2001-08-25It is nice to have the hex address of the function as well as the symbolDale Rahn
address.
2001-08-23Sync with contents of arch/foo/conf directory, might be useful one day.Miod Vallat
2001-08-23We can now move timeout_init into main().Artur Grabowski
2001-08-23Remove even more old timeout tentacles.Artur Grabowski
2001-08-23Move the limited memory mapping code later in configuration, afterDale Rahn
physmem size is known. Now this runs on systems > 256M again. This is still a BAD idea. New pmap module is coming soon.
2001-08-21Add copyright which should have been there when the file was created.Dale Rahn
2001-08-21use round_page() not an incorrect version of it using trunc_page().Dale Rahn
2001-08-21I would really like to add a copyright to this file, the NetBSD versionDale Rahn
is copied from the OpenBSD version (mine), however before a copyright was added. Since then effectively the entire file has been replaced with code from NetBSD (which still does not have a copyright). NetBSD tag added, to indicate which version of the file the existing code was derived from.
2001-08-21Put in copyright info which I forgot to add back in 1996.Dale Rahn
2001-08-19more NBPG -> PAGE_SIZE renames.Dale Rahn
2001-08-19ddb on powerpc does not have ``machine'' commands, so don't lie.Miod Vallat
2001-08-19New timeouts there as well.Miod Vallat
2001-08-18Some NBPG to PAGE_SIZE conversions.Dale Rahn
2001-08-18Change the timeouts on adb keyboard probing to be the same as NetBSD.Dale Rahn
It now boots a bit faster, and works more reliable on PBG4 500MHz machines.
2001-08-18Move pmap_{de,}activate to vm/pmap.h, it's same on all archs.Artur Grabowski
2001-08-18remove pv_table, it is not referenced any longer.Dale Rahn
2001-08-18Only map memory above 256MB if the memory is present in the system.Dale Rahn
2001-08-18make this compile __with__ akdb in the kernel configuration.Dale Rahn
Without this, it would not configure on systems with akbd.
2001-08-17When rounding up to the next page size, add NBPG-1, not NBPG beforeDale Rahn
trunc_page.
2001-08-17provide a way to get the number used for irq line, not only a stringMichael Shalayeff
representation, this is needed for devices like cbb which pass the interrupt line down to the cardbus attachment and not getting the right line before pci_intr_map() has done it's dirty deed. tested on i386 by jason@, compiles on alpha by art@. ppc and mveppc are to be test-compiled, but should work (;
2001-08-15Same fix as for mvmeppc needed there, forgot this one.Miod Vallat
2001-08-12vm_inherit.h no moreMichael Shalayeff
2001-08-12Fix build after breakage.Dale Rahn
> vm/vm_prot.h no more
2001-08-11make this compile without akbd in the kernel configuration.Matthieu Herrb
2001-08-10convert V->P table memory allocations to pool.Dale Rahn
2001-08-08New timeouts.Miod Vallat
if_gm tested by matthieu@, the whole ok'd by drahn@