arch/um/drivers/harddog_kern.c

Source file repositories/reference/linux-study-clean/arch/um/drivers/harddog_kern.c

File Facts

System
Linux kernel
Corpus path
arch/um/drivers/harddog_kern.c
Extension
.c
Size
4101 bytes
Lines
175
Domain
Architecture Layer
Bucket
arch/um
Inferred role
Architecture Layer: operation-table or driver-model contract
Status
pattern 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

static const struct file_operations harddog_fops = {
	.owner		= THIS_MODULE,
	.write		= harddog_write,
	.unlocked_ioctl	= harddog_ioctl,
	.compat_ioctl	= compat_ptr_ioctl,
	.open		= harddog_open,
	.release	= harddog_release,
};

static struct miscdevice harddog_miscdev = {
	.minor		= WATCHDOG_MINOR,
	.name		= "watchdog",
	.fops		= &harddog_fops,
};
module_misc_device(harddog_miscdev);

Annotation

Implementation Notes