pagetable_walker.hh (5895:569e3b31a868) pagetable_walker.hh (5897:29cecf4fe602)
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

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

80 // Long mode
81 LongPML4, LongPDP, LongPD, LongPTE,
82 // PAE legacy mode
83 PAEPDP, PAEPD, PAEPTE,
84 // Non PAE legacy mode with and without PSE
85 PSEPD, PD, PTE
86 };
87
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

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

80 // Long mode
81 LongPML4, LongPDP, LongPD, LongPTE,
82 // PAE legacy mode
83 PAEPDP, PAEPD, PAEPTE,
84 // Non PAE legacy mode with and without PSE
85 PSEPD, PD, PTE
86 };
87
88 // Act on the current state and determine what to do next. read
89 // should be the packet that just came back from a read and write
88 // Act on the current state and determine what to do next. The global
89 // read should be the packet that just came back from a read and write
90 // should be NULL. When the function returns, read is either NULL
91 // if the machine is finished, or points to a packet to initiate
92 // the next read. If any write is required to update an "accessed"
93 // bit, write will point to a packet to do the write. Otherwise it
94 // will be NULL. The return value is whatever fault was incurred
95 // during this stage of the lookup.
90 // should be NULL. When the function returns, read is either NULL
91 // if the machine is finished, or points to a packet to initiate
92 // the next read. If any write is required to update an "accessed"
93 // bit, write will point to a packet to do the write. Otherwise it
94 // will be NULL. The return value is whatever fault was incurred
95 // during this stage of the lookup.
96 Fault doNext(PacketPtr &read, PacketPtr &write);
96 Fault doNext(PacketPtr &write);
97
98 // Kick off the state machine.
99 Fault start(ThreadContext * _tc, BaseTLB::Translation *translation,
100 RequestPtr req, bool write, bool execute);
101 // Clean up after the state machine.
102 void
103 stop()
104 {

--- 106 unchanged lines hidden ---
97
98 // Kick off the state machine.
99 Fault start(ThreadContext * _tc, BaseTLB::Translation *translation,
100 RequestPtr req, bool write, bool execute);
101 // Clean up after the state machine.
102 void
103 stop()
104 {

--- 106 unchanged lines hidden ---