ich9show.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * ich9show.c
  3. * Just a little hack by Leah to show the ICH9 region read/write status
  4. *
  5. * Purpose: header file for ich9deblob.c
  6. *
  7. * Copyright (C) 2014 Steve Shenton <sgsit@libreboot.org>
  8. * Copyright (C) 2015,2019 Leah Rowe <info@minifree.org>
  9. *
  10. * This program is free software: you can redistribute it and/or modify
  11. * it under the terms of the GNU General Public License as published by
  12. * the Free Software Foundation, either version 3 of the License, or
  13. * (at your option) any later version.
  14. *
  15. * This program is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. * GNU General Public License for more details.
  19. *
  20. * You should have received a copy of the GNU General Public License
  21. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  22. */
  23. #ifndef ICH9SHOW_H
  24. #define ICH9SHOW_H
  25. #include <stdio.h>
  26. #include <string.h>
  27. #include <stdint.h>
  28. #include "common/descriptor_gbe.h" /* common descriptor/gbe functions used by ich9deblob */
  29. #include "common/x86compatibility.h" /* system/compiler compatibility checks. This code is not portable. */
  30. #include "descriptor/descriptor.h" /* structs describing what's in the descriptor region */
  31. #include "gbe/gbe.h" /* structs describing what's in the gbe region */
  32. int main();
  33. #endif