diff options
author | Javier <dev.git@javispedro.com> | 2022-04-11 04:36:49 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2022-04-11 04:36:49 +0200 |
commit | 19231982b2f374aed286f4697aebd3fb9fda05d8 (patch) | |
tree | 1922eaf34af3d904ce0f75c0e812e8da8e0d38d4 /vds.h | |
parent | 970f90228a6978712c28529437721caffec76202 (diff) | |
download | vbados-19231982b2f374aed286f4697aebd3fb9fda05d8.tar.gz vbados-19231982b2f374aed286f4697aebd3fb9fda05d8.zip |
add new virtualbox shared folders client
Diffstat (limited to 'vds.h')
-rw-r--r-- | vds.h | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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" \ |