mmapped_ipr.hh (9180:ee8d7a51651d) mmapped_ipr.hh (9897:e105fbf799e7)
1/*
2 * Copyright (c) 2006 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;

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

32#define __ARCH_MIPS_MMAPPED_IPR_HH__
33
34/**
35 * @file
36 *
37 * ISA-specific helper functions for memory mapped IPR accesses.
38 */
39
1/*
2 * Copyright (c) 2006 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;

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

32#define __ARCH_MIPS_MMAPPED_IPR_HH__
33
34/**
35 * @file
36 *
37 * ISA-specific helper functions for memory mapped IPR accesses.
38 */
39
40#include "base/misc.hh"
41#include "mem/packet.hh"
40#include "arch/generic/mmapped_ipr.hh"
42
43class ThreadContext;
44
45namespace MipsISA
46{
41
42class ThreadContext;
43
44namespace MipsISA
45{
47
48inline Cycles
49handleIprRead(ThreadContext *xc, Packet *pkt)
50{
51 panic("No implementation for handleIprRead in MIPS\n");
52}
53
54inline Cycles
55handleIprWrite(ThreadContext *xc, Packet *pkt)
56{
57 panic("No implementation for handleIprWrite in MIPS\n");
58}
59
46 using GenericISA::handleIprRead;
47 using GenericISA::handleIprWrite;
60} // namespace MipsISA
61
62#endif
48} // namespace MipsISA
49
50#endif