Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion event_log.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <boot.h>
#include <sha1sum.h>
#include <sha256.h>
#include <slrt.h>
#include <skl/slrt.h>
#include <string.h>
#include "tpmlib/tpm.h"
#include "tpmlib/tpm2_constants.h"
Expand Down
5 changes: 5 additions & 0 deletions include/slrt.h → include/skl/slrt.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#ifndef __SLRT_H__
#define __SLRT_H__

#ifndef __COREBOOT__
#include <defs.h>
#endif /* __COREBOOT__ */
#include <types.h>

struct slr_entry_hdr {
Expand Down Expand Up @@ -99,6 +101,8 @@ struct slr_entry_policy {
struct slr_policy_entry policy_entries[];
} __packed;


#ifndef __COREBOOT__
extern struct slr_table bootloader_data;

static inline void *end_of_slrt(void)
Expand Down Expand Up @@ -129,5 +133,6 @@ static inline void *next_entry_with_tag(void* _t, u16 tag)
}
return NULL;
}
#endif /* __COREBOOT__ */

#endif /* __SLRT_H__ */
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <sha1sum.h>
#include <sha256.h>
#include <event_log.h>
#include <slrt.h>
#include <skl/slrt.h>
#include <string.h>
#include <printk.h>
#include <dev.h>
Expand Down