Skip to content

Commit e27a95c

Browse files
committed
[VirtIO] Link OpenAMP middleware files to the core
1 parent 52c2f80 commit e27a95c

File tree

18 files changed

+98
-0
lines changed

18 files changed

+98
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#ifdef VIRTIOCON
2+
3+
#include "libmetal/lib/device.c"
4+
5+
#endif /* VIRTIOCON */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#ifdef VIRTIOCON
2+
3+
#include "libmetal/lib/system/generic/condition.c"
4+
5+
#endif /* VIRTIOCON */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#ifdef VIRTIOCON
2+
3+
#include "libmetal/lib/system/generic/cortexm/sys.c"
4+
5+
#endif /* VIRTIOCON */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#ifdef VIRTIOCON
2+
3+
#include "libmetal/lib/system/generic/generic_device.c"
4+
5+
#endif /* VIRTIOCON */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#ifdef VIRTIOCON
2+
3+
#include "libmetal/lib/system/generic/generic_init.c"
4+
5+
#endif /* VIRTIOCON */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#ifdef VIRTIOCON
2+
3+
#include "libmetal/lib/system/generic/generic_io.c"
4+
5+
#endif /* VIRTIOCON */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#ifdef VIRTIOCON
2+
3+
#include "libmetal/lib/system/generic/generic_shmem.c"
4+
5+
#endif /* VIRTIOCON */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#ifdef VIRTIOCON
2+
3+
#include "libmetal/lib/system/generic/time.c"
4+
5+
#endif /* VIRTIOCON */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#ifdef VIRTIOCON
2+
3+
#include "libmetal/lib/init.c"
4+
5+
#endif /* VIRTIOCON */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#ifdef VIRTIOCON
2+
3+
#include "libmetal/lib/io.c"
4+
5+
#endif /* VIRTIOCON */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#ifdef VIRTIOCON
2+
3+
#include "libmetal/lib/log.c"
4+
5+
#endif /* VIRTIOCON */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#ifdef VIRTIOCON
2+
3+
#include "libmetal/lib/shmem.c"
4+
5+
#endif /* VIRTIOCON */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#ifdef VIRTIOCON
2+
3+
#include "open-amp/lib/remoteproc/remoteproc_virtio.c"
4+
5+
#endif /* VIRTIOCON */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#ifdef VIRTIOCON
2+
3+
#include "open-amp/lib/rpmsg/rpmsg.c"
4+
5+
#endif /* VIRTIOCON */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#ifdef VIRTIOCON
2+
3+
#include "open-amp/lib/rpmsg/rpmsg_virtio.c"
4+
5+
#endif /* VIRTIOCON */
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#ifdef VIRTIOCON
2+
3+
4+
// #include "openamp/open_amp.h"
5+
6+
/* Configurable parameters */
7+
#ifndef RPMSG_BUFFER_SIZE
8+
#define RPMSG_BUFFER_SIZE (512)
9+
#endif
10+
11+
#include "virtual_driver/virt_uart.c"
12+
13+
#endif /* VIRTIOCON */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#ifdef VIRTIOCON
2+
3+
#include "open-amp/lib/virtio/virtio.c"
4+
5+
#endif /* VIRTIOCON */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#ifdef VIRTIOCON
2+
3+
#include "open-amp/lib/virtio/virtqueue.c"
4+
5+
#endif /* VIRTIOCON */

0 commit comments

Comments
 (0)