utility.cc (6757:d86d3d6e5326) utility.cc (6759:98101a5f7ee4)
1/*
2 * Copyright (c) 2009 ARM Limited
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;

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

52#if FULL_SYSTEM
53 panic("getArgument() not implemented for ARM!\n");
54#else
55 panic("getArgument() only implemented for FULL_SYSTEM\n");
56 M5_DUMMY_RETURN
57#endif
58}
59
1/*
2 * Copyright (c) 2009 ARM Limited
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;

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

52#if FULL_SYSTEM
53 panic("getArgument() not implemented for ARM!\n");
54#else
55 panic("getArgument() only implemented for FULL_SYSTEM\n");
56 M5_DUMMY_RETURN
57#endif
58}
59
60Fault
61setCp15Register(uint32_t &Rd, int CRn, int opc1, int CRm, int opc2)
62{
63 return new UnimpFault(csprintf("MCR CP15: CRn: %d opc1: %d CRm: %d opc1: %d\n",
64 CRn, opc1, CRm, opc2));
60}
65}
66
67Fault
68readCp15Register(uint32_t &Rd, int CRn, int opc1, int CRm, int opc2)
69{
70 return new UnimpFault(csprintf("MRC CP15: CRn: %d opc1: %d CRm: %d opc1: %d\n",
71 CRn, opc1, CRm, opc2));
72
73}
74
75
76}