page_table.hh (5184:8782de2949e5) page_table.hh (5748:f28f020f3006)
1/*
2 * Copyright (c) 2003 The Regents of The University of Michigan
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;

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

86 * @param vaddr The virtual address.
87 * @return entry The page table entry corresponding to vaddr.
88 */
89 bool lookup(Addr vaddr, TheISA::TlbEntry &entry);
90
91 /**
92 * Translate function
93 * @param vaddr The virtual address.
1/*
2 * Copyright (c) 2003 The Regents of The University of Michigan
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;

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

86 * @param vaddr The virtual address.
87 * @return entry The page table entry corresponding to vaddr.
88 */
89 bool lookup(Addr vaddr, TheISA::TlbEntry &entry);
90
91 /**
92 * Translate function
93 * @param vaddr The virtual address.
94 * @return Physical address from translation.
94 * @param paddr Physical address from translation.
95 * @return True if translation exists
95 */
96 bool translate(Addr vaddr, Addr &paddr);
97
98 /**
96 */
97 bool translate(Addr vaddr, Addr &paddr);
98
99 /**
100 * Simplified translate function (just check for translation)
101 * @param vaddr The virtual address.
102 * @return True if translation exists
103 */
104 bool translate(Addr vaddr) { Addr dummy; return translate(vaddr, dummy); }
105
106 /**
99 * Perform a translation on the memory request, fills in paddr
100 * field of req.
101 * @param req The memory request.
102 */
103 Fault translate(RequestPtr req);
104
105 /**
106 * Update the page table cache.

--- 20 unchanged lines hidden ---
107 * Perform a translation on the memory request, fills in paddr
108 * field of req.
109 * @param req The memory request.
110 */
111 Fault translate(RequestPtr req);
112
113 /**
114 * Update the page table cache.

--- 20 unchanged lines hidden ---