Lines Matching defs:cpu
99 arch_int_assign_to_cpu(int32 irq, int32 cpu)
122 frame->cpu.pc, frame->cpu.sr);
136 switch (iframe->cpu.type) {
141 return iframe->cpu.type_2.instruction_address;
143 return iframe->cpu.type_3.effective_address;
145 return iframe->cpu.type_7.effective_address;
147 return iframe->cpu.type_9.instruction_address;
149 return iframe->cpu.type_a.fault_address;
151 return iframe->cpu.type_b.fault_address;
161 switch (iframe->cpu.type) {
163 return !iframe->cpu.type_7.ssw.rw;
165 return !iframe->cpu.type_a.ssw.rw;
167 return !iframe->cpu.type_b.ssw.rw;
170 iframe->cpu.type);
180 int vector = iframe->cpu.vector >> 2;
185 "pc: %p\n", system_time(), vector, iframe, (void*)iframe->cpu.pc);
208 iframe->cpu.pc = reinterpret_cast<addr_t>(thread->fault_handler);
216 (void *)iframe->cpu.pc);
218 } else if ((iframe->cpu.sr & SR_IP_MASK) != 0) {
226 iframe->cpu.pc = reinterpret_cast<addr_t>(thread->fault_handler);
235 (void *)iframe->cpu.pc);
240 (void *)iframe->cpu.pc);
247 vm_page_fault(fault_address(iframe), iframe->cpu.pc,
250 iframe->cpu.sr & SR_S, // was the system in user or supervisor
254 // IP the cpu will return to to be this ip
255 iframe->cpu.pc = newip;
308 if (thread->cpu->invoke_scheduler) {
589 m68k_get_cpu_exception_context(int cpu)
591 return sCPUExceptionContexts + cpu;