2018-09-07 15:00:13 +00:00
|
|
|
/*
|
2019-04-08 02:00:49 +00:00
|
|
|
* Copyright (c) 2018-2019 Atmosphère-NX
|
2018-09-07 15:00:13 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms and conditions of the GNU General Public License,
|
|
|
|
* version 2, as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
|
|
* more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2018-05-05 21:55:40 +00:00
|
|
|
#ifndef FUSEE_CONSOLE_H
|
|
|
|
#define FUSEE_CONSOLE_H
|
|
|
|
|
2018-09-28 20:12:59 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <errno.h>
|
|
|
|
#include <malloc.h>
|
|
|
|
#include <sys/iosupport.h>
|
|
|
|
|
2019-07-06 19:58:01 +00:00
|
|
|
int console_init(void);
|
|
|
|
void *console_get_framebuffer(void);
|
2018-05-09 20:20:14 +00:00
|
|
|
int console_display(const void *framebuffer); /* Must be page-aligned */
|
|
|
|
int console_resume(void);
|
|
|
|
int console_end(void);
|
2018-05-05 21:55:40 +00:00
|
|
|
|
|
|
|
#endif
|