tlb.cc (5086:e7913ffb379d) | tlb.cc (5100:7a0180040755) |
---|---|
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 * --- 81 unchanged lines hidden (view full) --- 90 return NoFault; 91}; 92 93#if FULL_SYSTEM 94 95Tick 96DTB::doMmuRegRead(ThreadContext *tc, Packet *pkt) 97{ | 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 * --- 81 unchanged lines hidden (view full) --- 90 return NoFault; 91}; 92 93#if FULL_SYSTEM 94 95Tick 96DTB::doMmuRegRead(ThreadContext *tc, Packet *pkt) 97{ |
98 return tc->getCpuPtr()->cycles(1); | 98 return tc->getCpuPtr()->ticks(1); |
99} 100 101Tick 102DTB::doMmuRegWrite(ThreadContext *tc, Packet *pkt) 103{ | 99} 100 101Tick 102DTB::doMmuRegWrite(ThreadContext *tc, Packet *pkt) 103{ |
104 return tc->getCpuPtr()->cycles(1); | 104 return tc->getCpuPtr()->ticks(1); |
105} 106 107#endif 108 109void 110TLB::serialize(std::ostream &os) 111{ 112} --- 56 unchanged lines hidden --- | 105} 106 107#endif 108 109void 110TLB::serialize(std::ostream &os) 111{ 112} --- 56 unchanged lines hidden --- |