xref: /kernel/linux/linux-6.6/arch/s390/kernel/earlypgm.S
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/arch/s390/kernel/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci *    Copyright IBM Corp. 2006, 2007
462306a36Sopenharmony_ci *    Author(s): Michael Holzheu <holzheu@de.ibm.com>
562306a36Sopenharmony_ci */
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#include <linux/linkage.h>
862306a36Sopenharmony_ci#include <asm/asm-offsets.h>
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciSYM_CODE_START(early_pgm_check_handler)
1162306a36Sopenharmony_ci	stmg	%r8,%r15,__LC_SAVE_AREA_SYNC
1262306a36Sopenharmony_ci	aghi	%r15,-(STACK_FRAME_OVERHEAD+__PT_SIZE)
1362306a36Sopenharmony_ci	la	%r11,STACK_FRAME_OVERHEAD(%r15)
1462306a36Sopenharmony_ci	xc	__SF_BACKCHAIN(8,%r15),__SF_BACKCHAIN(%r15)
1562306a36Sopenharmony_ci	stmg	%r0,%r7,__PT_R0(%r11)
1662306a36Sopenharmony_ci	mvc	__PT_PSW(16,%r11),__LC_PGM_OLD_PSW
1762306a36Sopenharmony_ci	mvc	__PT_R8(64,%r11),__LC_SAVE_AREA_SYNC
1862306a36Sopenharmony_ci	lgr	%r2,%r11
1962306a36Sopenharmony_ci	brasl	%r14,__do_early_pgm_check
2062306a36Sopenharmony_ci	mvc	__LC_RETURN_PSW(16),STACK_FRAME_OVERHEAD+__PT_PSW(%r15)
2162306a36Sopenharmony_ci	lmg	%r0,%r15,STACK_FRAME_OVERHEAD+__PT_R0(%r15)
2262306a36Sopenharmony_ci	lpswe	__LC_RETURN_PSW
2362306a36Sopenharmony_ciSYM_CODE_END(early_pgm_check_handler)
24

Indexes created Thu Nov 07 10:32:03 CST 2024