elfcap.h (5087e485) elfcap.h (b1593d50)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 6 unchanged lines hidden (view full) ---

15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21
22/*
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 6 unchanged lines hidden (view full) ---

15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21
22/*
23 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
25 */
26
27#ifndef _ELFCAP_DOT_H
28#define _ELFCAP_DOT_H
29
30#include <sys/types.h>
31

--- 63 unchanged lines hidden (view full) ---

95} elfcap_err_t;
96
97
98/*
99 * # of each type of capability known to the system. These values
100 * must be kept in sync with the arrays found in elfcap.c
101 */
102#define ELFCAP_NUM_SF1 3
24 * Use is subject to license terms.
25 */
26
27#ifndef _ELFCAP_DOT_H
28#define _ELFCAP_DOT_H
29
30#include <sys/types.h>
31

--- 63 unchanged lines hidden (view full) ---

95} elfcap_err_t;
96
97
98/*
99 * # of each type of capability known to the system. These values
100 * must be kept in sync with the arrays found in elfcap.c
101 */
102#define ELFCAP_NUM_SF1 3
103#define ELFCAP_NUM_HW1_SPARC 16
103#define ELFCAP_NUM_HW1_SPARC 17
104#define ELFCAP_NUM_HW1_386 26
105
106
107/*
108 * Given a capability section tag and value, call the proper underlying
109 * "to str" function to generate the string description.
110 */
111extern elfcap_err_t elfcap_tag_to_str(elfcap_style_t, uint64_t,

--- 38 unchanged lines hidden ---
104#define ELFCAP_NUM_HW1_386 26
105
106
107/*
108 * Given a capability section tag and value, call the proper underlying
109 * "to str" function to generate the string description.
110 */
111extern elfcap_err_t elfcap_tag_to_str(elfcap_style_t, uint64_t,

--- 38 unchanged lines hidden ---