xref: /netbsd/external/gpl3/gdb.old/dist/sim/ppc/hw_phb.h (revision 6ca2c52a)
1*6ca2c52aSchristos /*  This file is part of the program psim.
2*6ca2c52aSchristos 
3*6ca2c52aSchristos     Copyright (C) 1994-1996, Andrew Cagney <cagney@highland.com.au>
4*6ca2c52aSchristos 
5*6ca2c52aSchristos     This program is free software; you can redistribute it and/or modify
6*6ca2c52aSchristos     it under the terms of the GNU General Public License as published by
7*6ca2c52aSchristos     the Free Software Foundation; either version 3 of the License, or
8*6ca2c52aSchristos     (at your option) any later version.
9*6ca2c52aSchristos 
10*6ca2c52aSchristos     This program is distributed in the hope that it will be useful,
11*6ca2c52aSchristos     but WITHOUT ANY WARRANTY; without even the implied warranty of
12*6ca2c52aSchristos     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13*6ca2c52aSchristos     GNU General Public License for more details.
14*6ca2c52aSchristos 
15*6ca2c52aSchristos     You should have received a copy of the GNU General Public License
16*6ca2c52aSchristos     along with this program; if not, see <http://www.gnu.org/licenses/>.
17*6ca2c52aSchristos 
18*6ca2c52aSchristos     */
19*6ca2c52aSchristos 
20*6ca2c52aSchristos 
21*6ca2c52aSchristos #ifndef _HW_PHB_H_
22*6ca2c52aSchristos #define _HW_PHB_H_
23*6ca2c52aSchristos 
24*6ca2c52aSchristos typedef enum {
25*6ca2c52aSchristos   hw_phb_memory_space,
26*6ca2c52aSchristos   hw_phb_io_space,
27*6ca2c52aSchristos   hw_phb_config_space,
28*6ca2c52aSchristos   hw_phb_special_space,
29*6ca2c52aSchristos   nr_hw_phb_spaces,
30*6ca2c52aSchristos } hw_phb_spaces;
31*6ca2c52aSchristos 
32*6ca2c52aSchristos typedef enum  {
33*6ca2c52aSchristos   hw_phb_normal_decode = attach_callback,
34*6ca2c52aSchristos   hw_phb_subtractive_decode,
35*6ca2c52aSchristos   hw_phb_master_abort_decode,
36*6ca2c52aSchristos } hw_phb_decode;
37*6ca2c52aSchristos 
38*6ca2c52aSchristos 
39*6ca2c52aSchristos #endif /* _HW_PHB_H_ */
40