From e32b6fa920e7300d16c190c1138dd042a9df7ea2 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 13 Nov 2020 13:11:45 +0100 Subject: sys/linux: regenerate const files Regenerate consts on upstream 585e5b17b92dead8a3aca4e3c9876fbca5f7e0ba. Fix vmw_vmci.txt const extraction. --- sys/linux/vmw_vmci.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'sys/linux/vmw_vmci.txt') diff --git a/sys/linux/vmw_vmci.txt b/sys/linux/vmw_vmci.txt index e1afdfabf..44ba2de03 100644 --- a/sys/linux/vmw_vmci.txt +++ b/sys/linux/vmw_vmci.txt @@ -1,8 +1,10 @@ # Copyright 2020 syzkaller project authors. All rights reserved. # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. +include include include +include resource fd_vmci[fd] @@ -128,3 +130,16 @@ vmci_version = VMCI_VERSION_NOVMVM, VMCI_VERSION_NOTIFY, VMCI_VERSION_HOSTQP, VM vmci_cpt_state = VMCI_NOTIFICATION_CPT_STATE, VMCI_WELLKNOWN_CPT_STATE, VMCI_DG_OUT_STATE, VMCI_DG_IN_STATE, VMCI_DG_IN_SIZE_STATE, VMCI_DOORBELL_CPT_STATE vmci_notify_resource = VMCI_NOTIFY_RESOURCE_QUEUE_PAIR, VMCI_NOTIFY_RESOURCE_DOOR_BELL vmci_notify_action = VMCI_NOTIFY_RESOURCE_ACTION_NOTIFY, VMCI_NOTIFY_RESOURCE_ACTION_CREATE, VMCI_NOTIFY_RESOURCE_ACTION_DESTROY + +# These are defined in kernel source files. +define VMCI_NOTIFICATION_CPT_STATE 1 +define VMCI_WELLKNOWN_CPT_STATE 2 +define VMCI_DG_OUT_STATE 3 +define VMCI_DG_IN_STATE 4 +define VMCI_DG_IN_SIZE_STATE 5 +define VMCI_DOORBELL_CPT_STATE 6 +define VMCI_NOTIFY_RESOURCE_ACTION_NOTIFY 0 +define VMCI_NOTIFY_RESOURCE_ACTION_CREATE 1 +define VMCI_NOTIFY_RESOURCE_ACTION_DESTROY 2 +define VMCI_NOTIFY_RESOURCE_QUEUE_PAIR 0 +define VMCI_NOTIFY_RESOURCE_DOOR_BELL 1 -- cgit mrf-deployment