Deleted Added
sdiff udiff text old ( 12455:c88f0b37f433 ) new ( 12460:0f221912b014 )
full compact
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

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

73 assert(isPowerOf2(pageSize));
74 }
75
76 virtual ~EmulationPageTable();
77
78 /* generic page table mapping flags
79 * unset | set
80 * bit 0 - no-clobber | clobber
81 * bit 1 - present | not-present
82 * bit 2 - cacheable | uncacheable
83 * bit 3 - read-write | read-only
84 */
85 enum MappingFlags : uint32_t {
86 Zero = 0,
87 Clobber = 1,
88 NotPresent = 2,
89 Uncacheable = 4,
90 ReadOnly = 8,
91 };
92
93 virtual void initState(ThreadContext* tc) {};
94
95 // for DPRINTF compatibility
96 const std::string name() const { return _name; }

--- 60 unchanged lines hidden ---