#
267654 |
|
19-Jun-2014 |
gjb |
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
230690 |
|
28-Jan-2012 |
marius |
MFC: r226054
- Use atomic operations rather than sched_lock for safely assigning pm_active 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().
|
#
230669 |
|
28-Jan-2012 |
marius |
MFC: r225887
Use the extended integer condition code when comparing 64-bit values. Given that ATOMIC_INC_LONG currently is unused this happened to not be fatal.
|
#
230667 |
|
28-Jan-2012 |
marius |
MFC: r225886
- Right-justify backslashes as suggested by style(9). - 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.
|
#
225736 |
|
22-Sep-2011 |
kensmith |
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
Approved by: re (implicit)
|
#
221750 |
|
10-May-2011 |
marius |
Add an ATOMIC_CLEAR_LONG.
|
#
216802 |
|
29-Dec-2010 |
marius |
- Move the macros for generating load and store instructions to asmacros.h so they can be shared by different source files and extend them by a variant for atomic compare and swap. - Consistently use EMPTY.
|
#
203846 |
|
13-Feb-2010 |
marius |
Predict KASSERTs to be true.
|
#
130164 |
|
06-Jun-2004 |
phk |
Remove filename+line number from panic messages.
|
#
125081 |
|
27-Jan-2004 |
kensmith |
- Fix for sparc64 to use new __panic() function
Adapted from patch by: David Cornejo <dcornejo@firetide.com> Reviewed by: freebsd-sparc64 (harti) Approved by: rwatson (mentor)
|
#
117658 |
|
15-Jul-2003 |
jmg |
add support for interrupt counting on sparc64. This copies part of the 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
|
#
114085 |
|
26-Apr-2003 |
obrien |
I was wrong, the ENTRY bits in asm.h did have a purpose -- for userland. Restore the bits and remove them from asmacros.h. *.S will now be asm.h consumers.
Approved by: jake
|
#
114072 |
|
26-Apr-2003 |
obrien |
The ENTRY bits were in two places. Remove the one not used (asm.h), but presurve the nice comment by adding it to asmacros.h.
|
#
114071 |
|
26-Apr-2003 |
obrien |
Two tokens that don't together form a vaid preprocssor token cannot be pasted together using ANSI-C token concatinatation. GCC's cpp, at least, produces the desired result w/o using "##".
|
#
102040 |
|
18-Aug-2002 |
jake |
Add pmap support for user mappings of multiple page sizes (super pages). This supports all hardware page sizes (8K, 64K, 512K, 4MB), but only 8k pages are actually used as of yet.
|
#
100840 |
|
28-Jul-2002 |
jake |
Add _ALIGN_DATA and _ALIGN_TEXT macros.
|
#
97262 |
|
24-May-2002 |
jake |
Minor style.
|
#
92213 |
|
13-Mar-2002 |
jake |
Fix ifdef LOCORE protection.
|
#
92198 |
|
13-Mar-2002 |
jake |
Add an ATOMIC_CLEAR_INT macro.
Submitted by: tmm
|
#
89032 |
|
08-Jan-2002 |
jake |
Update comments and defines to reflect that normal and alternate g6 point 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.
|
#
88616 |
|
29-Dec-2001 |
jake |
Add macros for dedicated register variables, for use in assmebler. Add a PUTS macro.
|
#
87702 |
|
11-Dec-2001 |
jhb |
Overhaul the per-CPU support a bit:
- 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
|
#
86524 |
|
18-Nov-2001 |
jake |
Implement SET. Set execption.s 1.12.
Submitted by: tmm
|
#
84176 |
|
30-Sep-2001 |
jake |
Implement PCPU_ADDR. Align functions on 16 bytes boundaries.
|
#
81893 |
|
18-Aug-2001 |
jake |
Gcc 3.0 requires a .register pseudo-op for certain global registers when used in assembly language. Tell it to ignore the registers for now.
|
#
81334 |
|
09-Aug-2001 |
obrien |
The author isn't a [UC] Regents. Correct the copyright language.
|
#
80709 |
|
31-Jul-2001 |
jake |
Flesh out the sparc64 port considerably. This contains: - 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
|