arch/arm64/include/asm/efi.h

Source file repositories/reference/linux-study-clean/arch/arm64/include/asm/efi.h

File Facts

System
Linux kernel
Corpus path
arch/arm64/include/asm/efi.h
Extension
.h
Size
4803 bytes
Lines
155
Domain
Architecture Layer
Bucket
arch/arm64
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

if (mm != current->active_mm) {
			/*
			 * Update the current thread's saved ttbr0 since it is
			 * restored as part of a return from exception.
			 */
			update_saved_ttbr0(current, mm);
		} else {
			/*
			 * Restore the current thread's saved ttbr0
			 * corresponding to its active_mm
			 */
			update_saved_ttbr0(current, current->active_mm);
		}
	}
}

void efi_virtmap_load(void);
void efi_virtmap_unload(void);

static inline void efi_capsule_flush_cache_range(void *addr, int size)
{
	dcache_clean_inval_poc((unsigned long)addr, (unsigned long)addr + size);
}

efi_status_t efi_handle_corrupted_x18(efi_status_t s, const char *f);

void efi_icache_sync(unsigned long start, unsigned long end);

#endif /* _ASM_EFI_H */

Annotation

Implementation Notes