hw_phb.h 1.1 KB

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