/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
#include "intr_common.h"
/*
* Globals
*/
/*
* Dump interrupt information for apix PSM.
*/
/* ARGSUSED */
int
{
int i, j;
option_flags = 0;
return (DCMD_USAGE);
mdb_warn("failed to read apixs");
return (DCMD_ERR);
}
mdb_warn("failed to read apic_nproc");
}
mdb_warn("failed to read apic_irq_table");
return (DCMD_ERR);
}
mdb_warn("failed to read apic_level_intr");
return (DCMD_ERR);
}
/* Print the header first */
mdb_printf("%<u>CPU ");
else
mdb_printf("%<u>CPU/Vect IRQ IPL Bus Trg Type "
"Driver Name(s)" : "ISR");
/* Walk all the entries */
for (i = 0; i < d_ncpus; i++) {
/* Read the per CPU apix entry */
continue;
for (j = 0; j < APIX_NVECTOR; j++) {
/* Read the vector entry */
continue;
/* If invalid vector state; continue */
continue;
continue;
continue;
continue;
}
}
/* print IPIs */
for (j = 0; j < APIX_NVECTOR; j++) {
/* Read the vector entry */
continue;
/* If invalid vector state; continue */
continue;
continue;
/* v_share for poke_cpu is 0 */
if (apix_vector.v_share != 0)
continue;
}
}
}
return (DCMD_OK);
}
/*
* MDB module linkage information:
*
* We declare a list of structures describing our dcmds, and a function
* named _mdb_init to return a pointer to our module information.
*/
#ifdef _KMDB
#endif /* _KMDB */
{ NULL }
};
const mdb_modinfo_t *
_mdb_init(void)
{
return (&modinfo);
}