Rev 901 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 901 | Rev 902 | ||
---|---|---|---|
Line 70... | Line 70... | ||
70 | rr_write(VRN_KERNEL, rr.word); |
70 | rr_write(VRN_KERNEL, rr.word); |
71 | srlz_i(); |
71 | srlz_i(); |
72 | srlz_d(); |
72 | srlz_d(); |
73 | 73 | ||
74 | /* |
74 | /* |
75 | * And invalidate the rest of region register. |
75 | * And setup the rest of region register. |
76 | */ |
76 | */ |
77 | for(i = 0; i < REGION_REGISTERS; i++) { |
77 | for(i = 0; i < REGION_REGISTERS; i++) { |
78 | /* skip kernel rr */ |
78 | /* skip kernel rr */ |
79 | if (i == VRN_KERNEL) |
79 | if (i == VRN_KERNEL) |
80 | continue; |
80 | continue; |
81 | 81 | ||
82 | rr.word == rr_read(i); |
82 | rr.word == rr_read(i); |
83 | rr.map.ve = 0; /* disable VHPT walker */ |
83 | rr.map.ve = 0; /* disable VHPT walker */ |
84 | rr.map.rid = RID_INVALID; |
84 | rr.map.rid = RID_KERNEL; |
- | 85 | rr.map.ps = PAGE_WIDTH; |
|
85 | rr_write(i, rr.word); |
86 | rr_write(i, rr.word); |
86 | srlz_i(); |
87 | srlz_i(); |
87 | srlz_d(); |
88 | srlz_d(); |
88 | } |
89 | } |
89 | 90 |