Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Oct 2016 07:29:28 +0000
From:      Dexuan Cui <decui@microsoft.com>
To:        kumara rathnavel <kumara.bsd@gmail.com>, "freebsd-drivers@freebsd.org" <freebsd-drivers@freebsd.org>
Subject:   RE: Interrupt a Core
Message-ID:  <MWHPR03MB2669ECD5954B1594189CF129BFD90@MWHPR03MB2669.namprd03.prod.outlook.com>
In-Reply-To: <CA%2BNzLaMFbAvBCLPU7nWDVuQf6HeF983gqZQdc4fWsXeay_BbVA@mail.gmail.com>
References:  <CA%2BNzLaMFbAvBCLPU7nWDVuQf6HeF983gqZQdc4fWsXeay_BbVA@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

I guess you may need to have a look at 
kern/subr_smp.c: smp_rendezvous_cpus() -> ipi_selected().

On X86, a processor core can use Inter Processor Interrupts (IPI) to ask
another core to run some function related to a pre-defined  vector.

-- Dexuan

> -----Original Message-----
> From: owner-freebsd-drivers@freebsd.org [mailto:owner-freebsd-
> drivers@freebsd.org] On Behalf Of kumara rathnavel
> Sent: Friday, October 7, 2016 3:23
> To: freebsd-drivers@freebsd.org
> Subject: Interrupt a Core
> 
> Hi Guys,
> 
> I have a question. I am in need to implement a core to core implementation
> protocol. So I am planning to use shared memory. To generate a interrupt
> from one core to another core in x86 how do we do it.
> 
> Thanking you,


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MWHPR03MB2669ECD5954B1594189CF129BFD90>