Address.hh (9995:2df9c3856989) Address.hh (10314:94b6b28fc968)
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;

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

67 physical_address_t shiftLowOrderBits(unsigned int number) const;
68
69 physical_address_t getLineAddress() const;
70 physical_address_t getOffset() const;
71 void makeLineAddress();
72 void makePageAddress();
73 void makeNextStrideAddress(int stride);
74
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;

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

67 physical_address_t shiftLowOrderBits(unsigned int number) const;
68
69 physical_address_t getLineAddress() const;
70 physical_address_t getOffset() const;
71 void makeLineAddress();
72 void makePageAddress();
73 void makeNextStrideAddress(int stride);
74
75 Index memoryModuleIndex() const;
75 int64 memoryModuleIndex() const;
76
77 void print(std::ostream& out) const;
78 void output(std::ostream& out) const;
79 void input(std::istream& in);
80
81 void
82 setOffset(int offset)
83 {

--- 145 unchanged lines hidden ---
76
77 void print(std::ostream& out) const;
78 void output(std::ostream& out) const;
79 void input(std::istream& in);
80
81 void
82 setOffset(int offset)
83 {

--- 145 unchanged lines hidden ---