Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(380)

Side by Side Diff: sim/microblaze/sim-main.h

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sim/microblaze/microblaze.isa ('k') | sim/microblaze/sysdep.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef MICROBLAZE_SIM_MAIN 1 #ifndef MICROBLAZE_SIM_MAIN
2 #define MICROBLAZE_SIM_MAIN 2 #define MICROBLAZE_SIM_MAIN
3 3
4 /* Copyright 2009-2012 Free Software Foundation, Inc. 4 /* Copyright 2009-2013 Free Software Foundation, Inc.
5 5
6 This file is part of the Xilinx MicroBlaze simulator. 6 This file is part of the Xilinx MicroBlaze simulator.
7 7
8 This library is free software; you can redistribute it and/or modify 8 This library is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by 9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or 10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version. 11 (at your option) any later version.
12 12
13 This program is distributed in the hope that it will be useful, 13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details. 16 GNU General Public License for more details.
17 17
18 You should have received a copy of the GNU General Public License 18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software 19 along with this program; if not, see <http://www.gnu.org/licenses/>. */
20 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
21 MA 02110-1301, USA. */
22 20
23 #include "microblaze.h" 21 #include "microblaze.h"
24 #include "sim-basics.h" 22 #include "sim-basics.h"
25 typedef address_word sim_cia; 23 typedef address_word sim_cia;
26 #include "sim-base.h" 24 #include "sim-base.h"
27 25
28 /* The machine state. 26 /* The machine state.
29 This state is maintained in host byte order. The 27 This state is maintained in host byte order. The
30 fetch/store register functions must translate between host 28 fetch/store register functions must translate between host
31 byte order and the target processor byte order. 29 byte order and the target processor byte order.
(...skipping 23 matching lines...) Expand all
55 }; 53 };
56 54
57 #define MAX_NR_PROCESSORS 1 55 #define MAX_NR_PROCESSORS 1
58 struct sim_state { 56 struct sim_state {
59 sim_cpu cpu[MAX_NR_PROCESSORS]; 57 sim_cpu cpu[MAX_NR_PROCESSORS];
60 #define STATE_CPU(sd, n) (&(sd)->cpu[0]) 58 #define STATE_CPU(sd, n) (&(sd)->cpu[0])
61 sim_state_base base; 59 sim_state_base base;
62 }; 60 };
63 #endif /* MICROBLAZE_SIM_MAIN */ 61 #endif /* MICROBLAZE_SIM_MAIN */
64 62
OLDNEW
« no previous file with comments | « sim/microblaze/microblaze.isa ('k') | sim/microblaze/sysdep.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698