Lines Matching defs:lc

398 	struct lowcore *lc, *abs_lc;
404 lc = memblock_alloc_low(sizeof(*lc), sizeof(*lc));
405 if (!lc)
407 __func__, sizeof(*lc), sizeof(*lc));
409 lc->restart_psw.mask = PSW_KERNEL_BITS & ~PSW_MASK_DAT;
410 lc->restart_psw.addr = __pa(restart_int_handler);
411 lc->external_new_psw.mask = PSW_KERNEL_BITS;
412 lc->external_new_psw.addr = (unsigned long) ext_int_handler;
413 lc->svc_new_psw.mask = PSW_KERNEL_BITS;
414 lc->svc_new_psw.addr = (unsigned long) system_call;
415 lc->program_new_psw.mask = PSW_KERNEL_BITS;
416 lc->program_new_psw.addr = (unsigned long) pgm_check_handler;
417 lc->mcck_new_psw.mask = PSW_KERNEL_BITS;
418 lc->mcck_new_psw.addr = (unsigned long) mcck_int_handler;
419 lc->io_new_psw.mask = PSW_KERNEL_BITS;
420 lc->io_new_psw.addr = (unsigned long) io_int_handler;
421 lc->clock_comparator = clock_comparator_max;
422 lc->current_task = (unsigned long)&init_task;
423 lc->lpp = LPP_MAGIC;
424 lc->machine_flags = S390_lowcore.machine_flags;
425 lc->preempt_count = S390_lowcore.preempt_count;
426 nmi_alloc_mcesa_early(&lc->mcesad);
427 lc->sys_enter_timer = S390_lowcore.sys_enter_timer;
428 lc->exit_timer = S390_lowcore.exit_timer;
429 lc->user_timer = S390_lowcore.user_timer;
430 lc->system_timer = S390_lowcore.system_timer;
431 lc->steal_timer = S390_lowcore.steal_timer;
432 lc->last_update_timer = S390_lowcore.last_update_timer;
433 lc->last_update_clock = S390_lowcore.last_update_clock;
439 lc->mcck_stack = stack_alloc_early() + STACK_INIT_OFFSET;
440 lc->async_stack = stack_alloc_early() + STACK_INIT_OFFSET;
441 lc->nodat_stack = stack_alloc_early() + STACK_INIT_OFFSET;
442 lc->kernel_stack = S390_lowcore.kernel_stack;
448 lc->restart_stack = (unsigned long) restart_stack;
449 lc->restart_fn = (unsigned long) do_restart;
450 lc->restart_data = 0;
451 lc->restart_source = -1U;
452 lc->spinlock_lockval = arch_spin_lockval(0);
453 lc->spinlock_index = 0;
455 lc->return_lpswe = gen_lpswe(__LC_RETURN_PSW);
456 lc->return_mcck_lpswe = gen_lpswe(__LC_RETURN_MCCK_PSW);
457 lc->preempt_count = PREEMPT_DISABLED;
458 lc->kernel_asce = S390_lowcore.kernel_asce;
459 lc->user_asce = S390_lowcore.user_asce;
461 system_ctlreg_init_save_area(lc);
463 abs_lc->restart_stack = lc->restart_stack;
464 abs_lc->restart_fn = lc->restart_fn;
465 abs_lc->restart_data = lc->restart_data;
466 abs_lc->restart_source = lc->restart_source;
467 abs_lc->restart_psw = lc->restart_psw;
469 abs_lc->program_new_psw = lc->program_new_psw;
470 abs_lc->mcesad = lc->mcesad;
473 set_prefix(__pa(lc));
474 lowcore_ptr[0] = lc;