freebsd-skq/sys/arm/xscale/i80321/std.i80321
Olivier Houchard f4c01f1508 Instead of using sysarch() to store-retrieve the tp, add a magic address,
ARM_TP_ADDRESS, where the tp will be stored. On CPUs that support it, a cache
line will be allocated and locked for this address, so that it will never go
to RAM. On CPUs that does not, a page is allocated for it (it will be a bit
slower, and is wrong for SMP, but should be fine for UP).
The tp is still stored in the mdthread struct, and at each context switch,
ARM_TP_ADDRESS gets updated.

Suggested by:   davidxu
2005-02-26 18:59:01 +00:00

6 lines
142 B
Plaintext

#XScale i80321 generic configuration
#$FreeBSD$
files "../xscale/i80321/files.i80321"
include "../xscale/std.xscale"
cpu CPU_XSCALE_80321