您当前的位置:首页 > IT编程 > C++
| C语言 | Java | VB | VC | python | Android | TensorFlow | C++ | oracle | 学术与代码 | cnn卷积神经网络 | gnn | 图像修复 | Keras | 数据集 | Neo4j | 自然语言处理 | 深度学习 | 医学CAD | 医学影像 | 超参数 | pointnet | pytorch | 异常检测 | Transformers | 情感分类 | 知识图谱 |

自学教程:C++ write_pen_release函数代码示例

51自学网 2021-06-03 10:06:30
  C++
这篇教程C++ write_pen_release函数代码示例写得很实用,希望能帮到您。

本文整理汇总了C++中write_pen_release函数的典型用法代码示例。如果您正苦于以下问题:C++ write_pen_release函数的具体用法?C++ write_pen_release怎么用?C++ write_pen_release使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。

在下文中一共展示了write_pen_release函数的29个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: platform_secondary_init

void __cpuinit platform_secondary_init(unsigned int cpu){	/* Enable the full line of zero */	if (soc_is_exynos4210() || soc_is_exynos4212() ||	    soc_is_exynos4412() || soc_is_exynos4415())		enable_cache_foz();	/*	 * if any interrupts are already enabled for the primary	 * core (e.g. timer irq), then they will not have been enabled	 * for us: do so	 */	gic_secondary_init(0);	/*	 * let the primary processor know we're out of the	 * pen, then head off into the C entry point	 */	write_pen_release(-1);#ifdef CONFIG_ARM_TRUSTZONE	clear_boot_flag(cpu, HOTPLUG);#endif	/*	 * Synchronise with the boot thread.	 */	spin_lock(&boot_lock);	spin_unlock(&boot_lock);}
开发者ID:YaDev,项目名称:kernel_samsung_gardaltetmo,代码行数:30,


示例2: mt_smp_secondary_init

void __cpuinit mt_smp_secondary_init(unsigned int cpu){#if 0    struct wd_api *wd_api = NULL;    //fix build error    get_wd_api(&wd_api);    if (wd_api)        wd_api->wd_cpu_hot_plug_on_notify(cpu);#endif    pr_debug("Slave cpu init/n");    HOTPLUG_INFO("platform_secondary_init, cpu: %d/n", cpu);    mt_gic_secondary_init();    /*     * let the primary processor know we're out of the     * pen, then head off into the C entry point     */    write_pen_release(-1);#if !defined (CONFIG_ARM_PSCI)    //cannot enable in secure world    fiq_glue_resume();#endif //#if !defined (CONFIG_ARM_PSCI)    /*     * Synchronise with the boot thread.     */    spin_lock(&boot_lock);    spin_unlock(&boot_lock);}
开发者ID:ramgar,项目名称:mt6577-kernel-3.10.65,代码行数:33,


示例3: secondary_pen_release

static int secondary_pen_release(unsigned int cpu){	unsigned long timeout;	/*	 * Set synchronisation state between this boot processor	 * and the secondary one	 */	raw_spin_lock(&boot_lock);	write_pen_release(cpu_logical_map(cpu));	/*	 * Wake-up cpu with am IPI	 */	arch_send_wakeup_ipi_mask(cpumask_of(cpu));	timeout = jiffies + (1 * HZ);	while (time_before(jiffies, timeout)) {		if (secondary_holding_pen_release == INVALID_HWID)			break;		udelay(10);	}	raw_spin_unlock(&boot_lock);	return secondary_holding_pen_release != INVALID_HWID ? -ENOSYS : 0;}
开发者ID:AudioGod,项目名称:Gods_kernel_yu_msm8916,代码行数:26,


示例4: boot_secondary

int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle){	unsigned long timeout;	/*	 * Set synchronisation state between this boot processor	 * and the secondary one	 */	spin_lock(&boot_lock);	/*	 * Don't know why we need this when realview and omap2 appear not to, but	 * the secondary CPU doesn't start without it.	 */	write_pen_release(cpu);	gic_raise_softirq(cpumask_of(cpu), 1);    /* Wake the CPU from WFI */	/* Give the secondary CPU time to get going */	timeout = jiffies + (1 * HZ);	while (time_before(jiffies, timeout)) {		smp_rmb();		if (pen_release == -1)			break;	}	spin_unlock(&boot_lock);	return pen_release != -1 ? -ENOSYS : 0;}
开发者ID:BillTheBest,项目名称:pandorabox,代码行数:30,


示例5: release_from_pen

static int __cpuinit release_from_pen(unsigned int cpu){	unsigned long timeout;		preset_lpj = loops_per_jiffy;	spin_lock(&boot_lock);	write_pen_release(cpu_logical_map(cpu));	arch_send_wakeup_ipi_mask(cpumask_of(cpu));	timeout = jiffies + (1 * HZ);	while (time_before(jiffies, timeout)) {		smp_rmb();		if (pen_release == -1)			break;		udelay(10);	}	spin_unlock(&boot_lock);	return pen_release != -1 ? -ENOSYS : 0;}
开发者ID:Wittekawa,项目名称:HTC_Desire_510_64bit,代码行数:26,


示例6: meson_secondary_init

void __cpuinit meson_secondary_init(unsigned int cpu){	/*	 * if any interrupts are already enabled for the primary	 * core (e.g. timer irq), then they will not have been enabled	 * for us: do so	 *///	gic_secondary_init(0);#ifdef CONFIG_MESON_ARM_GIC_FIQ	extern void  init_fiq(void);		init_fiq();#endif	 	/*	 * let the primary processor know we're out of the	 * pen, then head off into the C entry point	 */	write_pen_release(-1);	smp_wmb();	/*	 * Synchronise with the boot thread.	 */	spin_lock(&boot_lock);	spin_unlock(&boot_lock);}
开发者ID:MindShow,项目名称:odroid-c1-kernel-3.19,代码行数:27,


示例7: boot_secondary

/* * Boot a secondary CPU, and assign it the specified idle task. * This also gives us the initial stack to use for this CPU. */static int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle){	unsigned long timeout;	/*	 * Set synchronisation state between this boot processor	 * and the secondary one	 */	raw_spin_lock(&boot_lock);	/*	 * Update the pen release flag.	 */	write_pen_release(cpu_logical_map(cpu));	/*	 * Send an event, causing the secondaries to read pen_release.	 */	sev();	timeout = jiffies + (1 * HZ);	while (time_before(jiffies, timeout)) {		if (secondary_holding_pen_release == INVALID_HWID)			break;		udelay(10);	}	/*	 * Now the secondary core is starting up let it run its	 * calibrations, then wait for it to finish	 */	raw_spin_unlock(&boot_lock);	return secondary_holding_pen_release != INVALID_HWID ? -ENOSYS : 0;}
开发者ID:cake654326,项目名称:xpenology,代码行数:39,


示例8: platform_secondary_init

void platform_secondary_init(unsigned int cpu){	pr_debug("CPU%u: Booted secondary processor/n", cpu);	WARN_ON(msm_platform_secondary_init(cpu));	/*	 * if any interrupts are already enabled for the primary	 * core (e.g. timer irq), then they will not have been enabled	 * for us: do so	 */	gic_secondary_init(0);	/*	 * let the primary processor know we're out of the	 * pen, then head off into the C entry point	 */	write_pen_release(-1);	/* clear the IPC1(SPI-8) pending SPI */	if (power_collapsed) {		raise_clear_spi(1, false);		clear_pending_spi(MSM8625_INT_ACSR_MP_CORE_IPC1);		power_collapsed = 0;	}	/*	 * Synchronise with the boot thread.	 */	spin_lock(&boot_lock);	spin_unlock(&boot_lock);}
开发者ID:Trinityhaxxor,项目名称:fuji-msm8660-JB-3.4.0,代码行数:32,


示例9: ux500_boot_secondary

static int __cpuinit ux500_boot_secondary(unsigned int cpu, struct task_struct *idle){	unsigned long timeout;	/*	 * set synchronisation state between this boot processor	 * and the secondary one	 */	spin_lock(&boot_lock);	/*	 * The secondary processor is waiting to be released from	 * the holding pen - release it, then wait for it to flag	 * that it has been released by resetting pen_release.	 */	write_pen_release(cpu_logical_map(cpu));	smp_send_reschedule(cpu);	timeout = jiffies + (1 * HZ);	while (time_before(jiffies, timeout)) {		if (pen_release == -1)			break;	}	/*	 * now the secondary core is starting up let it run its	 * calibrations, then wait for it to finish	 */	spin_unlock(&boot_lock);	return pen_release != -1 ? -ENOSYS : 0;}
开发者ID:4atty,项目名称:linux,代码行数:33,


示例10: secondary_start_kernel

/* * This is the secondary CPU boot entry.  We're using this CPUs * idle thread stack, but a set of temporary page tables. */asmlinkage void __cpuinit secondary_start_kernel(void){	struct mm_struct *mm = &init_mm;	unsigned int cpu = smp_processor_id();	printk("CPU%u: Booted secondary processor/n", cpu);	/*	 * All kernel threads share the same mm context; grab a	 * reference and switch to it.	 */	atomic_inc(&mm->mm_count);	current->active_mm = mm;	cpumask_set_cpu(cpu, mm_cpumask(mm));	/*	 * TTBR0 is only used for the identity mapping at this stage. Make it	 * point to zero page to avoid speculatively fetching new entries.	 */	cpu_set_reserved_ttbr0();	flush_tlb_all();	preempt_disable();	trace_hardirqs_off();	/*	 * Let the primary processor know we're out of the	 * pen, then head off into the C entry point	 */	write_pen_release(INVALID_HWID);	/*	 * Synchronise with the boot thread.	 */	raw_spin_lock(&boot_lock);	raw_spin_unlock(&boot_lock);	/*	 * OK, now it's safe to let the boot CPU continue.  Wait for	 * the CPU migration code to notice that the CPU is online	 * before we continue.	 */	set_cpu_online(cpu, true);	complete(&cpu_running);	/*	 * Enable GIC and timers.	 */	notify_cpu_starting(cpu);	local_irq_enable();	local_fiq_enable();	/*	 * OK, it's off to the idle thread for us	 */	cpu_startup_entry(CPUHP_ONLINE);}
开发者ID:cake654326,项目名称:xpenology,代码行数:62,


示例11: msm_secondary_init

void __cpuinit msm_secondary_init(unsigned int cpu){	WARN_ON(msm_platform_secondary_init(cpu));	write_pen_release(-1);	spin_lock(&boot_lock);	spin_unlock(&boot_lock);}
开发者ID:Wittekawa,项目名称:HTC_Desire_510_64bit,代码行数:9,


示例12: boot_secondary

int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle){	int ret;	int flag = 0;	unsigned long timeout;	pr_debug("Starting secondary CPU %d/n", cpu);		preset_lpj = loops_per_jiffy;	if (cpu > 0 && cpu < ARRAY_SIZE(cold_boot_flags))		flag = cold_boot_flags[cpu];	else		__WARN();	if (per_cpu(cold_boot_done, cpu) == false) {		init_cpu_debug_counter_for_cold_boot();		ret = scm_set_boot_addr((void *)					virt_to_phys(msm_secondary_startup),					flag);		if (ret == 0)			release_secondary(cpu);		else			printk(KERN_DEBUG "Failed to set secondary core boot "					  "address/n");		per_cpu(cold_boot_done, cpu) = true;	}	spin_lock(&boot_lock);	/*	 * The secondary processor is waiting to be released from	 * the holding pen - release it, then wait for it to flag	 * that it has been released by resetting pen_release.	 *	 * Note that "pen_release" is the hardware CPU ID, whereas	 * "cpu" is Linux's internal ID.	 */	write_pen_release(cpu_logical_map(cpu));	gic_raise_softirq(cpumask_of(cpu), 1);	timeout = jiffies + (1 * HZ);	while (time_before(jiffies, timeout)) {		smp_rmb();		if (pen_release == -1)			break;		udelay(10);	}	spin_unlock(&boot_lock);	return pen_release != -1 ? -ENOSYS : 0;}
开发者ID:jthatch12,项目名称:STi2_M7,代码行数:56,


示例13: brcm_boot_secondary

static int __cpuinit brcm_boot_secondary(unsigned int cpu, struct task_struct *idle){    	unsigned long timeout;	/*	 * set synchronisation state between this boot processor	 * and the secondary one	 */	spin_lock(&boot_lock);	/*	 * The secondary processor is waiting to be released from	 * the holding pen - release it, then wait for it to flag	 * that it has been released by resetting pen_release.	 *	 * Note that "pen_release" is the hardware CPU ID, whereas	 * "cpu" is Linux's internal ID.	 */	write_pen_release(cpu);	dsb_sev();	/*	 * Timeout set on purpose in jiffies so that on slow processors	 * that must also have low HZ it will wait longer.	 */	timeout = jiffies + (HZ * 10);	udelay(100);	/*	 * If the secondary CPU was waiting on WFE, it should	 * be already watching <pen_release>, or it could be	 * waiting in WFI, send it an IPI to be sure it wakes.	 */	if (pen_release != -1)		tick_broadcast(cpumask_of(cpu));	while (time_before(jiffies, timeout)) {		smp_rmb();		if (pen_release == -1)			break;		udelay(10);	}	/*	 * now the secondary core is starting up let it run its	 * calibrations, then wait for it to finish	 */	spin_unlock(&boot_lock);	return pen_release != -1 ? -ENOSYS : 0;}
开发者ID:janfj,项目名称:dd-wrt,代码行数:53,


示例14: smp_spin_table_cpu_postboot

void smp_spin_table_cpu_postboot(void){	/*	 * Let the primary processor know we're out of the pen.	 */	write_pen_release(INVALID_HWID);	/*	 * Synchronise with the boot thread.	 */	raw_spin_lock(&boot_lock);	raw_spin_unlock(&boot_lock);}
开发者ID:1n00bB,项目名称:android_kernel_lenovo_a6010,代码行数:13,


示例15: smp_spin_table_cpu_boot

static int smp_spin_table_cpu_boot(unsigned int cpu){	/*	 * Update the pen release flag.	 */	write_pen_release(cpu_logical_map(cpu));	/*	 * Send an event, causing the secondaries to read pen_release.	 */	sev();	return 0;}
开发者ID:01org,项目名称:thunderbolt-software-kernel-tree,代码行数:14,


示例16: meson_boot_secondary

int __cpuinit meson_boot_secondary(unsigned int cpu, struct task_struct *idle){	unsigned long timeout;	/*	* Set synchronisation state between this boot processor	* and the secondary one	*/	spin_lock(&boot_lock);	 	/*	 * The secondary processor is waiting to be released from	 * the holding pen - release it, then wait for it to flag	 * that it has been released by resetting pen_release.	 */	printk("write pen_release: %d/n",cpu_logical_map(cpu));	write_pen_release(cpu_logical_map(cpu));#ifndef CONFIG_MESON_TRUSTZONE//	check_and_rewrite_cpu_entry();	meson_set_cpu_ctrl_addr(cpu,			(const uint32_t)virt_to_phys(meson_secondary_startup));	meson_set_cpu_power_ctrl(cpu, 1);	timeout = jiffies + (10* HZ);	while(meson_get_cpu_ctrl_addr(cpu));	{		if(!time_before(jiffies, timeout))			return -EPERM;	}#endif	meson_secondary_set(cpu);	dsb_sev();//	smp_send_reschedule(cpu);	timeout = jiffies + (10* HZ);	while (time_before(jiffies, timeout)) {		smp_rmb();		if (pen_release == -1)			break;		udelay(10);	}	/*	 * now the secondary core is starting up let it run its	 * calibrations, then wait for it to finish	 */	spin_unlock(&boot_lock);	return pen_release != -1 ? -ENOSYS : 0;}
开发者ID:MindShow,项目名称:odroid-c1-kernel-3.19,代码行数:50,


示例17: exynos_secondary_init

static void exynos_secondary_init(unsigned int cpu){	/*	 * let the primary processor know we're out of the	 * pen, then head off into the C entry point	 */	write_pen_release(-1);	/*	 * Synchronise with the boot thread.	 */	spin_lock(&boot_lock);	spin_unlock(&boot_lock);}
开发者ID:060411121,项目名称:zcl_linux,代码行数:14,


示例18: boot_secondary

int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle){	unsigned long timeout;	/*	 * Set synchronisation state between this boot processor	 * and the secondary one	 */	spin_lock(&boot_lock);	/*	 * This is really belt and braces; we hold unintended secondary	 * CPUs in the holding pen until we're ready for them.  However,	 * since we haven't sent them a soft interrupt, they shouldn't	 * be there.	 */	write_pen_release(cpu);	#if 1  //debug{	volatile int *ptr = &pen_release;	printk("pen_release = 0x%08x, addr= 0x%08x, pen_release ptr = 0x%08x/n ",pen_release,(unsigned int)&pen_release,*ptr);}	#endif	/*	 * Send the secondary CPU a soft interrupt, thereby causing	 * the boot monitor to read the system wide flags register,	 * and branch to the address found there.	 */	gic_raise_softirq(cpumask_of(cpu), 1);	timeout = jiffies + (1 * HZ);	while (time_before(jiffies, timeout)) {		smp_rmb();		if (pen_release == -1)			break;		udelay(10);	}	/*	 * now the secondary core is starting up let it run its	 * calibrations, then wait for it to finish	 */	spin_unlock(&boot_lock);	return pen_release != -1 ? -ENOSYS : 0;}
开发者ID:Scorpio92,项目名称:mstar6a918,代码行数:49,


示例19: sti_secondary_init

void __cpuinit sti_secondary_init(unsigned int cpu){	trace_hardirqs_off();	/*	 * let the primary processor know we're out of the	 * pen, then head off into the C entry point	 */	write_pen_release(-1);	/*	 * Synchronise with the boot thread.	 */	spin_lock(&boot_lock);	spin_unlock(&boot_lock);}
开发者ID:CaptainWei,项目名称:linux,代码行数:16,


示例20: msm_secondary_init

void __cpuinit msm_secondary_init(unsigned int cpu){	WARN_ON(msm_platform_secondary_init(cpu));	/*	 * let the primary processor know we're out of the	 * pen, then head off into the C entry point	 */	write_pen_release(-1);	/*	 * Synchronise with the boot thread.	 */	spin_lock(&boot_lock);	spin_unlock(&boot_lock);}
开发者ID:robcore,项目名称:SGS4-3.13,代码行数:16,


示例21: msm_cpu_postboot

void msm_cpu_postboot(void){	msm_jtag_restore_state();	/*	 * Let the primary processor know we're out of the pen.	 */	write_pen_release(INVALID_HWID);	msm_spm_set_low_power_mode(MSM_SPM_MODE_CLOCK_GATING, false);	/*	 * Synchronise with the boot thread.	 */	raw_spin_lock(&boot_lock);	raw_spin_unlock(&boot_lock);}
开发者ID:AudioGod,项目名称:Gods_kernel_yu_msm8916,代码行数:16,


示例22: release_from_pen

static int __cpuinit release_from_pen(unsigned int cpu){	unsigned long timeout;	/* Set preset_lpj to avoid subsequent lpj recalculations */	preset_lpj = loops_per_jiffy;	/*	 * set synchronisation state between this boot processor	 * and the secondary one	 */	spin_lock(&boot_lock);	/*	 * The secondary processor is waiting to be released from	 * the holding pen - release it, then wait for it to flag	 * that it has been released by resetting pen_release.	 *	 * Note that "pen_release" is the hardware CPU ID, whereas	 * "cpu" is Linux's internal ID.	 */	write_pen_release(cpu_logical_map(cpu));	/*	 * Send the secondary CPU a soft interrupt, thereby causing	 * the boot monitor to read the system wide flags register,	 * and branch to the address found there.	 */	gic_raise_softirq(cpumask_of(cpu), 1);	timeout = jiffies + (1 * HZ);	while (time_before(jiffies, timeout)) {		smp_rmb();		if (pen_release == -1)			break;		udelay(10);	}	/*	 * now the secondary core is starting up let it run its	 * calibrations, then wait for it to finish	 */	spin_unlock(&boot_lock);	return pen_release != -1 ? -ENOSYS : 0;}
开发者ID:Android-L-Porting-Team,项目名称:android_kernel_oneplus_one,代码行数:47,


示例23: boot_secondary

int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle){	unsigned long timeout;	/*	 * Set synchronisation state between this boot processor	 * and the secondary one	 */	spin_lock(&boot_lock);	/*	 * This is really belt and braces; we hold unintended secondary	 * CPUs in the holding pen until we're ready for them.  However,	 * since we haven't sent them a soft interrupt, they shouldn't	 * be there.	 */	write_pen_release(cpu_logical_map(cpu));	/*	 * Send the secondary CPU a soft interrupt, thereby causing	 * the boot monitor to read the system wide flags register,	 * and branch to the address found there.	 */	timeout = jiffies + (1 * HZ);	while (time_before(jiffies, timeout)) {		smp_rmb();		__raw_writel(virt_to_phys(wmt_secondary_startup),			CPU1_BOOT_REG);		gic_raise_softirq(cpumask_of(cpu), 1);		if (pen_release == -1)			break;		udelay(10);	}	/*	 * now the secondary core is starting up let it run its	 * calibrations, then wait for it to finish	 */	spin_unlock(&boot_lock);	return pen_release != -1 ? -ENOSYS : 0;}
开发者ID:androportal,项目名称:apc-rock-II,代码行数:46,


示例24: platform_secondary_init

void __cpuinit platform_secondary_init(unsigned int cpu){	/*	 * If any interrupts are already enabled for the primary	 * core (e.g. timer irq), then they will not have been enabled	 * for us: do so	 */	gic_secondary_init(0);		write_pen_release(-1);	/*	 * Synchronise with the boot thread.	 */	spin_lock(&boot_lock);	spin_unlock(&boot_lock);}
开发者ID:BillTheBest,项目名称:pandorabox,代码行数:17,


示例25: smp_spin_table_cpu_boot

static int smp_spin_table_cpu_boot(unsigned int cpu){#ifdef CONFIG_HOTPLUG_CPU	if (soc_ops && soc_ops->cpu_on)		soc_ops->cpu_on(cpu);#endif	/*	 * Update the pen release flag.	 */	write_pen_release(cpu_logical_map(cpu));	/*	 * Send an event, causing the secondaries to read pen_release.	 */	sev();	return 0;}
开发者ID:T-Firefly,项目名称:firefly-3.14-kernel,代码行数:18,


示例26: sti_boot_secondary

int sti_boot_secondary(unsigned int cpu, struct task_struct *idle){	unsigned long timeout;	/*	 * set synchronisation state between this boot processor	 * and the secondary one	 */	spin_lock(&boot_lock);	/*	 * The secondary processor is waiting to be released from	 * the holding pen - release it, then wait for it to flag	 * that it has been released by resetting pen_release.	 *	 * Note that "pen_release" is the hardware CPU ID, whereas	 * "cpu" is Linux's internal ID.	 */	write_pen_release(cpu_logical_map(cpu));	/*	 * Send the secondary CPU a soft interrupt, thereby causing	 * it to jump to the secondary entrypoint.	 */	arch_send_wakeup_ipi_mask(cpumask_of(cpu));	timeout = jiffies + (1 * HZ);	while (time_before(jiffies, timeout)) {		smp_rmb();		if (pen_release == -1)			break;		udelay(10);	}	/*	 * now the secondary core is starting up let it run its	 * calibrations, then wait for it to finish	 */	spin_unlock(&boot_lock);	return pen_release != -1 ? -ENOSYS : 0;}
开发者ID:03199618,项目名称:linux,代码行数:43,


示例27: platform_secondary_init

void __cpuinit platform_secondary_init(unsigned int cpu){	pr_debug("CPU%u: Booted secondary processor/n", cpu);	WARN_ON(msm_platform_secondary_init(cpu));	gic_secondary_init(0);	write_pen_release(-1);		if (per_cpu(power_collapsed, cpu)) {		raise_clear_spi(cpu, false);		clear_pending_spi(cpu_data[cpu].ipc_irq);				per_cpu(power_collapsed, cpu) = 0;	}	spin_lock(&boot_lock);	spin_unlock(&boot_lock);}
开发者ID:MardonHH,项目名称:kernel_3.4_pico,代码行数:20,


示例28: platform_secondary_init

void __cpuinit platform_secondary_init(unsigned int cpu){	/*                                                                                                                                           */	gic_secondary_init(0);	/*                                                                                                  */	write_pen_release(-1);	/*                                       */	spin_lock(&boot_lock);	spin_unlock(&boot_lock);}
开发者ID:curbthepain,项目名称:android_kernel_us990_rev,代码行数:21,


示例29: ux500_secondary_init

static void __cpuinit ux500_secondary_init(unsigned int cpu){	/*	 * if any interrupts are already enabled for the primary	 * core (e.g. timer irq), then they will not have been enabled	 * for us: do so	 */	gic_secondary_init(0);	/*	 * let the primary processor know we're out of the	 * pen, then head off into the C entry point	 */	write_pen_release(-1);	/*	 * Synchronise with the boot thread.	 */	spin_lock(&boot_lock);	spin_unlock(&boot_lock);}
开发者ID:4atty,项目名称:linux,代码行数:21,



注:本文中的write_pen_release函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


C++ write_pidfile函数代码示例
C++ write_packet函数代码示例
万事OK自学网:51自学网_软件自学网_CAD自学网自学excel、自学PS、自学CAD、自学C语言、自学css3实例,是一个通过网络自主学习工作技能的自学平台,网友喜欢的软件自学网站。