cvs commit: src/sys/arm/include machdep.h pmap.h sysarch.h src/sys/arm/arm cpufunc_asm.S genassym.c machdep.c pmap.c swtch.S src/sys/arm/xscale std.xscale src/sys/arm/xscale/i80321 std.i80321

Olivier Houchard cognet at ci0.org
Sun Feb 27 00:49:16 GMT 2005


On Sun, Feb 27, 2005 at 08:40:16AM +0800, David Xu wrote:
> I am thinking why you can finish the task in such short time. :=)
> 
> Should sysarch(ARM_SET_TP,...) write the thread pointer to
> ARM_TP_ADDRESS now not just remembers it or did I miss
> something ?
> 
> David Xu
> 

Well I didn't really thought about it yet, but the sysarch() mechanism lost
its interest now, I was just pondering keeping it to provide a costly but
working way to handle the tp in the unlikely situation where someone would
want to do that on a SMP system with CPUs that can't lock cache line.
I have nothing aginst ARM_SET_TP changing ARM_TP_ADDRESS, but it doesn't matter
much since userland tools can mess with ARM_TP_ADDRESS directly.

Cheers,

Olivier


More information about the cvs-all mailing list