Skip to content

Commit 5cab764

Browse files
committed
fix build
1 parent b03972b commit 5cab764

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

mkutils/plat/generic/run.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ QEMU_FLAGS := -m $(QEMU_MEM) -smp $(QEMU_SMP) -display none \
1919
-netdev user,id=net0,net=192.168.100.1/24,dhcpstart=192.168.100.128,hostfwd=tcp::$(QEMU_PORT)-:22 \
2020
-device virtio-net-device,netdev=net0 \
2121
-device virtio-rng-pci \
22-
-serial stdio -serial file:/tmp/serial.out
22+
-serial mon:stdio -serial file:/tmp/serial.out
2323

2424
ifneq ($(KEYSTONE_DEBUG),)
2525
QEMU_FLAGS += $(QEMU_DEBUG)

sm/src/platform/fpga/ariane/platform.h

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ struct platform_enclave_data{
2222
// CPU configuration
2323
#define MAX_HARTS 5
2424

25+
// Device configuration
26+
#define DEV_NAMELEN 64
27+
#define NUM_SECURE_DEVS 8
28+
#define NUM_NONSECURE_DEVS 8
29+
#define NUM_DISABLED_DEVS 8
2530

2631
// Initialization functions
2732
void sm_copy_key(void);

0 commit comments

Comments
 (0)