linux/include/uapi/linux/kd.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _UAPI_LINUX_KD_H
#define _UAPI_LINUX_KD_H
#include <linux/types.h>
#include <linux/compiler.h>

/* 0x4B is 'K', to avoid collision with termios and vt */

#define GIO_FONT
#define PIO_FONT

#define GIO_FONTX
#define PIO_FONTX
struct consolefontdesc {};

#define PIO_FONTRESET

#define GIO_CMAP
#define PIO_CMAP

#define KIOCSOUND
#define KDMKTONE

#define KDGETLED
#define KDSETLED
#define LED_SCR
#define LED_NUM
#define LED_CAP

#define KDGKBTYPE
#define KB_84
#define KB_101
#define KB_OTHER

#define KDADDIO
#define KDDELIO
#define KDENABIO
#define KDDISABIO

#define KDSETMODE
#define KD_TEXT
#define KD_GRAPHICS
#define KD_TEXT0
#define KD_TEXT1
#define KDGETMODE

#define KDMAPDISP
#define KDUNMAPDISP

scrnmap_t;
#define E_TABSZ
#define GIO_SCRNMAP
#define PIO_SCRNMAP
#define GIO_UNISCRNMAP
#define PIO_UNISCRNMAP

#define GIO_UNIMAP
struct unipair {};
struct unimapdesc {};
#define PIO_UNIMAP
#define PIO_UNIMAPCLR
struct unimapinit {};

#define UNI_DIRECT_BASE
#define UNI_DIRECT_MASK

#define K_RAW
#define K_XLATE
#define K_MEDIUMRAW
#define K_UNICODE
#define K_OFF
#define KDGKBMODE
#define KDSKBMODE

#define K_METABIT
#define K_ESCPREFIX
#define KDGKBMETA
#define KDSKBMETA

#define K_SCROLLLOCK
#define K_NUMLOCK
#define K_CAPSLOCK
#define KDGKBLED
#define KDSKBLED

struct kbentry {};
#define K_NORMTAB
#define K_SHIFTTAB
#define K_ALTTAB
#define K_ALTSHIFTTAB

#define KDGKBENT
#define KDSKBENT

struct kbsentry {};
#define KDGKBSENT
#define KDSKBSENT

struct kbdiacr {};
struct kbdiacrs {};
#define KDGKBDIACR
#define KDSKBDIACR

struct kbdiacruc {};
struct kbdiacrsuc {};
#define KDGKBDIACRUC
#define KDSKBDIACRUC

struct kbkeycode {};
#define KDGETKEYCODE
#define KDSETKEYCODE

#define KDSIGACCEPT

struct kbd_repeat {};

#define KDKBDREP

#define KDFONTOP

struct console_font_op {};

struct console_font {};

#define KD_FONT_OP_SET
#define KD_FONT_OP_GET
#define KD_FONT_OP_SET_DEFAULT
#define KD_FONT_OP_COPY
#define KD_FONT_OP_SET_TALL
#define KD_FONT_OP_GET_TALL

#define KD_FONT_FLAG_DONT_RECALC

/* note: 0x4B00-0x4B4E all have had a value at some time;
   don't reuse for the time being */
/* note: 0x4B60-0x4B6D, 0x4B70-0x4B72 used above */

#endif /* _UAPI_LINUX_KD_H */