__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
/* SPDX-License-Identifier: GPL-2.0 */

#ifndef _ASM_POWERPC_BOOK3S_64_KEXEC_H_
#define _ASM_POWERPC_BOOK3S_64_KEXEC_H_

#include <asm/plpar_wrappers.h>

#define reset_sprs reset_sprs
static inline void reset_sprs(void)
{
	if (cpu_has_feature(CPU_FTR_ARCH_206)) {
		mtspr(SPRN_AMR, 0);
		mtspr(SPRN_UAMOR, 0);
	}

	if (cpu_has_feature(CPU_FTR_ARCH_207S)) {
		mtspr(SPRN_IAMR, 0);
		if (cpu_has_feature(CPU_FTR_HVMODE))
			mtspr(SPRN_CIABR, 0);
		else
			plpar_set_ciabr(0);
	}

	if (cpu_has_feature(CPU_FTR_ARCH_31)) {
		mtspr(SPRN_DEXCR, 0);
		mtspr(SPRN_HASHKEYR, 0);
	}

	/*  Do we need isync()? We are going via a kexec reset */
	isync();
}

#endif

Filemanager

Name Type Size Permission Actions
hash-4k.h File 5.19 KB 0644
hash-64k.h File 10.03 KB 0644
hash-pkey.h File 1.51 KB 0644
hash.h File 8.47 KB 0644
hugetlb.h File 2.75 KB 0644
kexec.h File 653 B 0644
kup.h File 9.9 KB 0644
mmu-hash.h File 28.3 KB 0644
mmu.h File 7.47 KB 0644
pgalloc.h File 4.7 KB 0644
pgtable-64k.h File 496 B 0644
pgtable.h File 40.56 KB 0644
pkeys.h File 512 B 0644
radix-4k.h File 857 B 0644
radix-64k.h File 915 B 0644
radix.h File 11.78 KB 0644
slice.h File 1.22 KB 0644
tlbflush-hash.h File 2.05 KB 0644
tlbflush-radix.h File 3.41 KB 0644
tlbflush.h File 6.24 KB 0644
Filemanager