1/* **********************************************************
2 * Copyright 2007 VMware, Inc.  All rights reserved.
3 * **********************************************************/
4
5/*
6 * svga_escape.h --
7 *
8 *    Definitions for our own (vendor-specific) SVGA Escape commands.
9 */
10
11#ifndef _SVGA_ESCAPE_H_
12#define _SVGA_ESCAPE_H_
13
14/*
15 * Namespace IDs for the escape command
16 */
17
18#define SVGA_ESCAPE_NSID_VMWARE 0x00000000
19#define SVGA_ESCAPE_NSID_DEVEL  0xFFFFFFFF
20
21/*
22 * Within SVGA_ESCAPE_NSID_VMWARE, we multiplex commands according to
23 * the first DWORD of escape data (after the nsID and size). As a
24 * guideline we're using the high word and low word as a major and
25 * minor command number, respectively.
26 */
27
28#define SVGA_ESCAPE_VMWARE_MAJOR_MASK  0xFFFF0000
29
30#endif /* _SVGA_ESCAPE_H_ */
31