cpu.h (2161a612b4e1d388046320bc464adefd6bba01a0) cpu.h (29a0af618ddd21f55df5753c3e16b0625f534b3c)
1/*
2 * Copyright (c) 2011, Max Filippov, Open Source and Linux Lab.
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 met:
7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

559 CPUXtensaState env;
560};
561
562static inline XtensaCPU *xtensa_env_get_cpu(const CPUXtensaState *env)
563{
564 return container_of(env, XtensaCPU, env);
565}
566
1/*
2 * Copyright (c) 2011, Max Filippov, Open Source and Linux Lab.
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 met:
7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

559 CPUXtensaState env;
560};
561
562static inline XtensaCPU *xtensa_env_get_cpu(const CPUXtensaState *env)
563{
564 return container_of(env, XtensaCPU, env);
565}
566
567#define ENV_GET_CPU(e) CPU(xtensa_env_get_cpu(e))
568
569#define ENV_OFFSET offsetof(XtensaCPU, env)
570
571
572bool xtensa_cpu_tlb_fill(CPUState *cs, vaddr address, int size,
573 MMUAccessType access_type, int mmu_idx,
574 bool probe, uintptr_t retaddr);
575void xtensa_cpu_do_interrupt(CPUState *cpu);
576bool xtensa_cpu_exec_interrupt(CPUState *cpu, int interrupt_request);

--- 231 unchanged lines hidden ---
567#define ENV_OFFSET offsetof(XtensaCPU, env)
568
569
570bool xtensa_cpu_tlb_fill(CPUState *cs, vaddr address, int size,
571 MMUAccessType access_type, int mmu_idx,
572 bool probe, uintptr_t retaddr);
573void xtensa_cpu_do_interrupt(CPUState *cpu);
574bool xtensa_cpu_exec_interrupt(CPUState *cpu, int interrupt_request);

--- 231 unchanged lines hidden ---