summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Turn some CTR's into CTR0's.benno2002-04-153-6/+6
|
* GC an extraneous prototype of delay().benno2002-04-151-1/+0
|
* Include <sys/cdefs.h> for definition of __BSD_VISIBLE.mike2002-04-121-0/+1
| | | | Pointy hat to: mike
* Remove the hack for segsz_t from <sys/types.h>; use the normalmike2002-04-101-0/+1
| | | | _BSD_FOO_T_ method for defining segsz_t.
* Add manifest constants: _LITTLE_ENDIAN, _BIG_ENDIAN, _PDP_ENDIAN, andmike2002-04-101-6/+15
| | | | | | _BYTE_ORDER. These are far more useful than their non-underscored equivalents as these can be used in restricted namespace environments. Mark the non-underscored variants as deprecated.
* GC various bits and pieces of USERCONFIG from all over the place.phk2002-04-092-24/+0
|
* GC the "dumplo" variable, which is no longer used.phk2002-04-072-2/+0
| | | | A lot of sys/*/*/machdep.c seems not to be.
* - Move the MI mutexes sched_lock and Giant from being declared in thejhb2002-04-022-46/+6
| | | | | | | | | | various machdep.c's to being declared in kern_mutex.c. - Add a new function mutex_init() used to perform early initialization needed for mutexes such as setting up thread0's contested lock list and initializing MI mutexes. Change the various MD startup routines to call this function instead of duplicating all the code themselves. Tested on: alpha, i386
* Stage-2 commit of the critical*() code. This re-inlines cpu_critical_enter()dillon2002-04-013-26/+76
| | | | | | | | | | | | | | | | | | | | | and cpu_critical_exit() and moves associated critical prototypes into their own header file, <arch>/<arch>/critical.h, which is only included by the three MI source files that need it. Backout and re-apply improperly comitted syntactical cleanups made to files that were still under active development. Backout improperly comitted program structure changes that moved localized declarations to the top of two procedures. Partially re-apply one of the program structure changes to move 'mask' into an intermediate block rather then in three separate sub-blocks to make the code more readable. Re-integrate bug fixes that Jake made to the sparc64 code. Note: In general, developers should not gratuitously move declarations out of sub-blocks. They are where they are for reasons of structure, grouping, readability, compiler-localizability, and to avoid developer-introduced bugs similar to several found in recent years in the VFS and VM code. Reviewed by: jake
* Centralize the "bootdev" and "dumpdev" variables. They are still prettyphk2002-03-311-3/+0
| | | | | bogus all things considered, but at least now they don't camouflage as being MD variables.
OpenPOWER on IntegriCloud