| Current File : //usr/share/src/uts/i86xpv/sys/balloon.h |
/*
* Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
*/
#ifndef _SYS_BALLOON_H
#define _SYS_BALLOON_H
#ifdef __cplusplus
extern "C" {
#endif
#define BALLOON_DEV_NAME "balloon"
#define BALLOON_PATHNAME "xen/" BALLOON_DEV_NAME
#define BALLOON_DRIVER_NAME "balloon"
#define BLN_IOCTL_BASE ('B' << 24) | ('A' << 16)
/*
* To return the desired value. These defines are copied in balloon.py
* in the hypervisor gate, so woe befall anyone who changes these.
*/
#define BLN_IOCTL_CURRENT (BLN_IOCTL_BASE | 0x1)
#define BLN_IOCTL_TARGET (BLN_IOCTL_BASE | 0x2)
#define BLN_IOCTL_LOW (BLN_IOCTL_BASE | 0x3)
#define BLN_IOCTL_HIGH (BLN_IOCTL_BASE | 0x4)
#define BLN_IOCTL_LIMIT (BLN_IOCTL_BASE | 0x5)
#ifdef __cplusplus
}
#endif
#endif /* _SYS_BALLOON_H */