[Cbe-oss-dev] [PATCH 1/2]MARS/core: Tick counter api

Arnd Bergmann arnd at arndb.de
Mon Nov 24 21:36:32 EST 2008


On Friday 21 November 2008, Yuji Mano wrote:
> +uint32_t mars_get_ticks(void)
> +{
> +       return __mftb() & 0xffffffff;
> +}

Where does the definition of __mftb come from? Does it have the fixup
for the cell erratum reading the time base?

	Arnd <><



More information about the cbe-oss-dev mailing list