|
nckernel
0.1
|
#include <slibc.h>#include <sys/types.h>#include <sys/io.h>#include <stdio.h>#include <stdlib.h>#include <errno.h>#include <stddef.h>#include <stdarg.h>#include <stropts.h>#include <fcntl.h>#include <stdint.h>#include <unistd.h>#include <string.h>#include <object.h>#include <list.h>#include <vfs.h>#include <device.h>#include <keyboard.h>#include <interrupt.h>#include <isr.h>#include <debug.h>
Go to the source code of this file.
Data Structures | |
| struct | info |
| VMA 가 Enable 된 이후에 사용 가능한 전역 변수임 More... | |
Macros | |
| #define | SIZE_OF_QUEUE 64 |
Functions | |
| int | keyboard_close (struct ninfo *ninfo, struct nctx *ctx) |
| int | keyboard_init (void) |
| int | keyboard_ioctl (struct ninfo *ninfo, struct nctx *ctx, int request, va_list ap) |
| off_t | keyboard_lseek (struct ninfo *ninfo, struct nctx *ctx, off_t off, int whence) |
| int | keyboard_open (struct ninfo *ninfo, struct nctx *ctx) |
| int | keyboard_read (struct ninfo *ninfo, struct nctx *ctx, void *buf, size_t size) |
| int | keyboard_write (struct ninfo *ninfo, struct nctx *ctx, const void *buf, size_t size) |
| #define SIZE_OF_QUEUE 64 |
Definition at line 25 of file keyboard.c.
Referenced by keyboard_read().
Definition at line 104 of file keyboard.c.
References free(), NULL, and nctx::priv.

Definition at line 82 of file keyboard.c.
References ENOSYS.
Definition at line 40 of file keyboard.c.
References EINVAL, nctx::offset, SEEK_CUR, SEEK_END, SEEK_SET, and ninfo::size.
Definition at line 87 of file keyboard.c.
References ENOMEM, malloc(), memset(), nctx::offset, and nctx::priv.

Definition at line 63 of file keyboard.c.
References info::buffer, s_info, and SIZE_OF_QUEUE.
Definition at line 76 of file keyboard.c.
References EPERM.
| unsigned short buffer[SIZE_OF_QUEUE] |
Definition at line 28 of file keyboard.c.
Referenced by memset(), video_read(), and video_write().
| off_t read_offset |
Definition at line 30 of file keyboard.c.
| off_t write_offset |
Definition at line 29 of file keyboard.c.
1.8.4