| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
and pc_pmap for SMP. This is key to allowing adding support for SCHED_ULE.
Thanks go to Peter Jeremy for additional testing.
- Add support for SCHED_ULE to cpu_switch().
Committed from: 201110DevSummit
Notes:
svn path=/head/; revision=226054
|
|
|
|
|
|
|
| |
that ATOMIC_INC_LONG currently is unused this happened to not be fatal.
Notes:
svn path=/head/; revision=225887
|
|
|
|
|
|
|
|
| |
- Rename ATOMIC_INC_ULONG to ATOMIC_INC_LONG in order to be consistent with
the names of the other macros in this file an adjust accordingly.
Notes:
svn path=/head/; revision=225886
|
|
|
|
| |
Notes:
svn path=/head/; revision=221750
|
|
|
|
|
|
|
|
|
| |
so they can be shared by different source files and extend them by a
variant for atomic compare and swap.
- Consistently use EMPTY.
Notes:
svn path=/head/; revision=216802
|
|
|
|
| |
Notes:
svn path=/head/; revision=203846
|
|
|
|
| |
Notes:
svn path=/head/; revision=130164
|
|
|
|
|
|
|
|
|
| |
Adapted from patch by: David Cornejo <dcornejo@firetide.com>
Reviewed by: freebsd-sparc64 (harti)
Approved by: rwatson (mentor)
Notes:
svn path=/head/; revision=125081
|
|
|
|
|
|
|
|
|
|
|
|
| |
code from i386. The code has a slight bogon that interrupts are counted
twice. Once on the ithread dispatch and once on the dispatch for the vector
vmstat -i and systat -vm now contains interrupt counts.
Reviewed by: jake
Notes:
svn path=/head/; revision=117658
|
|
|
|
|
|
|
|
|
|
| |
Restore the bits and remove them from asmacros.h. *.S will now be asm.h
consumers.
Approved by: jake
Notes:
svn path=/head/; revision=114085
|
|
|
|
|
|
|
| |
presurve the nice comment by adding it to asmacros.h.
Notes:
svn path=/head/; revision=114072
|
|
|
|
|
|
|
|
| |
pasted together using ANSI-C token concatinatation. GCC's cpp, at least,
produces the desired result w/o using "##".
Notes:
svn path=/head/; revision=114071
|
|
|
|
|
|
|
|
| |
This supports all hardware page sizes (8K, 64K, 512K, 4MB), but only 8k
pages are actually used as of yet.
Notes:
svn path=/head/; revision=102040
|
|
|
|
| |
Notes:
svn path=/head/; revision=100840
|
|
|
|
| |
Notes:
svn path=/head/; revision=97262
|
|
|
|
| |
Notes:
svn path=/head/; revision=92213
|
|
|
|
|
|
|
| |
Submitted by: tmm
Notes:
svn path=/head/; revision=92198
|
|
|
|
|
|
|
|
|
|
| |
to the current pcb.
Remove interrupt global defines; they use PCPU_REG now.
Move ATOMIC_INC_INT here from exception.s, add ATOMIC_DEC_INT.
Add a KASSERT macro for use in assembler.
Notes:
svn path=/head/; revision=89032
|
|
|
|
|
|
|
| |
Add a PUTS macro.
Notes:
svn path=/head/; revision=88616
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- The MI portions of struct globaldata have been consolidated into a MI
struct pcpu. The MD per-CPU data are specified via a macro defined in
machine/pcpu.h. A macro was chosen over a struct mdpcpu so that the
interface would be cleaner (PCPU_GET(my_md_field) vs.
PCPU_GET(md.md_my_md_field)).
- All references to globaldata are changed to pcpu instead. In a UP kernel,
this data was stored as global variables which is where the original name
came from. In an SMP world this data is per-CPU and ideally private to each
CPU outside of the context of debuggers. This also included combining
machine/globaldata.h and machine/globals.h into machine/pcpu.h.
- The pointer to the thread using the FPU on i386 was renamed from
npxthread to fpcurthread to be identical with other architectures.
- Make the show pcpu ddb command MI with a MD callout to display MD
fields.
- The globaldata_register() function was renamed to pcpu_init() and now
init's MI fields of a struct pcpu in addition to registering it with
the internal array and list.
- A pcpu_destroy() function was added to remove a struct pcpu from the
internal array and list.
Tested on: alpha, i386
Reviewed by: peter, jake
Notes:
svn path=/head/; revision=87702
|
|
|
|
|
|
|
| |
Submitted by: tmm
Notes:
svn path=/head/; revision=86524
|
|
|
|
| |
Notes:
svn path=/head/; revision=84176
|
|
|
|
|
|
|
| |
used in assembly language. Tell it to ignore the registers for now.
Notes:
svn path=/head/; revision=81893
|
|
|
|
| |
Notes:
svn path=/head/; revision=81334
|
|
- mostly complete kernel pmap support, and tested but currently turned
off userland pmap support
- low level assembly language trap, context switching and support code
- fully implemented atomic.h and supporting cpufunc.h
- some support for kernel debugging with ddb
- various header tweaks and filling out of machine dependent structures
Notes:
svn path=/head/; revision=80709
|