From: John Wolfe Date: Tue, 19 Apr 2022 21:30:54 +0000 (-0700) Subject: Common header file change not applicable to open-vm-tools. X-Git-Tag: stable-12.1.0~89 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=472335e347018fbddfbbe45618193075e77fa836;p=thirdparty%2Fopen-vm-tools.git Common header file change not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/ghIntegrationCommon.h b/open-vm-tools/lib/include/ghIntegrationCommon.h index 914666da8..a82f96fca 100644 --- a/open-vm-tools/lib/include/ghIntegrationCommon.h +++ b/open-vm-tools/lib/include/ghIntegrationCommon.h @@ -54,7 +54,9 @@ // in View RMKS #define GHI_CHANNEL_FCP 8 // FCP for View RMKS #define GHI_CHANNEL_VIEW_SDR 9 // Handled by View SDR -#define GHI_CHANNEL_COUNT 10 +#define GHI_CHANNEL_VIEW_WHFB_REDIRECTION 10 // WhfbRedirectionMKSControl module in + // View RMKS +#define GHI_CHANNEL_COUNT 11 typedef uint32 GHIChannelType; @@ -186,6 +188,20 @@ typedef uint32 GHIGuestToHostMessageType; #define GHI_HOST_VDP_COMMON_SYNC_GUEST_LEDS_CMD "ghi.mks.common.sync.guest.leds" #define GHI_HOST_VDP_COMMON_GET_GUEST_CAPS_CMD "ghi.mks.common.get.guest.caps" +/* + * MKS->UI messages over GHI_CHANNEL_VIEW_WHFB_REDIRECTION + */ +#define GHI_CHANNEL_VIEW_WHFB_REDIRECTION_BITS \ + GHI_GUEST_CHANNEL_BITS(GHI_CHANNEL_VIEW_WHFB_REDIRECTION) +#define GHI_GUEST_WHFB_REDIRECTION_UNLOCK_REQUEST \ + (GHI_CHANNEL_VIEW_WHFB_REDIRECTION_BITS | 0x000001) + +/* + * UI->MKS messages over GHI_CHANNEL_VIEW_WHFB_REDIRECTION. + */ +#define GHI_WHFB_REDIRECTION_SET_SESSIONPIN_CMD "ghi.whfb.set.sessionpin" +#define GHI_WHFB_REDIRECTION_SET_USERVERIFICATIONRESULT_CMD "ghi.whfb.set.userverificationresult" + /* * Capabilities for the message GHI_GUEST_VDP_COMMON_CAP_FEATURES */