arch/arm/mach-imx/mach-imxrt.c

Source file repositories/reference/linux-study-clean/arch/arm/mach-imx/mach-imxrt.c

File Facts

System
Linux kernel
Corpus path
arch/arm/mach-imx/mach-imxrt.c
Extension
.c
Size
419 bytes
Lines
20
Domain
Architecture Layer
Bucket
arch/arm
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

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2019
 * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com>
 */

#include <linux/kernel.h>
#include <asm/mach/arch.h>
#include <asm/v7m.h>

static const char *const imxrt_compat[] __initconst = {
	"fsl,imxrt1050",
	NULL
};

DT_MACHINE_START(IMXRTDT, "IMXRT (Device Tree Support)")
	.dt_compat = imxrt_compat,
	.restart = armv7m_restart,
MACHINE_END

Annotation

Implementation Notes