From 19231982b2f374aed286f4697aebd3fb9fda05d8 Mon Sep 17 00:00:00 2001 From: Javier Date: Mon, 11 Apr 2022 04:36:49 +0200 Subject: add new virtualbox shared folders client --- vbox.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'vbox.c') diff --git a/vbox.c b/vbox.c index 28fb02d..eb05f1b 100644 --- a/vbox.c +++ b/vbox.c @@ -22,9 +22,10 @@ #include #include +#include "dlog.h" +#include "utils.h" #include "pci.h" #include "vds.h" -#include "dlog.h" #include "vboxdev.h" #include "vbox.h" @@ -103,7 +104,7 @@ int vbox_init_buffer(LPVBOXCOMM vb) vb->dds.offset = FP_OFF(&vb->buf); vb->dds.bufferId = 0; - vb->dds.physicalAddress = vds_ptr_to_linear(&vb->buf); + vb->dds.physicalAddress = linear_addr(&vb->buf); } return 0; -- cgit v1.2.3