summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
Commit message (Collapse)AuthorAgeFilesLines
* The stack is not at the top of the user struct.benno2002-05-282-6/+0
|
* Remove an assertion as to whether the current thread already had the FPU orbenno2002-05-282-4/+0
| | | | | not. It may be desirable to put something similar back, but it's getting in the way in it's current form.
* - Move macros that represent where syscall args are kept in a trapframe frombenno2002-05-285-12/+15
| | | | | | trap.c to frame.h - Use the macros in vm_machdep.c:cpu_fork() to set up the trap frame of the new thread.
* Remove the old prototype for kcopy. It's in cpu.h now.benno2002-05-282-2/+0
|
* Implement pmap_copy and pmap_copy_page.benno2002-05-283-9/+39
|
* Move the kcopy() function from trap.c to machdep.c. Add a prototype.benno2002-05-285-60/+61
|
* Print srr1 in printtrap()benno2002-05-272-2/+4
| | | | Submitted by: Peter Grehan <peterg@ptree32.com.au>
* Get the correct memory regions from OpenFirmware. We were getting thebenno2002-05-276-91/+95
| | | | | | | "available" ranges, not the "physical" ranges. Clean up some of the bootstrap code in the process. Submitted by: Peter Grehan <peterg@ptree32.com.au>
* Use correct types in [sf]uword32.benno2002-05-272-8/+8
|
* Add declarations of suword32 and suword64. Add implementations of one ordfr2002-05-262-0/+26
| | | | | the other (or both) to all the platforms. Similar for fuword32 and fuword64.
* Make the run queue parameters machine dependent. Optimize 64 bitjake2002-05-251-0/+46
| | | | | | | architectures by using a 64 bit word for the bit array which keeps track of non-empty queues. Reviewed by: peter
* Make this more FreeBSD-ish.benno2002-05-192-674/+826
| | | | Requested by: jhb
* - Do a quick style pass.benno2002-05-192-264/+144
| | | | | - Correct the implementation of fix_unaligned to use a thread, not a proc. - GC some #if 0'd stuff.
* Add the PSL_VEC flag for AltiVec (no, it's not here yet =))benno2002-05-191-2/+3
|
* - Rename the _C_LABEL macro to CNAME.benno2002-05-174-178/+179
| | | | | - Rename the _ASM_LABEL macro to ASMNAME. - Add the HIDENAME macro which is used in libc's syscall stuff.
* Fix commenting around NetBSD version string.benno2002-05-171-1/+1
|
* An exact copy of i386/include/float.h will work here.obrien2002-05-151-0/+73
|
* Move MI stuff out of MD param.h files.phk2002-05-141-48/+0
| | | | It can all still be overridden in the MD files should need suddenly arise.
* Remove the unused definitions of ctod() and dotc().phk2002-05-141-4/+0
|
* FPU support.benno2002-05-139-221/+219
| | | | Obtained from: NetBSD (portions)
* More locking fixes.benno2002-05-122-6/+26
|
* Do the correct locking on processes for DSI and ISI traps.benno2002-05-122-0/+20
| | | | Copied from: sparc64
* Implement the following functions:benno2002-05-103-24/+96
| | | | | | | - pmap_addr_hint - pmap_change_wiring - pmap_extract - pmap_is_modified
* Install the system call trap handler.benno2002-05-102-0/+2
|
* Improve our detection of an attempted duplicate entry. We may be trying tobenno2002-05-103-3/+12
| | | | change the page protection bits.
* Remove a debugging printf that escaped.benno2002-05-102-2/+0
|
* Increase the size of the kstack.benno2002-05-101-1/+1
|
* Gcc 3.1 varargs support.obrien2002-05-103-1/+35
|
* Update to newer trap code from NetBSD.benno2002-05-093-887/+897
| | | | Obtained from: NetBSD
* Add an assertion that we have a current pmap set before we try and return.benno2002-05-092-2/+16
|
* The per-cpu curpmap is now set by pmap_activate. We don't need to do it herebenno2002-05-093-36/+6
| | | | anymore.
* - Add a prototype for the setfault() function.benno2002-05-092-12/+4
| | | | - Remove some stray printf()s.
* 1. Better track the executable status of mappings.benno2002-05-094-39/+170
| | | | | | | 2. Set a pcpu variable to the real address of the active pmap (used when exiting from traps. Obtained from: NetBSD (1)
* Rename the constants for the contents of the PVR register so as not tobenno2002-05-091-17/+17
| | | | conflict with cpu names used in config files..
* Don't export timecounter structures under debug. with sysctl, theyphk2002-04-302-6/+0
| | | | contain no truly interesting data anymore.
* Commit of stuff that's been sitting in my tree for a while.benno2002-04-2913-2831/+2845
| | | | | | | | | | | Highlights include: - New low-level trap code from NetBSD. The high level code still needs a lot of work. - Fixes for some pmap handling in thread switching. - The kernel will now get to attempting to jump into init in user mode. There are some pmap/trap issues which prevent it from actually getting there though. Obtained from: NetBSD (parts)
* - Add back calls to setfault that were removed when these functions were moved.benno2002-04-292-28/+148
|
* Tidy up some loose ends.peter2002-04-294-40/+0
| | | | | | | | | | | | i386/ia64/alpha - catch up to sparc64/ppc: - replace pmap_kernel() with refs to kernel_pmap - change kernel_pmap pointer to (&kernel_pmap_store) (this is a speedup since ld can set these at compile/link time) all platforms (as suggested by jake): - gc unused pmap_reference - gc unused pmap_destroy - gc unused struct pmap.pm_count (we never used pm_count - we track address space sharing at the vmspace)
* MFi386 1.222: Remove vm_map_growstack() and acquisition and release of Giantalc2002-04-272-34/+4
| | | | around vm_fault() in trap_pfault().
* Don't use the symbol name to lookup the symbol value when we can usemarcel2002-04-251-8/+8
| | | | | | | | | | | | the symbol index defined by the relocation. The elf_lookup() support function is to be used by elf_reloc() when symbol lookups need to be done. The elf_lookup() function operates on the symbol index and will do a symbol name based lookup when such is required, otherwise it uses the symbol index directly. This solves the problem seen on ia64 where the symbol hash table does not contain local symbols and a symbol name based lookup would fail for those symbols. Don't pass the symbol name to elf_reloc(), as it isn't used any more.
* Replace inline asm with it's inline function wrapper.benno2002-04-202-2/+2
|
* Correct a comment.benno2002-04-163-3/+3
|
* Implement the following functions:benno2002-04-163-24/+216
| | | | | | | | | - pmap_kextract - pmap_object_init_pt - pmap_protect - pmap_remove_pages I'm pretty sure pmap_remove_pages is at least somewhat bogus.
* Remove some dead code.benno2002-04-163-48/+0
|
* Use mtsrin() instead of inline asm.benno2002-04-163-9/+6
|
* Change the value of PMAP_BOOTSTRAP so we don't stomp on the PTE index value.benno2002-04-163-3/+3
|
* Add inlines for mtsrin and mfsrin.benno2002-04-161-0/+17
|
* Pass vm_page_t instead of physical addresses to pmap_zero_page[_area]()peter2002-04-153-9/+12
| | | | | | | | | | | and pmap_copy_page(). This gets rid of a couple more physical addresses in upper layers, with the eventual aim of supporting PAE and dealing with the physical addressing mostly within pmap. (We will need either 64 bit physical addresses or page indexes, possibly both depending on the circumstances. Leaving this to pmap itself gives more flexibilitly.) Reviewed by: jake Tested on: i386, ia64 and (I believe) sparc64. (my alpha was hosed)
* Add ofwd to the GENERIC config for powerpc.benno2002-04-151-0/+1
|
* Add a nexus device.benno2002-04-153-0/+517
| | | | Copied from: sparc64
OpenPOWER on IntegriCloud