equal
deleted
inserted
replaced
97 const uint line_offset = mask_address_bits(start, ICache::line_size-1); |
97 const uint line_offset = mask_address_bits(start, ICache::line_size-1); |
98 if (line_offset != 0) { |
98 if (line_offset != 0) { |
99 start -= line_offset; |
99 start -= line_offset; |
100 nbytes += line_offset; |
100 nbytes += line_offset; |
101 } |
101 } |
102 call_flush_stub(start, round_to(nbytes, ICache::line_size) >> |
102 call_flush_stub(start, align_up(nbytes, (int)ICache::line_size) >> |
103 ICache::log2_line_size); |
103 ICache::log2_line_size); |
104 } |
104 } |
105 |
105 |
106 // For init.cpp |
106 // For init.cpp |
107 void icache_init() { |
107 void icache_init() { |