Re: I wonder what “apc” stands for?

Jan Kiszka jan.kiszka at siemens.com
Mon Apr 20 07:56:50 CEST 2020


On 20.04.20 06:49, 孙世龙 via Xenomai wrote:
> Hi,
>         I wonder what “apc” stands for?
>         There are some fileds  named start with "apc"  in struct
> cobalt_pipeline.
>         For instance, "apc_virq"、" apc_map"、" apc_table".
> 
>         For your convenience, I listed the struct mentioned in this email.
> 
>        struct cobalt_pipeline {
> 
>     struct ipipe_domain domain;
>     unsigned long timer_freq;
>     unsigned long clock_freq;
>     unsigned int apc_virq;
>     unsigned long apc_map;
>     unsigned int escalate_virq;
>     struct {
>        void (*handler)(void *cookie);
>        void *cookie;
>        const char *name;
>     } apc_table[BITS_PER_LONG];
> #ifdef CONFIG_SMP
>     cpumask_t supported_cpus;
> #endif
> };
> 

"Asynchronous Procedure Call" - This is to invoke a function 
(accompanied by some data pointer) in Linux context, asynchronously to 
the triggering real-time context.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux



More information about the Xenomai mailing list