| 1 | /** @file |
| 2 | |
| 3 | Copyright (c) 2024, Intel Corporation. All rights reserved.<BR> |
| 4 | |
| 5 | Redistribution and use in source and binary forms, with or without modification, |
| 6 | are permitted provided that the following conditions are met: |
| 7 | |
| 8 | * Redistributions of source code must retain the above copyright notice, this |
| 9 | list of conditions and the following disclaimer. |
| 10 | * Redistributions in binary form must reproduce the above copyright notice, this |
| 11 | list of conditions and the following disclaimer in the documentation and/or |
| 12 | other materials provided with the distribution. |
| 13 | * Neither the name of Intel Corporation nor the names of its contributors may |
| 14 | be used to endorse or promote products derived from this software without |
| 15 | specific prior written permission. |
| 16 | |
| 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 18 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 19 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 20 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
| 21 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 22 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 23 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 24 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 25 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 26 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
| 27 | THE POSSIBILITY OF SUCH DAMAGE. |
| 28 | |
| 29 | This file is automatically generated. Please do NOT modify !!! |
| 30 | |
| 31 | **/ |
| 32 | |
| 33 | #ifndef __FSPTUPD_H__ |
| 34 | #define __FSPTUPD_H__ |
| 35 | |
| 36 | #include <FspUpd.h> |
| 37 | |
| 38 | #pragma pack(1) |
| 39 | |
| 40 | |
| 41 | /** FSP-T Core UPD |
| 42 | **/ |
| 43 | typedef struct { |
| 44 | |
| 45 | /** Offset 0x0020 |
| 46 | **/ |
| 47 | UINT32 MicrocodeRegionBase; |
| 48 | |
| 49 | /** Offset 0x0024 |
| 50 | **/ |
| 51 | UINT32 MicrocodeRegionLength; |
| 52 | |
| 53 | /** Offset 0x0028 |
| 54 | **/ |
| 55 | UINT32 CodeRegionBase; |
| 56 | |
| 57 | /** Offset 0x002C |
| 58 | **/ |
| 59 | UINT32 CodeRegionLength; |
| 60 | |
| 61 | /** Offset 0x0030 |
| 62 | **/ |
| 63 | UINT8 Reserved1[16]; |
| 64 | } FSPT_CORE_UPD; |
| 65 | |
| 66 | /** Fsp T UPD Configuration |
| 67 | **/ |
| 68 | typedef struct { |
| 69 | |
| 70 | /** Offset 0x0000 |
| 71 | **/ |
| 72 | FSP_UPD_HEADER FspUpdHeader; |
| 73 | |
| 74 | /** Offset 0x0020 |
| 75 | **/ |
| 76 | FSPT_CORE_UPD FsptCoreUpd; |
| 77 | |
| 78 | /** Offset 0x0040 |
| 79 | **/ |
| 80 | UINT8 ReservedTempRamInitUpd[32]; |
| 81 | |
| 82 | /** Offset 0x0060 |
| 83 | **/ |
| 84 | UINT8 UnusedUpdSpace0[30]; |
| 85 | |
| 86 | /** Offset 0x007E |
| 87 | **/ |
| 88 | UINT16 UpdTerminator; |
| 89 | } FSPT_UPD; |
| 90 | |
| 91 | #pragma pack() |
| 92 | |
| 93 | #endif |