Lines Matching refs:lc
294 struct _lowcore *lc; in setup_lowcore() local
300 lc = __alloc_bootmem_low(LC_PAGES * PAGE_SIZE, LC_PAGES * PAGE_SIZE, 0); in setup_lowcore()
301 lc->restart_psw.mask = PSW_KERNEL_BITS; in setup_lowcore()
302 lc->restart_psw.addr = in setup_lowcore()
304 lc->external_new_psw.mask = PSW_KERNEL_BITS | in setup_lowcore()
306 lc->external_new_psw.addr = in setup_lowcore()
308 lc->svc_new_psw.mask = PSW_KERNEL_BITS | in setup_lowcore()
310 lc->svc_new_psw.addr = PSW_ADDR_AMODE | (unsigned long) system_call; in setup_lowcore()
311 lc->program_new_psw.mask = PSW_KERNEL_BITS | in setup_lowcore()
313 lc->program_new_psw.addr = in setup_lowcore()
315 lc->mcck_new_psw.mask = PSW_KERNEL_BITS; in setup_lowcore()
316 lc->mcck_new_psw.addr = in setup_lowcore()
318 lc->io_new_psw.mask = PSW_KERNEL_BITS | in setup_lowcore()
320 lc->io_new_psw.addr = PSW_ADDR_AMODE | (unsigned long) io_int_handler; in setup_lowcore()
321 lc->clock_comparator = -1ULL; in setup_lowcore()
322 lc->kernel_stack = ((unsigned long) &init_thread_union) in setup_lowcore()
324 lc->async_stack = (unsigned long) in setup_lowcore()
327 lc->panic_stack = (unsigned long) in setup_lowcore()
330 lc->current_task = (unsigned long) init_thread_union.thread_info.task; in setup_lowcore()
331 lc->thread_info = (unsigned long) &init_thread_union; in setup_lowcore()
332 lc->lpp = LPP_MAGIC; in setup_lowcore()
333 lc->machine_flags = S390_lowcore.machine_flags; in setup_lowcore()
334 lc->stfl_fac_list = S390_lowcore.stfl_fac_list; in setup_lowcore()
335 memcpy(lc->stfle_fac_list, S390_lowcore.stfle_fac_list, in setup_lowcore()
338 lc->vector_save_area_addr = in setup_lowcore()
339 (unsigned long) &lc->vector_save_area; in setup_lowcore()
340 lc->vdso_per_cpu_data = (unsigned long) &lc->paste[0]; in setup_lowcore()
341 lc->sync_enter_timer = S390_lowcore.sync_enter_timer; in setup_lowcore()
342 lc->async_enter_timer = S390_lowcore.async_enter_timer; in setup_lowcore()
343 lc->exit_timer = S390_lowcore.exit_timer; in setup_lowcore()
344 lc->user_timer = S390_lowcore.user_timer; in setup_lowcore()
345 lc->system_timer = S390_lowcore.system_timer; in setup_lowcore()
346 lc->steal_timer = S390_lowcore.steal_timer; in setup_lowcore()
347 lc->last_update_timer = S390_lowcore.last_update_timer; in setup_lowcore()
348 lc->last_update_clock = S390_lowcore.last_update_clock; in setup_lowcore()
358 lc->restart_stack = (unsigned long) restart_stack; in setup_lowcore()
359 lc->restart_fn = (unsigned long) do_restart; in setup_lowcore()
360 lc->restart_data = 0; in setup_lowcore()
361 lc->restart_source = -1UL; in setup_lowcore()
364 mem_assign_absolute(S390_lowcore.restart_stack, lc->restart_stack); in setup_lowcore()
365 mem_assign_absolute(S390_lowcore.restart_fn, lc->restart_fn); in setup_lowcore()
366 mem_assign_absolute(S390_lowcore.restart_data, lc->restart_data); in setup_lowcore()
367 mem_assign_absolute(S390_lowcore.restart_source, lc->restart_source); in setup_lowcore()
368 mem_assign_absolute(S390_lowcore.restart_psw, lc->restart_psw); in setup_lowcore()
371 lc->spinlock_lockval = arch_spin_lockval(0); in setup_lowcore()
374 set_prefix((u32)(unsigned long) lc); in setup_lowcore()
375 lowcore_ptr[0] = lc; in setup_lowcore()