From eca2601cae391051acb146d28fba04237fe1eb85 Mon Sep 17 00:00:00 2001 From: Randy Fishel Date: Fri, 15 May 2009 14:59:02 -0700 Subject: 6831759 FBDIMM Idle Power Enhancement (FIPE) driver for Solaris PSARC/2009/289 FBDIMM Idle Power Enhancement (FIPE) driver --- usr/src/uts/common/sys/dcopy.h | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'usr/src/uts/common/sys/dcopy.h') 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 */ -- cgit v1.2.3