···258# find out if the diag 0x9c is available259#260 mvc __LC_PGM_NEW_PSW(8),.Lpcdiag9c-.LPG1(%r13)261- stap __LC_CPUID+4 # store cpu address262- lh %r1,__LC_CPUID+4263- diag %r1,0,0x9c # test diag 0x9c264- oi 2(%r12),1 # set diag9c flag265.Lchkdiag9c:266267 lpsw .Lentry-.LPG1(13) # jump to _stext in primary-space,
···258# find out if the diag 0x9c is available259#260 mvc __LC_PGM_NEW_PSW(8),.Lpcdiag9c-.LPG1(%r13)261+ stap __LC_CPUID+4 # store cpu address262+ lh %r1,__LC_CPUID+4263+ diag %r1,0,0x9c # test diag 0x9c264+ oi 2(%r12),1 # set diag9c flag265.Lchkdiag9c:266267 lpsw .Lentry-.LPG1(13) # jump to _stext in primary-space,
+6-6
arch/s390/kernel/head64.S
···253#254# find out if the diag 0x9c is available255#256- la %r1,0f-.LPG1(%r13) # set program check address257- stg %r1,__LC_PGM_NEW_PSW+8258- stap __LC_CPUID+4 # store cpu address259- lh %r1,__LC_CPUID+4260- diag %r1,0,0x9c # test diag 0x9c261- oi 6(%r12),1 # set diag9c flag2620:263264#
···253#254# find out if the diag 0x9c is available255#256+ la %r1,0f-.LPG1(%r13) # set program check address257+ stg %r1,__LC_PGM_NEW_PSW+8258+ stap __LC_CPUID+4 # store cpu address259+ lh %r1,__LC_CPUID+4260+ diag %r1,0,0x9c # test diag 0x9c261+ oi 6(%r12),1 # set diag9c flag2620:263264#