39a40
>
41c42
< #include "arch/isa_traits.hh" // for Addr
---
> #include "base/types.hh"
64c65
< int curSize;
---
> unsigned curSize;
66c67
< int sizeLeft;
---
> unsigned sizeLeft;
70c71
< const int chunkSize;
---
> const unsigned chunkSize;
80c81
< ChunkGenerator(Addr _startAddr, int totalSize, int _chunkSize)
---
> ChunkGenerator(Addr _startAddr, unsigned totalSize, unsigned _chunkSize)
105c106
< int left_in_chunk = nextAddr - curAddr;
---
> unsigned left_in_chunk = nextAddr - curAddr;
111c112
< Addr addr() { return curAddr; }
---
> Addr addr() const { return curAddr; }
113c114
< int size() { return curSize; }
---
> unsigned size() const { return curSize; }
116c117,118
< int complete() { return curAddr - startAddr; }
---
> unsigned complete() const { return curAddr - startAddr; }
>
122c124
< bool done() { return (curSize == 0); }
---
> bool done() const { return (curSize == 0); }
129c131,132
< bool next()
---
> bool
> next()