aboutsummaryrefslogtreecommitdiff
path: root/vbox.c
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-04-11 04:36:49 +0200
committerJavier <dev.git@javispedro.com>2022-04-11 04:36:49 +0200
commit19231982b2f374aed286f4697aebd3fb9fda05d8 (patch)
tree1922eaf34af3d904ce0f75c0e812e8da8e0d38d4 /vbox.c
parent970f90228a6978712c28529437721caffec76202 (diff)
downloadvbados-19231982b2f374aed286f4697aebd3fb9fda05d8.tar.gz
vbados-19231982b2f374aed286f4697aebd3fb9fda05d8.zip
add new virtualbox shared folders client
Diffstat (limited to 'vbox.c')
-rw-r--r--vbox.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/vbox.c b/vbox.c
index 28fb02d..eb05f1b 100644
--- a/vbox.c
+++ b/vbox.c
@@ -22,9 +22,10 @@
#include <stdint.h>
#include <i86.h>
+#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;