summaryrefslogtreecommitdiffstats
path: root/IntelFspPkg/FspSecCore/Ia32/UcodeLoad.inc
blob: 6be6ed097becfea756444a68b54f75fe5e9b2a4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
;------------------------------------------------------------------------------
;
; Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution.  The full text of the license may be found at
; http://opensource.org/licenses/bsd-license.php.
;
; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
;
; Abstract:
;
;------------------------------------------------------------------------------

MSR_IA32_PLATFORM_ID        EQU     000000017h
MSR_IA32_BIOS_UPDT_TRIG     EQU     000000079h
MSR_IA32_BIOS_SIGN_ID       EQU     00000008bh

ucode                       STRUCT 1t
    version                 DWORD     ?
    revision                DWORD     ?
    date                    DWORD     ?
    processor               DWORD     ?
    checksum                DWORD     ?
    loader                  DWORD     ?
    rsvd                    DWORD     6t DUP (?)
    data                    DWORD     500t DUP (?)
ucode                       ENDS
ucode_t                     TYPEDEF     ucode

ucode_hdr                   STRUCT 1t
    version                 DWORD     ?
    revision                DWORD     ?
    date                    DWORD     ?
    processor               DWORD     ?
    checksum                DWORD     ?
    loader                  DWORD     ?
    flags                   DWORD     ?
    data_size               DWORD     ?
    total_size              DWORD     ?
    rsvd                    DWORD     3t DUP (?)
ucode_hdr                   ENDS
ucode_hdr_t                 TYPEDEF     ucode_hdr

ext_sig_hdr                 STRUCT 1t
    count                   DWORD     ?
    checksum                DWORD     ?
    rsvd                    DWORD     3t DUP (?)
ext_sig_hdr                 ENDS
ext_sig_hdr_t               TYPEDEF     ext_sig_hdr

ext_sig                     STRUCT 1t
    processor               DWORD     ?
    flags                   DWORD     ?
    checksum                DWORD     ?
ext_sig                     ENDS
ext_sig_t                   TYPEDEF     ext_sig

LOAD_UCODE_PARAMS           STRUCT 1t
    ucode_code_addr         DWORD          ?
    ucode_code_size         DWORD          ?
LOAD_UCODE_PARAMS           ENDS