Skip to content

Commit

Permalink
phoenix: add fbcon ioctls
Browse files Browse the repository at this point in the history
JIRA: RTOS-925
  • Loading branch information
adamgreloch committed Oct 18, 2024
1 parent 18db069 commit 4296f3a
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions include/phoenix/fbcon.h
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

0 comments on commit 4296f3a

Please sign in to comment.