d29b2c4438482eb00488be49a1f5d6835f455546ab#
d29b2c4438482eb00488be49a1f5d6835f455546ab# CDDL HEADER START
d29b2c4438482eb00488be49a1f5d6835f455546ab#
d29b2c4438482eb00488be49a1f5d6835f455546ab# The contents of this file are subject to the terms of the
d29b2c4438482eb00488be49a1f5d6835f455546ab# Common Development and Distribution License (the "License").
d29b2c4438482eb00488be49a1f5d6835f455546ab# You may not use this file except in compliance with the License.
d29b2c4438482eb00488be49a1f5d6835f455546ab#
d29b2c4438482eb00488be49a1f5d6835f455546ab# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d29b2c4438482eb00488be49a1f5d6835f455546ab# or http://www.opensolaris.org/os/licensing.
d29b2c4438482eb00488be49a1f5d6835f455546ab# See the License for the specific language governing permissions
d29b2c4438482eb00488be49a1f5d6835f455546ab# and limitations under the License.
d29b2c4438482eb00488be49a1f5d6835f455546ab#
d29b2c4438482eb00488be49a1f5d6835f455546ab# When distributing Covered Code, include this CDDL HEADER in each
d29b2c4438482eb00488be49a1f5d6835f455546ab# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d29b2c4438482eb00488be49a1f5d6835f455546ab# If applicable, add the following below this CDDL HEADER, with the
d29b2c4438482eb00488be49a1f5d6835f455546ab# fields enclosed by brackets "[]" replaced with your own identifying
d29b2c4438482eb00488be49a1f5d6835f455546ab# information: Portions Copyright [yyyy] [name of copyright owner]
d29b2c4438482eb00488be49a1f5d6835f455546ab#
d29b2c4438482eb00488be49a1f5d6835f455546ab# CDDL HEADER END
d29b2c4438482eb00488be49a1f5d6835f455546ab#
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab#
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
d29b2c4438482eb00488be49a1f5d6835f455546ab# Use is subject to license terms.
d29b2c4438482eb00488be49a1f5d6835f455546ab#
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ _START_
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# Message file for elfedit 'cap' module
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_ID_ELFEDIT_CAP
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# Debug messages
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DEBUG_S_OK "[%d: %s][%d]: value unchanged: %s\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DEBUG_S_CHG "[%d: %s][%d]: change from %s to %s\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DEBUG_BSB_OK "[%d: %s][%d]: value unchanged: [%s]\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DEBUG_BSB_CHG "[%d: %s][%d]: change from [%s] to [%s]\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DEBUG_X_OK "[%d: %s][%d]: value unchanged: %#llx\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DEBUG_X_CHG "[%d: %s][%d]: change from %#llx to %#llx\n"
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_DEBUG_CA2NDX "[%d: %s][%d]: capability entry for tag: %s\n"
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_DEBUG_CAPGRP "[%d: %s][%u-%u: %s]: capability group\n"
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_DEBUG_CONVNULL "[%d: %s][%d]: no existing %s to modify, converting \
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans extra CA_SUNW_NULL\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# Errors
d29b2c4438482eb00488be49a1f5d6835f455546ab
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_ERR_NOCAELT "[%d: %s][%u-%u: %s]: capabilities group does not \
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans contain tag: %s\n"
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_ERR_NOSTRTAB "[%d: %s]: capabilities section does not have an \
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans associated string table\n"
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_ERR_BADCAPID "[%d: %s]: capabilities section does not contain \
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans specified id: %s\n"
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_ERR_GRPARRBNDS "%s[%u-%u: %s]: attempt to access elements outside \
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans of capabilities group\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# Module description
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_MOD_DESC "Capabilities Section"
d29b2c4438482eb00488be49a1f5d6835f455546ab
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans# Strings
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_STR_OBJECT "<object>"
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_STR_NONAME "<noname>"
d29b2c4438482eb00488be49a1f5d6835f455546ab
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans# Format strings
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_FMT_CAPGRP " Group[%u-%u]: %s\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# 1-line description strings
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DESC_DUMP "Dump Capabilities Section"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DESC_TAG "Change element tag"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DESC_VALUE "Change element value"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DESC_DELETE "Delete elements"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_DESC_MOVE "Move elements"
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_DESC_HW1 "Hardware capabilities (CA_SUNW_HW_1) bit values"
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_DESC_SF1 "Software capabilities (CA_SUNW_SF_1) bit values"
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_DESC_HW2 "Hardware capabilities (CA_SUNW_HW_2) bit values"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans# Command option description strings
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_OPTDESC_CAPNDX "\
d29b2c4438482eb00488be49a1f5d6835f455546ab Interpret the elt argument as a direct index into the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab capabilities section, rather than as a CA_ tag value.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_OPTDESC_CAPID "\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans Restrict the elt argument to the capability elements belonging\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans to the capabilities group with a CA_SUNW_ID entry matching the\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans specified id name.\n"
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_OPTDESC_S "\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans Interpret the value argument as a string rather than an\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans integer. If the specified string already exists in the\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans string table, the offset of that string is stored in the\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans capability entry. If the string does not exist in the string\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans table, but there is room to add it, the new string is added\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans and then the offset is placed in the capability entry.\n"
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# Command argument description strings
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_A1_TAG_ELT "\
d29b2c4438482eb00488be49a1f5d6835f455546ab Capabilities element to be examined or changed. By default,\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab this is a CA_ tag value. The index of the first element\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab in the capabilities section that has the specified tag value\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab will be used. The value specified can be one of the well known\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab CA_ constants, or any integer.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If the -capndx option is specified, elt is instead interpreted\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab as a simple integer index into the capabilities section.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_A2_TAG_VALUE "\
d29b2c4438482eb00488be49a1f5d6835f455546ab Value to be set for c_tag field of specified capabilities\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab element. Tag values can be specified using the well known\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab CA_ symbolic constants from /usr/include/sys/elf.h, or\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab as integers.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_ARGDESC_ELT "\
d29b2c4438482eb00488be49a1f5d6835f455546ab Element within capabilities section. By default, this is a\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab tag value. In this case, the index of the first capabilities\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab element with the specified tag value will be used. Tag values\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab can be specified using the well known CA_ symbolic constants\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab from /usr/include/sys/elf.h, or as integers. If the -capndx\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab option is specified, then elt is instead interpreted as a\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans direct numeric index into the capabilities section. If the\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans -capid option is specified, the search is limited to elements\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans within the named capabilities group.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_A2_VALUE_VALUE "\
d29b2c4438482eb00488be49a1f5d6835f455546ab Value to set for specified capabilities section element.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab This is a numeric value which is used directly.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_A2_DELETE_COUNT "\
d29b2c4438482eb00488be49a1f5d6835f455546ab Number of capabilities elements to delete, starting at the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab specified position. This value cannot exceed the number\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans of slots remaining in the capabilities group below the specified\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans position. If count is not supplied, a single element is deleted.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_A2_MOVE_DST_INDEX "\
d29b2c4438482eb00488be49a1f5d6835f455546ab Numeric index within capabilities section to which the element(s)\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans should be moved. The destination index must lie within the same\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans capabilities group as elt.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_A3_MOVE_COUNT "\
d29b2c4438482eb00488be49a1f5d6835f455546ab Number of capabilities elements to move. This value cannot\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans exceed the number of slots remaining in the capabilities group\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans below the specified position. If count is not supplied, a\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab single element is moved.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_A1_HW1_VALUE "\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans Hardware capability (CA_SUNW_HW_1) values. This can be an integer\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans value, any of the AV_386_ symbolic constants defined in\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab /usr/include/sys/auxv_386.h, or the AV_SPARC symbolic\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans constants defined in /usr/include/sys/auxv_SPARC.h.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_A1_SF1_VALUE "\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans Software capability (CA_SUNW_SF_1) values. This can be an integer\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans value, any of the SF1_SUNW_ symbolic constants defined in\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans /usr/include/sys/elf.h.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_A1_HW2_VALUE "\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans Hardware capability (CA_SUNW_HW_2) values. This is available for\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans future expansion.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# Help strings
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_HELP_DUMP " \
d29b2c4438482eb00488be49a1f5d6835f455546ab The cap:dump command is used to display the contents of the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab capabilities section using the same style used by the elfdump\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab program.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_HELP_TAG " \
d29b2c4438482eb00488be49a1f5d6835f455546ab The cap:tag command is used to display or alter the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab type of an element in the capabilities section. This information\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab is found in the c_tag field of a capabilities element.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If cap:tag is called without arguments, the value of c_tag\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab for every element in the capabilities section is shown. If called\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab with the elt argument, the specified elements are displayed.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If both arguments are present, the c_tag field of the specified\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab capabilities element is set to the given value.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_HELP_VALUE " \
d29b2c4438482eb00488be49a1f5d6835f455546ab The cap:value command is used to display or alter the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab value of an element in the capabilities section. The value\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab of a capabilities element is found in the c_un union of the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab element.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If cap:value is called without arguments, the value of every\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab element in the capabilities section is shown. If called with the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab elt argument, the value of the specified elements are displayed.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If both arguments are present, the value of the specified\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab capabilities element is set to the given value.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_HELP_DELETE " \
d29b2c4438482eb00488be49a1f5d6835f455546ab The cap:delete command is used to delete one or more elements\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans from a capabilities group within the capabilities section. The\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans elements following the deleted items move up, and new CA_NULL\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans elements are inserted at the end of the capabilities group to\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans fill the vacated space.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_HELP_MOVE " \
d29b2c4438482eb00488be49a1f5d6835f455546ab The cap:move command is used to move the position of one\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans or more elements in a capabilities group within in the\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans capabilities section. The specified number of elements are\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans moved from elt to dst_index.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_HELP_HW1 " \
d29b2c4438482eb00488be49a1f5d6835f455546ab The cap:hw1 command is used to display or alter the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab value of the hardware capabilities element (CA_SUNW_HW_1).\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If cap:hw1 is called without arguments, the current\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab value is shown. If one or more value arguments are present,\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab the following steps are taken:\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n \
d29b2c4438482eb00488be49a1f5d6835f455546ab o\tAll the value arguments are OR'd together.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n \
d29b2c4438482eb00488be49a1f5d6835f455546ab o\tIf the -cmp option has been specified, the new value\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \tis complemented.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n \
d29b2c4438482eb00488be49a1f5d6835f455546ab o\tThe CA_SUNW_HW_1 element of the capabilities section is\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \tupdated with the new value. If -and is specified, the new\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \tvalue is AND'd against the existing value. If -or is\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \tspecified, the new value is OR'd against the existing\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \tvalue. If neither -and or -or are specified, the new value\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \treplaces the existing value.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_HELP_SF1 " \
d29b2c4438482eb00488be49a1f5d6835f455546ab The cap:sf1 command is used to display or alter the\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab value of the software capabilities element (CA_SUNW_SF_1).\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n\
d29b2c4438482eb00488be49a1f5d6835f455546ab If cap:sf1 is called without arguments, the current\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab value is shown. If one or more value arguments are present,\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab the following steps are taken:\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n \
d29b2c4438482eb00488be49a1f5d6835f455546ab o\tAll the value arguments are OR'd together.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n \
d29b2c4438482eb00488be49a1f5d6835f455546ab o\tIf the -cmp option has been specified, the new value\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \tis complemented.\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \n \
d29b2c4438482eb00488be49a1f5d6835f455546ab o\tThe CA_SUNW_SF_1 element of the capabilities section is\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \tupdated with the new value. If -and is specified, the new\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \tvalue is AND'd against the existing value. If -or is\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \tspecified, the new value is OR'd against the existing\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab \tvalue. If neither -and or -or are specified, the new value\n\
d29b2c4438482eb00488be49a1f5d6835f455546ab replaces the existing value.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_HELP_HW2 " \
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans The cap:hw2 command is used to display or alter the\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans value of the hardware capabilities element (CA_SUNW_HW_2).\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans \n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans If cap:hw2 is called without arguments, the current\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans value is shown. If one or more value arguments are present,\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans the following steps are taken:\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans \n \
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans o\tAll the value arguments are OR'd together.\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans \n \
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans o\tIf the -cmp option has been specified, the new value\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans \tis complemented.\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans \n \
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans o\tThe CA_SUNW_HW_2 element of the capabilities section is\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans \tupdated with the new value. If -and is specified, the new\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans \tvalue is AND'd against the existing value. If -or is\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans \tspecified, the new value is OR'd against the existing\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans \tvalue. If neither -and or -or are specified, the new value\n\
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans \treplaces the existing value.\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ _END_
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# The following strings represent reserved words, files, pathnames and symbols.
d29b2c4438482eb00488be49a1f5d6835f455546ab# Reference to this strings is via the MSG_ORIG() macro, and thus no message
d29b2c4438482eb00488be49a1f5d6835f455546ab# translation is required.
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# Strings
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_STR_EMPTY ""
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_STR_COUNT "count"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_STR_ELT "elt"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_STR_DST_INDEX "dst_index"
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_STR_MINUS_CAPID "-capid"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_STR_MINUS_CAPNDX "-capndx"
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_STR_MINUS_S "-s"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_STR_VALUE "value"
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_STR_IDNAME "id_name"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# Format strings
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_FMT_STRNL "%s\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_FMT_HEXXWORDNL "%#llx\n"
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_FMT_WORDVALNL "%u\n"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# Module name
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_MOD_NAME "cap"
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab# Command names
d29b2c4438482eb00488be49a1f5d6835f455546ab
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_CMD_DUMP "dump"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_CMD_TAG "tag"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_CMD_VALUE "value"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_CMD_DELETE "delete"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_CMD_MOVE "move"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_CMD_HW1 "hw1"
d29b2c4438482eb00488be49a1f5d6835f455546ab@ MSG_CMD_SF1 "sf1"
08278a5e91755ccdb5850c19d21d42fb2e16b50eRod Evans@ MSG_CMD_HW2 "hw2"