page_table.hh (12448:b299e560f1d8) page_table.hh (12455:c88f0b37f433)
1/*
2 * Copyright (c) 2014 Advanced Micro Devices, Inc.
3 * Copyright (c) 2003 The Regents of The University of Michigan
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

116 * @param size The length of the region.
117 * @return True if no pages in the region are mapped.
118 */
119 virtual bool isUnmapped(Addr vaddr, int64_t size);
120
121 /**
122 * Lookup function
123 * @param vaddr The virtual address.
1/*
2 * Copyright (c) 2014 Advanced Micro Devices, Inc.
3 * Copyright (c) 2003 The Regents of The University of Michigan
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

116 * @param size The length of the region.
117 * @return True if no pages in the region are mapped.
118 */
119 virtual bool isUnmapped(Addr vaddr, int64_t size);
120
121 /**
122 * Lookup function
123 * @param vaddr The virtual address.
124 * @return entry The page table entry corresponding to vaddr.
124 * @return The page table entry corresponding to vaddr.
125 */
125 */
126 virtual bool lookup(Addr vaddr, TheISA::TlbEntry &entry);
126 virtual TheISA::TlbEntry *lookup(Addr vaddr);
127
128 /**
129 * Translate function
130 * @param vaddr The virtual address.
131 * @param paddr Physical address from translation.
132 * @return True if translation exists
133 */
134 bool translate(Addr vaddr, Addr &paddr);

--- 22 unchanged lines hidden ---
127
128 /**
129 * Translate function
130 * @param vaddr The virtual address.
131 * @param paddr Physical address from translation.
132 * @return True if translation exists
133 */
134 bool translate(Addr vaddr, Addr &paddr);

--- 22 unchanged lines hidden ---