descriptor_gbe.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * gbe_descriptor.h
  3. * This file is part of the ich9deblob utility from the libreboot project
  4. *
  5. * Purpose: header file for descriptor_gbe.c
  6. *
  7. * Copyright (C) 2014, 2015 Leah Rowe <info@minifree.org>
  8. * Copyright (C) 2014 Steve Shenton <sgsit@libreboot.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 COMMON_DESCRIPTOR_GBE_H
  24. #define COMMON_DESCRIPTOR_GBE_H
  25. #include <stdio.h>
  26. #include <string.h>
  27. #include <stdint.h>
  28. #include "../descriptor/descriptor.h" /* structs describing what's in the descriptor region */
  29. #include "../gbe/gbe.h" /* structs describing what's in the gbe region */
  30. int notCreatedDescriptorGbeFile(struct DESCRIPTORREGIONRECORD descriptorStruct, struct GBEREGIONRECORD_8K gbeStruct8k, char* fileName);
  31. int notCreated4kDescriptorFile(struct DESCRIPTORREGIONRECORD descriptorStruct, char* fileName);
  32. #endif