aboutsummaryrefslogtreecommitdiff
path: root/vds.h
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 /vds.h
parent970f90228a6978712c28529437721caffec76202 (diff)
downloadvbados-19231982b2f374aed286f4697aebd3fb9fda05d8.tar.gz
vbados-19231982b2f374aed286f4697aebd3fb9fda05d8.zip
add new virtualbox shared folders client
Diffstat (limited to 'vds.h')
-rw-r--r--vds.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/vds.h b/vds.h
index 508a0ca..c8822c4 100644
--- a/vds.h
+++ b/vds.h
@@ -76,14 +76,6 @@ typedef _Packed struct VDSDDS
uint32_t physicalAddress;
} VDSDDS;
-/** Converts a far pointer into equivalent linear address.
- * Note that under protected mode linear != physical.
- * That's what VDS is for. */
-static inline uint32_t vds_ptr_to_linear(const void __far * ptr)
-{
- return ((uint32_t)(FP_SEG(ptr)) << 4) + FP_OFF(ptr);
-}
-
static bool vds_available(void);
#pragma aux vds_available = \
"mov ax, 0x40" \