xref: /qemu/target/hexagon/reg_fields.c (revision 80be6828)
1ba385122STaylor Simpson /*
2ba385122STaylor Simpson  *  Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved.
3ba385122STaylor Simpson  *
4ba385122STaylor Simpson  *  This program is free software; you can redistribute it and/or modify
5ba385122STaylor Simpson  *  it under the terms of the GNU General Public License as published by
6ba385122STaylor Simpson  *  the Free Software Foundation; either version 2 of the License, or
7ba385122STaylor Simpson  *  (at your option) any later version.
8ba385122STaylor Simpson  *
9ba385122STaylor Simpson  *  This program is distributed in the hope that it will be useful,
10ba385122STaylor Simpson  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11ba385122STaylor Simpson  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12ba385122STaylor Simpson  *  GNU General Public License for more details.
13ba385122STaylor Simpson  *
14ba385122STaylor Simpson  *  You should have received a copy of the GNU General Public License
15ba385122STaylor Simpson  *  along with this program; if not, see <http://www.gnu.org/licenses/>.
16ba385122STaylor Simpson  */
17ba385122STaylor Simpson 
18ba385122STaylor Simpson #include "qemu/osdep.h"
19ba385122STaylor Simpson #include "reg_fields.h"
20ba385122STaylor Simpson 
21*80be6828STaylor Simpson const RegField reg_field_info[NUM_REG_FIELDS] = {
22ba385122STaylor Simpson #define DEF_REG_FIELD(TAG, START, WIDTH)    \
23ba385122STaylor Simpson       { START, WIDTH },
24ba385122STaylor Simpson #include "reg_fields_def.h.inc"
25ba385122STaylor Simpson #undef DEF_REG_FIELD
26ba385122STaylor Simpson };
27