summaryrefslogtreecommitdiff
path: root/usr/src/cmd/perl
diff options
context:
space:
mode:
authorJimmy Vetayases <Jimmy.Vetayases@oracle.com>2010-06-24 09:34:22 -0700
committerJimmy Vetayases <Jimmy.Vetayases@oracle.com>2010-06-24 09:34:22 -0700
commit7ff178cd8db129d385d3177eb20744d3b6efc59b (patch)
tree2104196adc12fdbdd7a78a325176de2cfad29a0c /usr/src/cmd/perl
parent4b31676f89e318c11400fc0c4defc802da29222f (diff)
downloadillumos-joyent-7ff178cd8db129d385d3177eb20744d3b6efc59b.tar.gz
PSARC/2009/505 IRM Framework Extension(s)
PSARC/2009/665 Pcitool Extensions 6669984 Solaris x86 need to provide large number of interrupt vectors for MSI/MSI-x 6866130 Interrupt Resource Management (IRM) support on x86 platforms 6876744 Need a new mdb debugger module for the new apix PSM 6881939 decouple current i86xpv interrupt implementation from i86pc 6916041 Pcitool Enhancement(1M) for the new apix PSM on X86 6957091 update pcitool(1m) manpage for 6916041 --HG-- rename : usr/src/cmd/mdb/i86pc/modules/pcplusmp/apic.c => usr/src/cmd/mdb/i86pc/modules/pcplusmp/pcplusmp.c
Diffstat (limited to 'usr/src/cmd/perl')
-rw-r--r--usr/src/cmd/perl/contrib/Sun/Solaris/Intrs/Intrs.pm7
-rw-r--r--usr/src/cmd/perl/contrib/Sun/Solaris/Intrs/Intrs.xs9
2 files changed, 8 insertions, 8 deletions
diff --git a/usr/src/cmd/perl/contrib/Sun/Solaris/Intrs/Intrs.pm b/usr/src/cmd/perl/contrib/Sun/Solaris/Intrs/Intrs.pm
index 98cd3353b1..b406bd386a 100644
--- a/usr/src/cmd/perl/contrib/Sun/Solaris/Intrs/Intrs.pm
+++ b/usr/src/cmd/perl/contrib/Sun/Solaris/Intrs/Intrs.pm
@@ -18,10 +18,7 @@
# CDDL HEADER END
#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
+# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
#
# Intrs.pm provides the bootstrap for the private Sun::Solaris::Intrs module.
#
@@ -35,7 +32,7 @@ use DynaLoader;
use vars qw($VERSION @ISA @EXPORT_OK);
our @ISA = qw(Exporter DynaLoader);
-our @EXPORT_OK = qw(intrmove is_pcplusmp);
+our @EXPORT_OK = qw(intrmove is_apic);
our $VERSION = '0.02';
bootstrap Sun::Solaris::Intrs $VERSION;
diff --git a/usr/src/cmd/perl/contrib/Sun/Solaris/Intrs/Intrs.xs b/usr/src/cmd/perl/contrib/Sun/Solaris/Intrs/Intrs.xs
index d532daf734..2ba0217f42 100644
--- a/usr/src/cmd/perl/contrib/Sun/Solaris/Intrs/Intrs.xs
+++ b/usr/src/cmd/perl/contrib/Sun/Solaris/Intrs/Intrs.xs
@@ -54,8 +54,9 @@ MODULE = Sun::Solaris::Intrs PACKAGE = Sun::Solaris::Intrs
PROTOTYPES: ENABLE
int
-intrmove(path, ino, cpu, num_ino)
+intrmove(path, oldcpu, ino, cpu, num_ino)
char *path
+ int oldcpu
int ino
int cpu
int num_ino
@@ -67,6 +68,7 @@ intrmove(path, ino, cpu, num_ino)
if ((fd = open_dev(path)) == -1) {
XSRETURN_UNDEF;
}
+ iset.old_cpu = oldcpu;
iset.ino = ino;
iset.cpu_id = cpu;
iset.flags = (num_ino > 1) ? PCITOOL_INTR_FLAG_SET_GROUP : 0;
@@ -81,7 +83,7 @@ intrmove(path, ino, cpu, num_ino)
XSRETURN_YES;
int
-is_pcplusmp(path)
+is_apic(path)
char *path
INIT:
@@ -101,7 +103,8 @@ is_pcplusmp(path)
XSRETURN_UNDEF;
}
- if (iinfo.ctlr_type == PCITOOL_CTLR_TYPE_PCPLUSMP) {
+ if (iinfo.ctlr_type == PCITOOL_CTLR_TYPE_PCPLUSMP ||
+ iinfo.ctlr_type == PCITOOL_CTLR_TYPE_APIX) {
XSRETURN_YES;
}