diff options
author | Javier <dev.git@javispedro.com> | 2022-04-15 09:32:31 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2022-04-15 09:32:31 +0200 |
commit | 528069dc5992bd069a3c1783db50d630c3d355b4 (patch) | |
tree | f7557ae7158d5c3bb781961fa695718407975781 /sftsr.h | |
parent | a84f04eb1be124e7fdefb486bf01626ff96d2d04 (diff) | |
download | vbados-528069dc5992bd069a3c1783db50d630c3d355b4.tar.gz vbados-528069dc5992bd069a3c1783db50d630c3d355b4.zip |
use different buffer sizes for vbx mouse & sf
Diffstat (limited to 'sftsr.h')
-rw-r--r-- | sftsr.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -33,9 +33,13 @@ /** Maximum number of open files */ #define NUM_FILES 40 -/** Directory enumeration needs an open file, this is its index. */ +/** Directory enumeration needs an open file, this is its index in the "openfile" table. */ #define SEARCH_DIR_FILE 0 +/** Size of the VBox buffer. The maximum message length that may be sent. + * Enough to fit an HGCM connect call, which is actually larger than most other calls we use ( <= 7 args ). */ +#define VBOX_BUFFER_SIZE (200) + typedef struct { uint32_t root; uint64_t handle; @@ -65,6 +69,7 @@ typedef struct { // VirtualBox communication struct vboxcomm vb; + char vbbuf[VBOX_BUFFER_SIZE]; uint32_t hgcm_client_id; } TSRDATA; |