|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [mini-os master] Introduce a common dev pointer in struct file
commit 2e3bb09a98f2912a045b21dee1cf0216edb8001d
Author: Juergen Gross <jgross@xxxxxxxx>
AuthorDate: Tue Jan 11 15:58:04 2022 +0100
Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Wed Jan 12 11:35:25 2022 +0000
Introduce a common dev pointer in struct file
There are many dev pointers in a union in struct file. Prepare to
switch to a single one by introducing a new common one.
Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
Reviewed-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
---
include/lib.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/lib.h b/include/lib.h
index dc56f52..60aaf1c 100644
--- a/include/lib.h
+++ b/include/lib.h
@@ -188,6 +188,7 @@ struct file {
off_t offset;
union {
int fd; /* Any fd from an upper layer. */
+ void *dev;
struct {
struct evtchn_port_list ports;
} evtchn;
--
generated by git-patchbot for /home/xen/git/mini-os.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |