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 *
--- 305 unchanged lines hidden (view full) ---
314 } else {
315 write = NULL;
316 delete oldRead->req;
317 delete oldRead;
318 }
319}
320
321void
322Walker::start(ThreadContext * _tc, Addr vaddr)
323{
324 assert(state == Ready);
325 assert(!tc);
326 tc = _tc;
327
328 VAddr addr = vaddr;
329
330 //Figure out what we're doing.
331 CR3 cr3 = tc->readMiscRegNoEffect(MISCREG_CR3);
332 Addr top = 0;
333 // Check if we're in long mode or not
334 Efer efer = tc->readMiscRegNoEffect(MISCREG_EFER);
--- 198 unchanged lines hidden ---
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 *
--- 305 unchanged lines hidden (view full) ---
314 } else {
315 write = NULL;
316 delete oldRead->req;
317 delete oldRead;
318 }
319}
320
321void
322Walker::start(ThreadContext * _tc, Addr vaddr)
323{
324 assert(state == Ready);
325 assert(!tc);
326 tc = _tc;
327
328 VAddr addr = vaddr;
329
330 //Figure out what we're doing.
331 CR3 cr3 = tc->readMiscRegNoEffect(MISCREG_CR3);
332 Addr top = 0;
333 // Check if we're in long mode or not
334 Efer efer = tc->readMiscRegNoEffect(MISCREG_EFER);
--- 198 unchanged lines hidden ---