Deleted Added
sdiff udiff text old ( 7627:3b0c4b819651 ) new ( 7638:21db0b3ab1fe )
full compact
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

118 copyMiscRegs(ThreadContext *src, ThreadContext *dest)
119 {
120 panic("Copy Misc. Regs Not Implemented Yet\n");
121 }
122
123 void initCPU(ThreadContext *tc, int cpuId);
124
125 static inline bool
126 inUserMode(ThreadContext *tc)
127 {
128 return (tc->readMiscRegNoEffect(MISCREG_CPSR) & 0x1f) == MODE_USER;
129 }
130
131uint64_t getArgument(ThreadContext *tc, int number, bool fp);
132
133Fault setCp15Register(uint32_t &Rd, int CRn, int opc1, int CRm, int opc2);
134Fault readCp15Register(uint32_t &Rd, int CRn, int opc1, int CRm, int opc2);
135
136};
137
138
139#endif