-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/* | ||
* Phoenix-RTOS | ||
* | ||
* libphoenix | ||
* | ||
* fbcon.h | ||
* | ||
* Copyright 2024 Phoenix Systems | ||
* Author: Adam Greloch | ||
* | ||
* This file is part of Phoenix-RTOS. | ||
* | ||
* %LICENSE% | ||
*/ | ||
|
||
#ifndef _LIBPHOENIX_FBCON_H_ | ||
#define _LIBPHOENIX_FBCON_H_ | ||
|
||
|
||
#include <sys/ioctl.h> | ||
|
||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
/* ioctls */ | ||
#define FBCONSETMODE _IOV('t', 0x80, int) | ||
#define FBCONGETMODE _IO('t', 0x81) | ||
|
||
|
||
#define FBCON_ENABLED 0x0 | ||
#define FBCON_DISABLED 0x1 | ||
#define FBCON_UNSUPPORTED 0x2 | ||
|
||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
|
||
#endif |