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