page_table.hh (11169:44b5c183c3cd) | page_table.hh (11294:a368064a2ab5) |
---|---|
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 --- 79 unchanged lines hidden (view full) --- 88 /* generic page table mapping flags 89 * unset | set 90 * bit 0 - no-clobber | clobber 91 * bit 1 - present | not-present 92 * bit 2 - cacheable | uncacheable 93 * bit 3 - read-write | read-only 94 */ 95 enum MappingFlags : uint32_t { | 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 --- 79 unchanged lines hidden (view full) --- 88 /* generic page table mapping flags 89 * unset | set 90 * bit 0 - no-clobber | clobber 91 * bit 1 - present | not-present 92 * bit 2 - cacheable | uncacheable 93 * bit 3 - read-write | read-only 94 */ 95 enum MappingFlags : uint32_t { |
96 Zero = 0, |
|
96 Clobber = 1, 97 NotPresent = 2, 98 Uncacheable = 4, 99 ReadOnly = 8, 100 }; 101 102 virtual void initState(ThreadContext* tc) = 0; 103 --- 154 unchanged lines hidden --- | 97 Clobber = 1, 98 NotPresent = 2, 99 Uncacheable = 4, 100 ReadOnly = 8, 101 }; 102 103 virtual void initState(ThreadContext* tc) = 0; 104 --- 154 unchanged lines hidden --- |