intrq.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
152N/A * The contents of this file are subject to the terms of the 152N/A * Common Development and Distribution License, Version 1.0 only 152N/A * (the "License"). You may not use this file except in compliance 152N/A * See the License for the specific language governing permissions 152N/A * and limitations under the License. 152N/A * When distributing Covered Code, include this CDDL HEADER in each 152N/A * If applicable, add the following below this CDDL HEADER, with the 152N/A * fields enclosed by brackets "[]" replaced with your own identifying 152N/A * information: Portions Copyright [yyyy] [name of copyright owner] 152N/A * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 152N/A * Use is subject to license terms. 152N/A#
pragma ident "%Z%%M% %I% %E% SMI" 152N/A * XXX needs to be set by some algorithm that derives this 152N/A * from the partition description 152N/A * Once the partition description if finallized 152N/A * cpu_q_entries and dev_q_entries will be set 152N/A * and be garaunteed to be two's power multiples. 152N/A * XXX - This needs to be rewritten with prom calls to 1795N/A * let OBP know the queues are allocated 152N/A * Allocate mondo data for xcalls. 152N/A * Allocate a percpu list of NCPU for xcalls 152N/A * va_to_pa() is too expensive to call for every crosscall 152N/A * so we do it here at init time and save it in machcpu. 152N/A * Allocate sun4v interrupt and error queues. 152N/A /* Allocate resumable queue and its kernel buffer */ 152N/A /* zero out the memory */ 152N/A /* Allocate nonresumable queue here */ 152N/A /* zero out the memory */