| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
architectures by using a 64 bit word for the bit array which keeps
track of non-empty queues.
Reviewed by: peter
|
|
|
|
| |
Requested by: jhb
|
|
|
|
|
| |
- Correct the implementation of fix_unaligned to use a thread, not a proc.
- GC some #if 0'd stuff.
|
| |
|
|
|
|
|
| |
- Rename the _ASM_LABEL macro to ASMNAME.
- Add the HIDENAME macro which is used in libc's syscall stuff.
|
| |
|
| |
|
|
|
|
| |
It can all still be overridden in the MD files should need suddenly arise.
|
| |
|
|
|
|
| |
Obtained from: NetBSD (portions)
|
| |
|
|
|
|
| |
Copied from: sparc64
|
|
|
|
|
|
|
| |
- pmap_addr_hint
- pmap_change_wiring
- pmap_extract
- pmap_is_modified
|
| |
|
|
|
|
| |
change the page protection bits.
|
| |
|
| |
|
| |
|
|
|
|
| |
Obtained from: NetBSD
|
| |
|
|
|
|
| |
anymore.
|
|
|
|
| |
- Remove some stray printf()s.
|
|
|
|
|
|
|
| |
2. Set a pcpu variable to the real address of the active pmap (used when
exiting from traps.
Obtained from: NetBSD (1)
|
|
|
|
| |
conflict with cpu names used in config files..
|
|
|
|
| |
contain no truly interesting data anymore.
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
around vm_fault() in trap_pfault().
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
- pmap_kextract
- pmap_object_init_pt
- pmap_protect
- pmap_remove_pages
I'm pretty sure pmap_remove_pages is at least somewhat bogus.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
| |
Copied from: sparc64
|
| |
|
| |
|
|
|
|
| |
Pointy hat to: mike
|
|
|
|
| |
_BSD_FOO_T_ method for defining segsz_t.
|
|
|
|
|
|
| |
_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.
|
| |
|
|
|
|
| |
A lot of sys/*/*/machdep.c seems not to be.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
bogus all things considered, but at least now they don't camouflage as
being MD variables.
|