
27 Nov
2008
27 Nov
'08
6:17 p.m.
Stefan Roese wrote:
Hi Dirk,
On Thursday 27 November 2008, Dirk Eibach wrote:
[snip]
+#include <ppc_asm.tmpl> +#include <config.h>
+/* General */ +#define TLB_VALID 0x00000200
+/* Supported page sizes */
+#define SZ_1K 0x00000000 +#define SZ_4K 0x00000010
...
Just include:
#include <asm-ppc/mmu.h>
and you get all those defines for free.
Best regards, Stefan
Hi Stefan,
I'll do you four letters fewer:
#include <asm/mmu.h>
...since include/asm is symlinked to the active asm-<arch>.
Best regards, gvb