Address.hh (11025:4872dbdea907) Address.hh (11118:75c1e564a725)
1/*
2 * Copyright (c) 1999 Mark D. Hill and David A. Wood
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 33 unchanged lines hidden (view full) ---

42Addr bitSelect(Addr addr, unsigned int small, unsigned int big);
43Addr bitRemove(Addr addr, unsigned int small, unsigned int big);
44Addr maskLowOrderBits(Addr addr, unsigned int number);
45Addr maskHighOrderBits(Addr addr, unsigned int number);
46Addr shiftLowOrderBits(Addr addr, unsigned int number);
47Addr getOffset(Addr addr);
48Addr makeLineAddress(Addr addr);
49Addr makeNextStrideAddress(Addr addr, int stride);
1/*
2 * Copyright (c) 1999 Mark D. Hill and David A. Wood
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 33 unchanged lines hidden (view full) ---

42Addr bitSelect(Addr addr, unsigned int small, unsigned int big);
43Addr bitRemove(Addr addr, unsigned int small, unsigned int big);
44Addr maskLowOrderBits(Addr addr, unsigned int number);
45Addr maskHighOrderBits(Addr addr, unsigned int number);
46Addr shiftLowOrderBits(Addr addr, unsigned int number);
47Addr getOffset(Addr addr);
48Addr makeLineAddress(Addr addr);
49Addr makeNextStrideAddress(Addr addr, int stride);
50std::string printAddress(Addr addr);
50
51#endif // __MEM_RUBY_COMMON_ADDRESS_HH__
51
52#endif // __MEM_RUBY_COMMON_ADDRESS_HH__