Aaron Durbin | 789f2b6 | 2015-09-09 17:05:06 -0500 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright 2015 Google Inc. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; version 2 of the License. |
| 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, write to the Free Software |
| 17 | * Foundation, Inc. |
| 18 | */ |
| 19 | |
| 20 | #ifndef _FSP1_1_API_H_ |
| 21 | #define _FSP1_1_API_H_ |
| 22 | |
| 23 | #define FSP_SIG 0x48505346 /* 'FSPH' */ |
| 24 | |
| 25 | /* All the FSP headers need to have UEFI types provided before inclusion. */ |
| 26 | #include <fsp/uefi_binding.h> |
| 27 | |
| 28 | /* |
| 29 | * Intel's code does not have a handle on changing global packing state. |
| 30 | * Therefore, one needs to protect against packing policies that are set |
| 31 | * globally for a compliation unit just by including a header file. |
| 32 | */ |
| 33 | #pragma pack(push) |
| 34 | |
| 35 | #include <vendorcode/intel/fsp/fsp1_1/IntelFspPkg/Include/FspApi.h> |
| 36 | #include <vendorcode/intel/fsp/fsp1_1/IntelFspPkg/Include/FspInfoHeader.h> |
| 37 | |
| 38 | /* Restore original packing policy. */ |
| 39 | #pragma pack(pop) |
| 40 | |
| 41 | #endif |