summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/dcopy.h
diff options
context:
space:
mode:
authorRandy Fishel <Randy.Fishel@Sun.COM>2009-05-15 14:59:02 -0700
committerRandy Fishel <Randy.Fishel@Sun.COM>2009-05-15 14:59:02 -0700
commiteca2601cae391051acb146d28fba04237fe1eb85 (patch)
tree9eb102c0138189d80e7698a1697e782145b60506 /usr/src/uts/common/sys/dcopy.h
parentfb2caebe9e38ee2e6e469d5136fb247faaa7299b (diff)
downloadillumos-joyent-eca2601cae391051acb146d28fba04237fe1eb85.tar.gz
6831759 FBDIMM Idle Power Enhancement (FIPE) driver for Solaris
PSARC/2009/289 FBDIMM Idle Power Enhancement (FIPE) driver
Diffstat (limited to 'usr/src/uts/common/sys/dcopy.h')
-rw-r--r--usr/src/uts/common/sys/dcopy.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/usr/src/uts/common/sys/dcopy.h b/usr/src/uts/common/sys/dcopy.h
index 09e72e84e0..b40b92ebb9 100644
--- a/usr/src/uts/common/sys/dcopy.h
+++ b/usr/src/uts/common/sys/dcopy.h
@@ -20,15 +20,13 @@
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_DCOPY_H
#define _SYS_DCOPY_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -148,12 +146,27 @@ void dcopy_query_channel(dcopy_handle_t handle, dcopy_query_channel_t *query);
* Generate an interrupt when command completes. This flag is required if
* the caller is going to call dcopy_cmd_poll(() with DCOPY_POLL_BLOCK set
* for this command.
+ * DCOPY_CMD_NOWAIT
+ * Return error instead of busy waiting if resource is not available.
+ * DCOPY_CMD_NOSRCSNP
+ * Disable source cache snooping.
+ * DCOPY_CMD_NODSTSNP
+ * Disable destination cache snooping.
+ * DCOPY_CMD_LOOP
+ * For CBv1, generate a loop descriptor list, used to support FIPE driver.
+ * DCOPY_CMD_SYNC
+ * Reserved for internal use.
*/
#define DCOPY_CMD_NOFLAGS (0)
#define DCOPY_CMD_QUEUE (1 << 0)
#define DCOPY_CMD_NOSTAT (1 << 1)
#define DCOPY_CMD_DCA (1 << 2)
#define DCOPY_CMD_INTR (1 << 3)
+#define DCOPY_CMD_NOWAIT (1 << 4)
+#define DCOPY_CMD_NOSRCSNP (1 << 5)
+#define DCOPY_CMD_NODSTSNP (1 << 6)
+#define DCOPY_CMD_LOOP (1 << 7)
+#define DCOPY_CMD_SYNC (1 << 30)
typedef struct dcopy_cmd_copy_s {
uint64_t cc_source; /* Source physical address */