arch/um/drivers/ubd.h

Source file repositories/reference/linux-study-clean/arch/um/drivers/ubd.h

File Facts

System
Linux kernel
Corpus path
arch/um/drivers/ubd.h
Extension
.h
Size
463 bytes
Lines
23
Domain
Architecture Layer
Bucket
arch/um
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

#ifndef __UM_UBD_USER_H
#define __UM_UBD_USER_H

#include <os.h>

int start_io_thread(struct os_helper_thread **td_out, int *fd_out);
void *io_thread(void *arg);
extern int kernel_fd;

extern int ubd_read_poll(int timeout);
extern int ubd_write_poll(int timeout);

#define UBD_REQ_BUFFER_SIZE 64

#endif

Annotation

Implementation Notes