base.hh (5639:67cc7f0427e7) base.hh (5640:c811ced9efc1)
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

409 panic("Simple CPU models do not support multithreaded "
410 "register access.\n");
411 }
412
413 //Fault CacheOp(uint8_t Op, Addr EA);
414
415#if FULL_SYSTEM
416 void ev5_trap(Fault fault) { fault->invoke(tc); }
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

409 panic("Simple CPU models do not support multithreaded "
410 "register access.\n");
411 }
412
413 //Fault CacheOp(uint8_t Op, Addr EA);
414
415#if FULL_SYSTEM
416 void ev5_trap(Fault fault) { fault->invoke(tc); }
417 bool simPalCheck(int palFunc) { return thread->simPalCheck(palFunc); }
418#else
419 void syscall(int64_t callnum) { thread->syscall(callnum); }
420#endif
421
422 bool misspeculating() { return thread->misspeculating(); }
423 ThreadContext *tcBase() { return tc; }
424};
425
426#endif // __CPU_SIMPLE_BASE_HH__
417#else
418 void syscall(int64_t callnum) { thread->syscall(callnum); }
419#endif
420
421 bool misspeculating() { return thread->misspeculating(); }
422 ThreadContext *tcBase() { return tc; }
423};
424
425#endif // __CPU_SIMPLE_BASE_HH__