Lines Matching refs:lc
416 struct lowcore *abs_lc, *lc; in setup_lowcore_dat_off() local
427 lc = memblock_alloc_low(sizeof(*lc), sizeof(*lc)); in setup_lowcore_dat_off()
428 if (!lc) in setup_lowcore_dat_off()
430 __func__, sizeof(*lc), sizeof(*lc)); in setup_lowcore_dat_off()
432 lc->restart_psw.mask = PSW_KERNEL_BITS; in setup_lowcore_dat_off()
433 lc->restart_psw.addr = (unsigned long) restart_int_handler; in setup_lowcore_dat_off()
434 lc->external_new_psw.mask = int_psw_mask | PSW_MASK_MCHECK; in setup_lowcore_dat_off()
435 lc->external_new_psw.addr = (unsigned long) ext_int_handler; in setup_lowcore_dat_off()
436 lc->svc_new_psw.mask = int_psw_mask | PSW_MASK_MCHECK; in setup_lowcore_dat_off()
437 lc->svc_new_psw.addr = (unsigned long) system_call; in setup_lowcore_dat_off()
438 lc->program_new_psw.mask = int_psw_mask | PSW_MASK_MCHECK; in setup_lowcore_dat_off()
439 lc->program_new_psw.addr = (unsigned long) pgm_check_handler; in setup_lowcore_dat_off()
440 lc->mcck_new_psw.mask = PSW_KERNEL_BITS; in setup_lowcore_dat_off()
441 lc->mcck_new_psw.addr = (unsigned long) mcck_int_handler; in setup_lowcore_dat_off()
442 lc->io_new_psw.mask = int_psw_mask | PSW_MASK_MCHECK; in setup_lowcore_dat_off()
443 lc->io_new_psw.addr = (unsigned long) io_int_handler; in setup_lowcore_dat_off()
444 lc->clock_comparator = clock_comparator_max; in setup_lowcore_dat_off()
445 lc->nodat_stack = ((unsigned long) &init_thread_union) in setup_lowcore_dat_off()
447 lc->current_task = (unsigned long)&init_task; in setup_lowcore_dat_off()
448 lc->lpp = LPP_MAGIC; in setup_lowcore_dat_off()
449 lc->machine_flags = S390_lowcore.machine_flags; in setup_lowcore_dat_off()
450 lc->preempt_count = S390_lowcore.preempt_count; in setup_lowcore_dat_off()
451 nmi_alloc_mcesa_early(&lc->mcesad); in setup_lowcore_dat_off()
452 lc->sys_enter_timer = S390_lowcore.sys_enter_timer; in setup_lowcore_dat_off()
453 lc->exit_timer = S390_lowcore.exit_timer; in setup_lowcore_dat_off()
454 lc->user_timer = S390_lowcore.user_timer; in setup_lowcore_dat_off()
455 lc->system_timer = S390_lowcore.system_timer; in setup_lowcore_dat_off()
456 lc->steal_timer = S390_lowcore.steal_timer; in setup_lowcore_dat_off()
457 lc->last_update_timer = S390_lowcore.last_update_timer; in setup_lowcore_dat_off()
458 lc->last_update_clock = S390_lowcore.last_update_clock; in setup_lowcore_dat_off()
475 lc->restart_stack = (unsigned long) restart_stack; in setup_lowcore_dat_off()
476 lc->restart_fn = (unsigned long) do_restart; in setup_lowcore_dat_off()
477 lc->restart_data = 0; in setup_lowcore_dat_off()
478 lc->restart_source = -1U; in setup_lowcore_dat_off()
481 abs_lc->restart_stack = lc->restart_stack; in setup_lowcore_dat_off()
482 abs_lc->restart_fn = lc->restart_fn; in setup_lowcore_dat_off()
483 abs_lc->restart_data = lc->restart_data; in setup_lowcore_dat_off()
484 abs_lc->restart_source = lc->restart_source; in setup_lowcore_dat_off()
485 abs_lc->restart_psw = lc->restart_psw; in setup_lowcore_dat_off()
486 abs_lc->mcesad = lc->mcesad; in setup_lowcore_dat_off()
493 lc->mcck_stack = mcck_stack + STACK_INIT_OFFSET; in setup_lowcore_dat_off()
495 lc->spinlock_lockval = arch_spin_lockval(0); in setup_lowcore_dat_off()
496 lc->spinlock_index = 0; in setup_lowcore_dat_off()
498 lc->return_lpswe = gen_lpswe(__LC_RETURN_PSW); in setup_lowcore_dat_off()
499 lc->return_mcck_lpswe = gen_lpswe(__LC_RETURN_MCCK_PSW); in setup_lowcore_dat_off()
500 lc->preempt_count = PREEMPT_DISABLED; in setup_lowcore_dat_off()
502 set_prefix(__pa(lc)); in setup_lowcore_dat_off()
503 lowcore_ptr[0] = lc; in setup_lowcore_dat_off()