Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
grg-haas committed Jan 26, 2024
1 parent b03972b commit 5cab764
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mkutils/plat/generic/run.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ QEMU_FLAGS := -m $(QEMU_MEM) -smp $(QEMU_SMP) -display none \
-netdev user,id=net0,net=192.168.100.1/24,dhcpstart=192.168.100.128,hostfwd=tcp::$(QEMU_PORT)-:22 \
-device virtio-net-device,netdev=net0 \
-device virtio-rng-pci \
-serial stdio -serial file:/tmp/serial.out
-serial mon:stdio -serial file:/tmp/serial.out

ifneq ($(KEYSTONE_DEBUG),)
QEMU_FLAGS += $(QEMU_DEBUG)
Expand Down
5 changes: 5 additions & 0 deletions sm/src/platform/fpga/ariane/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ struct platform_enclave_data{
// CPU configuration
#define MAX_HARTS 5

// Device configuration
#define DEV_NAMELEN 64
#define NUM_SECURE_DEVS 8
#define NUM_NONSECURE_DEVS 8
#define NUM_DISABLED_DEVS 8

// Initialization functions
void sm_copy_key(void);
Expand Down

0 comments on commit 5cab764

Please sign in to comment.