arch/parisc/math-emu/driver.c

Source file repositories/reference/linux-study-clean/arch/parisc/math-emu/driver.c

File Facts

System
Linux kernel
Corpus path
arch/parisc/math-emu/driver.c
Extension
.c
Size
3151 bytes
Lines
117
Domain
Architecture Layer
Bucket
arch/parisc
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 (sig == SIGFPE) {
			/*
			 * Clear floating point trap bit to avoid trapping
			 * again on the first floating-point instruction in
			 * the userspace signal handler.
			 */
			regs->fr[0] &= ~(1ULL << 38);
		}
		force_sig_fault(sig, signalcode & 0xffffff,
				(void __user *) regs->iaoq[0]);
		return -1;
	}

	return signalcode ? -1 : 0;
}

Annotation

Implementation Notes