blob: e258ed809b3dfffe303708ef710e5dc82a994992 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef UTILS_H
#define UTILS_H
/**
* Parse an address into a tag, index into the cache table, and a line
* offset.
* @param the address to be parsed
* @param the resulting tag
* @param the resulting index
* @param the resulting offset
*/
void get_bit_fields(int address, int *tag, int *index, int *offset);
#endif /* UTILS_H_INCLUDED */
|