-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix initialization of SPDM responder
Ref. eng/recordflux/RecordFlux!1663
- Loading branch information
Showing
4 changed files
with
36 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
examples/apps/spdm_responder/src/lib/rflx-spdm_responder-session_environment.adb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package body RFLX.SPDM_Responder.Session_Environment with | ||
SPARK_Mode | ||
is | ||
|
||
procedure Plat_Initialize (State : out Session_Environment.State) with | ||
SPARK_Mode => Off | ||
is | ||
procedure C_Interface (Instance : out System.Address) with | ||
Import, | ||
Convention => C, | ||
External_Name => "spdm_platform_initialize"; | ||
begin | ||
C_Interface (State.Instance); | ||
end Plat_Initialize; | ||
|
||
end RFLX.SPDM_Responder.Session_Environment; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters