Skip to content

Commit 7ac884e

Browse files
committed
tutorials: root_of_trust: fix includes of libtock/tock.h to be system includes
1 parent e418d8d commit 7ac884e

File tree

4 files changed

+4
-4
lines changed
  • examples/tutorials/root_of_trust
    • encryption_service_milestone_one
    • encryption_service_milestone_three
    • encryption_service_milestone_two
    • suspicious_service_milestone_one

4 files changed

+4
-4
lines changed

examples/tutorials/root_of_trust/encryption_service_milestone_one/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
// plaintexts over UART and encrypts them, logging status over IPC back to the screen
55
// application.
66

7-
#include "libtock/tock.h"
87
#include <stdio.h>
98
#include <stdlib.h>
109
#include <string.h>
1110

1211
#include <libtock-sync/interface/console.h>
1312
#include <libtock/kernel/ipc.h>
13+
#include <libtock/tock.h>
1414

1515
#define LOG_WIDTH 32
1616

examples/tutorials/root_of_trust/encryption_service_milestone_three/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
// plaintexts over UART and encrypts them, logging status over IPC back to the screen
55
// application.
66

7-
#include "libtock/tock.h"
87
#include <stdio.h>
98
#include <stdlib.h>
109
#include <string.h>
1110

1211
#include <libtock-sync/interface/console.h>
1312
#include <libtock/kernel/ipc.h>
13+
#include <libtock/tock.h>
1414

1515
#include "oracle.h"
1616

examples/tutorials/root_of_trust/encryption_service_milestone_two/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
// plaintexts over UART and encrypts them, logging status over IPC back to the screen
55
// application.
66

7-
#include "libtock/tock.h"
87
#include <stdio.h>
98
#include <stdlib.h>
109
#include <string.h>
1110

1211
#include <libtock-sync/interface/console.h>
1312
#include <libtock/kernel/ipc.h>
13+
#include <libtock/tock.h>
1414

1515
#define LOG_WIDTH 32
1616

examples/tutorials/root_of_trust/suspicious_service_milestone_one/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
// When selected by the main screen HWRoT Demo application, attempts to dump its
44
// own SRAM, followed by the SRAM of the encryption service application.
55

6-
#include "libtock/tock.h"
76
#include <stdio.h>
87
#include <stdlib.h>
98
#include <string.h>
109

1110
#include <libtock/kernel/ipc.h>
11+
#include <libtock/tock.h>
1212

1313
#define ENCRYPTION_SRAM_START 0x2000A000
1414
#define ENCRYPTION_SRAM_END 0x2000BFFF

0 commit comments

Comments
 (0)