summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
AgeCommit message (Collapse)Author
2004-02-14Simplify hw.{cpuspeed,setperf} api moving all the sysctl stuffAlexander Yurchenko
from the underlying callbacks. Testing hppa mickey@, ppc drahn@ Ok markus@ tedu@
2004-01-25Various typos in comments.Miod Vallat
2004-01-15Undo backout of this piece of 'SR restores', this feature is used byDale Rahn
on pegasos.
2004-01-03put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macrosMarc Espie
to built-ins, so eventually we will have one version of these files. Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes. okay millert@, drahn@, miod@.
2004-01-03backout segment register restore diff which causes reproducible hangs; ok ↵Peter Valchev
deraadt
2003-12-24support cpu_cpuspeed on macppc.Dale Rahn
2003-12-21Switch db_expr_t from int to long, per consistency with all other arches.Miod Vallat
ok drahn@
2003-12-20Pass -WformatMiod Vallat
2003-10-31'powerpc' common isa definitions.Dale Rahn
2003-10-31Fix ppc segment register restores, this fixes the 1GB ram limit andDale Rahn
cleans up pieces in the pmap code. tested otto, brad, miod, pval.
2003-10-31tab/whitespace cleanup.Dale Rahn
2003-10-19Use defines instead of magic constants for more IPL_ stuff, also sortDale Rahn
the IPL_ values by priority, not somewhat random values. No unmodified code relied on the order of these defines.
2003-10-15Sometimes KNF is not a destination, but a journey. Also ANSI.Dale Rahn
Binaries unchanged.
2003-10-15Instead of specifying registers by number use the %rN notation, doens't giveDale Rahn
any extra checking by the assembler, but can make it easier to read. resulting binary unchanged.
2003-10-15Housecleaning, no binary change.Dale Rahn
2003-08-21These files were intended for X11 support, but serve no purpose nowadays,Miod Vallat
as sparc* do not use Xsun-compatible event interface anymore, and alpha only used this for Xtga which we do not ship anymore. Discussed long ago with matthieu@
2003-08-10Define wint_t on powerpc.Miod Vallat
2003-07-14tickspending is now a private variable of clock.cDale Rahn
2003-07-14'dual' clock support for macppc, this allows the stat clock to runDale Rahn
at a rate independant of the HZ clock. when profiling is enabled stat clock now runs at 1000/s instead of the normal 100/s. Other improvements to the ppc clock handling and KNF/ansi.
2003-07-08Improved timebase register handling. use all 64 bits, instead of theDale Rahn
lower 32 bits.
2003-07-02[kick] fix merge error.Dale Rahn
2003-07-02If the fpu or vector registers are not currently associated with anyDale Rahn
process, the fpuproc or vecproc are set to NULL, prevent these functions from potentially attempting to access thru a NULL pointer.
2003-07-02Reduce the amount of asm code in powerpc/macppc by replacing it withDale Rahn
inlined functions, helps improve readability and fix a couple of bugs. ok miod@
2003-07-02make ppc_intr_(enable|disable)() inlined functions.Dale Rahn
2003-06-24For now depend on the gccism __CHAR_UNSIGNED__ to define if we have (un)signedDale Rahn
chars. Fixes other defines if -fsigned-chars is specified. ok deraadt.
2003-06-09more 3/4 cleanup for pefoTheo de Raadt
2003-06-03terms 3 & 4 cleanup based on "terms" fileTheo de Raadt
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.