stage2/cpu.c | raw changeset files shortlog |
1.1 --- a/stage2/cpu.c Wed May 04 23:35:03 2016 +0200 1.2 +++ b/stage2/cpu.c Wed May 04 23:59:04 2016 +0200 1.3 @@ -73,9 +73,9 @@ 1.4 base[29] = (u32) function - 0x80000000; /* store the function address as EPC (for the handler) */ 1.5 } 1.6 1.7 -void init_tlb(void) 1.8 +void init_tlb(u8 first_random) 1.9 { 1.10 - u32 limit = configure_tlb(), i; 1.11 + u32 limit = configure_tlb(first_random), i; 1.12 1.13 /* Reset the mappings. The total number is bits 30..25 of Config1. */ 1.14