cpu.h (d8276573da58e8ce78dab8c46dd660efd664bcb7) | cpu.h (74433bf083b0766aba81534f92de13194f23ff3e) |
---|---|
1/* 2 * TriCore emulation for qemu: main CPU struct. 3 * 4 * Copyright (c) 2012-2014 Bastian Koppelmann C-Lab/University Paderborn 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either --- 6 unchanged lines hidden (view full) --- 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, see <http://www.gnu.org/licenses/>. 18 */ 19 20#ifndef TRICORE_CPU_H 21#define TRICORE_CPU_H 22 | 1/* 2 * TriCore emulation for qemu: main CPU struct. 3 * 4 * Copyright (c) 2012-2014 Bastian Koppelmann C-Lab/University Paderborn 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either --- 6 unchanged lines hidden (view full) --- 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, see <http://www.gnu.org/licenses/>. 18 */ 19 20#ifndef TRICORE_CPU_H 21#define TRICORE_CPU_H 22 |
23#include "tricore-defs.h" | |
24#include "qemu-common.h" 25#include "cpu-qom.h" 26#include "exec/cpu-defs.h" | 23#include "qemu-common.h" 24#include "cpu-qom.h" 25#include "exec/cpu-defs.h" |
26#include "tricore-defs.h" |
|
27 28#define CPUArchState struct CPUTriCoreState 29 30struct CPUTriCoreState; 31 32struct tricore_boot_info; 33 | 27 28#define CPUArchState struct CPUTriCoreState 29 30struct CPUTriCoreState; 31 32struct tricore_boot_info; 33 |
34#define NB_MMU_MODES 3 35 | |
36typedef struct tricore_def_t tricore_def_t; 37 38typedef struct CPUTriCoreState CPUTriCoreState; 39struct CPUTriCoreState { 40 /* GPR Register */ 41 uint32_t gpr_a[16]; 42 uint32_t gpr_d[16]; 43 /* CSFR Register */ --- 381 unchanged lines hidden --- | 34typedef struct tricore_def_t tricore_def_t; 35 36typedef struct CPUTriCoreState CPUTriCoreState; 37struct CPUTriCoreState { 38 /* GPR Register */ 39 uint32_t gpr_a[16]; 40 uint32_t gpr_d[16]; 41 /* CSFR Register */ --- 381 unchanged lines hidden --- |