promif_prop.c revision d3d50737e566cade9a08d73d2af95105ac7cd960
2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 32N/A * Use is subject to license terms. 4357N/A * Domains Services interaction 327N/A "var-config-backup",
/* svc_id */ 34N/A * Initialize the linkage with DS (Domain Services). We assume that 59N/A * the DS module has already been loaded by the platmod. 1251N/A * The call to the DS init functions will eventually result in the 1256N/A * invocation of our registration callback handlers, at which time DS 72N/A * is able to accept requests. 61N/A static char *
me =
"promif_ds_init";
152N/A "%s: ds_cap_init failed (primary): %d",
me,
rv);
61N/A "%s: ds_cap_init failed (backup): %d",
me,
rv);
61N/A * Prepare for ldom variable requests. 61N/A * Replace the current value of a property string given its name and 64N/A static char *
me =
"promif_ldom_setprop";
64N/A * Since we are emulating OBP, we must comply with the promif 64N/A * infrastructure and execute only on the originating cpu.