summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
AgeCommit message (Collapse)Author
2003-06-03kill clause 3 and 4 from several of my copyrights, cleanup.Dale Rahn
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-12kill another common; drahn okJason Wright
2003-05-11check done for NULL before dereferencing. ok drahn@Ted Unangst
2003-05-09'found' variable was not used correctly, simplify the logic.Dale Rahn
2003-05-09sprintf() removal for ppc disassembler. ok millert@Dale Rahn
2003-05-08'branch absolute linking' instruction is 'bla', not 'bal'.Dale Rahn
2003-05-08KNFDale Rahn
2003-05-08Change extract_field() arguments, eliminates the nasty '31 -' all over theDale Rahn
file. Remove NetBSD tag, this file is not used by NetBSD. Copyright cleanup.
2003-05-08Put newline on end of disasm so that x /i <addr>,<cnt> works correctly.Dale Rahn
2003-04-26managment -> management;Jason McIntyre
ok mickey@
2003-03-27Improve disassmbly of powerpc branch instructions, print the conditionalDale Rahn
information in a readable form.
2003-03-04told you it was not knfTheo de Raadt
2003-03-04Move 'userret' code to a seperate function, add it to child_return(). w/KNFDale Rahn
2003-02-26Remove an unnecessary structure copy from useage of setfault(), callDale Rahn
by reference, not by value, ok matthieu#, miod@
2003-02-20Fix the mask and sign extension for bl instruction which branch backwards.Dale Rahn
When printing the address, address has already been added according to AA.
2003-02-12move ddb_regs decl from .h to .c to avoid commonJason Wright
2003-01-30Track if a physical page has been previously mapped executable. If itDale Rahn
has not been previously mapped EXE, flush it. If a writeable mapping which is not executable occurs for the page, clear this bit. Solves a problem where an executable page is double mapped, first without EXE then accessed for execute at a different physical page, the cache will behave properly.
2003-01-09Remove fetch(9) and store(9) functions from the kernel, and replace the fewMiod Vallat
remaining instances of them with appropriate copy(9) usage. ok art@, tested on all arches unless my memory is non-ECC
2002-11-21MID_MACHINE should not be 0 (MID_ZERO) but MID_POWERPC,Dale Rahn
not used in kernel anyway. pointed out by art@
2002-11-11Proper defines for powerpc kernel profiling.Dale Rahn
2002-11-06Eliminate the use of KERN_SUCCESS outside of uvm/Artur Grabowski
Also uvm_map returns KERN_* codes that are directly mapped to errnos, so we can return them instead of doing some attempt to translation. drahn@ "I see no problem" pval@ "makes sense"
2002-10-24Add va_copy() as necessary for powerpc, same protections as was addedDale Rahn
recently on other architectures.
2002-10-17sync with gcc version, fixes bug in sftp where it had a 64 bit parameterDale Rahn
which straddled the last register first stack parameter.
2002-10-13Remove more '\n's from panic() statements. From Chris Kuethe.Kenneth R Westerback
2002-09-15backout prematureTheo de Raadt
2002-09-15KNFTheo de Raadt
2002-09-12Change the PMAP_{MAP,UNMAP}_POOLPAGE api to take a vm_page as argumentArtur Grabowski
and return a VM_PAGE. This is to allow sparc64 to cheaply record the VAC color for those pages.
2002-09-10Change the pmap_zero_page and pmap_copy_page API to take the struct vm_page *Artur Grabowski
instead of the pa. Most callers already had it handy and those who didn't only called it for managed pages and were outside time-critical code. This will allow us to make those functions clean and fast on sparc and sparc64 letting us to avoid unnecessary cache flushes. deraadt@ miod@ drahn@ ok.
2002-08-06No, powerpc is not Elf64, it is Elf32. stupid comment error.Dale Rahn
2002-07-30Add SIZE_MAX define. This is the same as SIZE_T_MAX but more portable.Todd C. Miller
The only OSes I've seen that use SIZE_T_MAX are 4.4BSD-derived whereas SYSV things seem to use SIZE_MAX. It is also consistent with SSIZE_MAX (which we already have). deraadt@ OK
2002-07-24- change pte_spill_X() to take an extra parameter to determine ifDale Rahn
the fault is a EXE fault or R/W fault. - mask/or the SR_NOEXEC bit into the segment register value when the number of executable pages becomes 0/non-zero. - create segments with SR_NOEXEC set, will be cleared when first exec mapping in the segment is created. - allow pte_spill_X() to deal with a new type of fault, page mapped but non executable, when execute was requested. Adds up to - non-exec stack support for powerpc.
2002-07-23Remove unused files now that powerpc archs use link_elf.hDale Rahn
2002-07-23Cardbus/pcmcia support for macppc. parts borrowed from NetBSD, and otherDale Rahn
portions of the tree.
2002-07-15Perform accounting for executable pages on powerpc, prepare forDale Rahn
non-executeable stack.
2002-07-12Cleanup: use less _t typedefs, use the structure itself.Dale Rahn
pmap_t is the exception, it is required by the MI code so pmap_t will be used instead of using 'struct pmap *' in the code. (consistency)
2002-06-10argh, no last minute changes...Dale Rahn
2002-06-10pmap cleanup and KNF.Dale Rahn
2002-06-09KNFDale Rahn
2002-06-08One ddb to rule them all.Miod Vallat
Move the ddb files form macppc/macppc to powerpc/ddb, so that mvmeppc can benefit from the better ddb that was in macppc. db_interface.c is left as an md part.
2002-06-08Factorize common parts (cache-related stuff).Miod Vallat
ok drahn@
2002-06-07More DDB fallout.Dale Rahn
2002-06-07This doesn't happen, and Debugger should not be used here anyway...Dale Rahn
2002-06-07Remove obsolete CLKF_BASEPRI(). ok niklas@, miod@ and art@Thomas Nordin
2002-06-06zapArtur Grabowski
2002-06-04spelling; raj@cerias.purdue.eduTheo de Raadt
2002-06-02withough -> withoutTheo de Raadt
2002-05-18Optimize pmap_remove(). It frequently is called with no mappings toDale Rahn
remove eg mmap() ok miod@ art@
2002-05-18Rename the MD db_stack_trace_cmd to db_stack_trace_print. Add an argumentArtur Grabowski
that specifies which printf funciton it should use. Implement db_stack_trace_cmd in MI code. Thanks to miod@ for all the tests.
2002-05-16Add systrace support to all the remaining architectures.Miod Vallat
Tested by various people on various platforms, I'm willing to fix any breakage this causes. ok niels@ deraadt@ and mickey@ (after his comments were applied)