Logo
Explore Help
Register Sign In
lby/lk
1
0
Fork 0
You've already forked lk
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
2b02c8a046b057e8a63a98471456ab4cb6831c15
lk/dev/virtio/9p/rules.mk

14 lines
204 B
Makefile
Raw Normal View History

[virtio][v9p] Add the VirtIO 9p device driver This commit adds the VirtIO 9p device driver based on the VirtIO driver stack in LK, `dev/virtio`. The driver supports a subset of 9P2000.L protocol (https://github.com/chaos/diod/blob/master/protocol.md), which is able to perform basic file operations (fread, fwrite, dirread, etc.). The primary interface for sending and receiving the 9p messages is `virtio_9p_rpc`, which is handy and scalable. The driver is limited to communicate to the host with only one outstanding 9p message per device due to the simplified driver design. Basically that is enough for embedded environments when there is no massive file IO. Signed-off-by: Cody Wong <codycswong@google.com>
2023-12-26 12:41:33 +08:00
LOCAL_DIR := $(GET_LOCAL_DIR)
MODULE := $(LOCAL_DIR)
MODULE_SRCS += \
$(LOCAL_DIR)/client.c \
$(LOCAL_DIR)/virtio-9p.c \
$(LOCAL_DIR)/protocol.c
MODULE_DEPS += \
dev/virtio
include make/module.mk
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 25ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API