Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kennymacheka/issue745 #848

Open
wants to merge 27 commits into
base: oe_port
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
9829ea6
Add packed vring structures and create split and packed processing ro…
KennyMacheka Apr 15, 2021
d4cafa3
Create function to add use packed vring desc.
KennyMacheka Apr 16, 2021
6879c3d
Implement virtio_req_complete_packed and refactoring.
KennyMacheka Apr 18, 2021
81f7eb5
Add packed ring in lkl/virtio.c.
KennyMacheka Apr 18, 2021
2aa85f5
Fix typos and refactor.
KennyMacheka Apr 18, 2021
1208475
Add PACKED_RING macro.
KennyMacheka Apr 18, 2021
3e2d213
Fixing bug for packed_desc_is_avail.
KennyMacheka Apr 20, 2021
bcf19cf
Add device and driver events into packed vring and initialise in virt…
KennyMacheka Apr 20, 2021
7cfaebc
Round queue desc event size to next pow 2.
KennyMacheka Apr 20, 2021
1dd6818
Refactoring and bug fixing.
KennyMacheka Apr 20, 2021
f5ac452
Add unprocessed used desc in packed virtq.
KennyMacheka Apr 25, 2021
8b81d1b
Fix bug for setting avail and used flags to 0.
KennyMacheka Apr 25, 2021
fb015f6
Cleaning up code.
KennyMacheka Apr 26, 2021
c39533f
Initialise shadow devs.
KennyMacheka May 2, 2021
23be735
Copy host dev into shadow dev.
KennyMacheka May 4, 2021
18e1bfc
Update virtio_read and virtio_write with shadow structure.
KennyMacheka May 5, 2021
6022e1c
Add sanity checking for desc length.
KennyMacheka May 5, 2021
8594b83
Have consistency with pointer definition style.
KennyMacheka May 7, 2021
fb6ab3c
Replace mmap with enclave wrapper.
KennyMacheka May 8, 2021
50589ac
Update dev_host int status on deliver irq.
KennyMacheka May 11, 2021
845026f
Fix syntax errors.
KennyMacheka May 11, 2021
a0225d6
Clean up lkl/virtio.c.
KennyMacheka May 12, 2021
7b12fd1
Add sanity check for number of devices.
KennyMacheka May 13, 2021
03cc9d0
Add check that virtqueue arrays are in shared memory.
KennyMacheka May 13, 2021
24366a4
Removing desc len sanity check.
KennyMacheka May 17, 2021
c5a5031
Remove unused variable.
KennyMacheka Jun 1, 2021
740e64c
Add extra condition for sending IRQ for packed ring.
KennyMacheka Jun 12, 2021
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
7 changes: 7 additions & 0 deletions config.mak
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
# Create a DEBUG build of SGX-LKL
DEBUG ?= false

# Use the packed ring implementation of the virtio implementation
PACKED_RING ?= false

# Turn on debug tracing for LKL
LKL_DEBUG ?= false

Expand Down Expand Up @@ -124,6 +127,10 @@ else
CMAKE_BUILD_TYPE=Release
endif

ifeq ($(PACKED_RING),true)
SGXLKL_CFLAGS_EXTRA += -DPACKED_RING
endif

# OpenEnclave
OE_SUBMODULE := $(SGXLKL_ROOT)/openenclave
OE_SDK_ROOT_DEFAULT := $(BUILD_DIR)/openenclave
Expand Down
Loading