aboutsummaryrefslogtreecommitdiff
path: root/vds.h
diff options
context:
space:
mode:
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" \