PERFORCE change 101195 for review
John Baldwin
jhb at freebsd.org
Mon Jul 10 17:03:16 UTC 2006
On Monday 10 July 2006 07:31, Oleksandr Tymoshenko wrote:
> http://perforce.freebsd.org/chv.cgi?CH=101195
>
> Change 101195 by gonzo at gonzo_hq on 2006/07/10 11:30:52
>
> o Add mips-specific fields to mdthread struct.
>
> Affected files ...
>
> .. //depot/projects/mips2/src/sys/mips/include/proc.h#2 edit
>
> Differences ...
>
> ==== //depot/projects/mips2/src/sys/mips/include/proc.h#2 (text+ko) ====
>
> @@ -37,8 +37,9 @@
> * Machine-dependent part of the proc structure for AMD64.
> */
> struct mdthread {
> - int md_spinlock_count; /* (k) */
> - register_t md_saved_flags; /* (k) */
> + __register_t md_savecrit; /* critical section saved SR */
> + void *md_regs; /* registers on current frame */
> + int md_flags; /* machine-dependent flags */
> };
You will still need md_spinlock_count, and please call md_savecrit something
better like 'md_saved_sr'. The reason for this is that spinlock_enter/exit
were added more recently than juli's work.
--
John Baldwin
More information about the p4-projects
mailing list