arch/mips/include/asm/branch.h

Source file repositories/reference/linux-study-clean/arch/mips/include/asm/branch.h

File Facts

System
Linux kernel
Corpus path
arch/mips/include/asm/branch.h
Extension
.h
Size
2503 bytes
Lines
104
Domain
Architecture Layer
Bucket
arch/mips
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 (inst->ri.opcode == MIPS16e_extend_op) {
			regs->cp0_epc += 4;
			return 0;
		}
		regs->cp0_epc += 2;
		return 0;
	}

	return __MIPS16e_compute_return_epc(regs);
}

#endif /* _ASM_BRANCH_H */

Annotation

Implementation Notes