Rev 394 | Rev 396 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 394 | Rev 395 | ||
---|---|---|---|
Line 41... | Line 41... | ||
41 | static void tlb_refill_fail(struct exception_regdump *pstate); |
41 | static void tlb_refill_fail(struct exception_regdump *pstate); |
42 | static void tlb_invalid_fail(struct exception_regdump *pstate); |
42 | static void tlb_invalid_fail(struct exception_regdump *pstate); |
43 | static void tlb_modified_fail(struct exception_regdump *pstate); |
43 | static void tlb_modified_fail(struct exception_regdump *pstate); |
44 | 44 | ||
45 | static pte_t *find_mapping_and_check(__address badvaddr); |
45 | static pte_t *find_mapping_and_check(__address badvaddr); |
46 | static void prepare_entry_lo(struct entry_lo *lo, bool g, bool v, bool d, bool c, __address pfn); |
46 | static void prepare_entry_lo(struct entry_lo *lo, bool g, bool v, bool d, int c, __address pfn); |
47 | 47 | ||
48 | /** Initialize TLB |
48 | /** Initialize TLB |
49 | * |
49 | * |
50 | * Initialize TLB. |
50 | * Initialize TLB. |
51 | * Invalidate all entries and mark wired entries. |
51 | * Invalidate all entries and mark wired entries. |
Line 336... | Line 336... | ||
336 | return NULL; |
336 | return NULL; |
337 | 337 | ||
338 | return pte; |
338 | return pte; |
339 | } |
339 | } |
340 | 340 | ||
341 | void prepare_entry_lo(struct entry_lo *lo, bool g, bool v, bool d, bool c, __address pfn) |
341 | void prepare_entry_lo(struct entry_lo *lo, bool g, bool v, bool d, int c, __address pfn) |
342 | { |
342 | { |
343 | lo->g = g; |
343 | lo->g = g; |
344 | lo->v = v; |
344 | lo->v = v; |
345 | lo->d = d; |
345 | lo->d = d; |
346 | lo->c = c; |
346 | lo->c = c; |