From 7b209c2cc5ea45251aba06dcc6181d3f23da807a Mon Sep 17 00:00:00 2001 From: acruz Date: Mon, 25 Feb 2008 11:01:04 -0800 Subject: PSARC 2008/046 Process Contract Decorations 5079353 RFE: contract 'decoration' with service FMRI --- usr/src/uts/common/sys/contract.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'usr/src/uts/common/sys/contract.h') diff --git a/usr/src/uts/common/sys/contract.h b/usr/src/uts/common/sys/contract.h index 0bef407b98..faf4f62529 100644 --- a/usr/src/uts/common/sys/contract.h +++ b/usr/src/uts/common/sys/contract.h @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -36,6 +36,11 @@ extern "C" { typedef uint64_t ctevid_t; +/* + * Contract parameter maximum size, in bytes + */ +#define CT_PARAM_MAX_SIZE 8192 + /* * Common event types */ @@ -108,8 +113,8 @@ typedef struct ct_status { typedef struct ct_param { uint32_t ctpm_id; - uint32_t ctpm_pad; - uint64_t ctpm_value; + uint32_t ctpm_size; + void *ctpm_value; } ct_param_t; #ifdef __cplusplus -- cgit v1.2.3