XenevaOS
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
aucon.h File Reference
#include <aurora.h>
Include dependency graph for aucon.h:

Go to the source code of this file.

Classes

struct  _aucon_
 

Macros

#define SCREEN_SETMODE   200
 
#define SCREEN_GETWIDTH   201
 
#define SCREEN_GETHEIGHT   202
 
#define SCREEN_GETBPP   203
 
#define SCREEN_SETBPP   204
 
#define SCREEN_UPDATE   205
 
#define SCREEN_GET_SCANLINE   206
 
#define SCREEN_GET_PITCH   207
 
#define SCREEN_REG_MNGR   208
 
#define SCREEN_GET_FB   209
 

Typedefs

typedef struct _aucon_ AuConsole
 

Functions

void AuConsoleInitialize (PKERNEL_BOOT_INFO info, bool early)
 AuConsoleInitialize – initialize kernel direct screen console.
 
void AuConsolePostInitialise (PKERNEL_BOOT_INFO info)
 AuConsolePostInitialise – initialise the post console process.
 
AU_EXTERN AU_EXPORT void AuTextOut (const char *text,...)
 AuTextOut – standard text printing function for entire kernel.
 
void AuConsoleEarlyEnable (bool value)
 AuConsoleEarlyEnable – enables or disable early mode text output.
 
uint32_t AuConsoleGetScreenWidth ()
 AuConsoleGetScreenWidth – return the screen width.
 
uint32_t AuConsoleGetScreenHeight ()
 AuConsoleGetScreenHeight – return the screen height.
 

Macro Definition Documentation

◆ SCREEN_GET_FB

#define SCREEN_GET_FB   209

◆ SCREEN_GET_PITCH

#define SCREEN_GET_PITCH   207

◆ SCREEN_GET_SCANLINE

#define SCREEN_GET_SCANLINE   206

◆ SCREEN_GETBPP

#define SCREEN_GETBPP   203

◆ SCREEN_GETHEIGHT

#define SCREEN_GETHEIGHT   202

◆ SCREEN_GETWIDTH

#define SCREEN_GETWIDTH   201

◆ SCREEN_REG_MNGR

#define SCREEN_REG_MNGR   208

◆ SCREEN_SETBPP

#define SCREEN_SETBPP   204

◆ SCREEN_SETMODE

#define SCREEN_SETMODE   200

BSD 2-Clause License

Copyright (c) 2022-2023, Manas Kamal Choudhury All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

◆ SCREEN_UPDATE

#define SCREEN_UPDATE   205

Typedef Documentation

◆ AuConsole

typedef struct _aucon_ AuConsole

Function Documentation

◆ AuConsoleEarlyEnable()

void AuConsoleEarlyEnable ( bool  value)

AuConsoleEarlyEnable – enables or disable early mode text output.

Parameters
value– boolean value

◆ AuConsoleGetScreenHeight()

uint32_t AuConsoleGetScreenHeight ( )
extern

AuConsoleGetScreenHeight – return the screen height.

Returns
return screen height

◆ AuConsoleGetScreenWidth()

uint32_t AuConsoleGetScreenWidth ( )
extern

AuConsoleGetScreenWidth – return the screen width.

Returns
return screen width

◆ AuConsoleInitialize()

void AuConsoleInitialize ( PKERNEL_BOOT_INFO  info,
bool  early 
)
extern

AuConsoleInitialize – initialize kernel direct screen console.

Parameters
info– Pointer to kernel boot info structure

◆ AuConsolePostInitialise()

void AuConsolePostInitialise ( PKERNEL_BOOT_INFO  info)
extern

AuConsolePostInitialise – initialise the post console process.

Parameters
info– pointer to kernel boot info structure

◆ AuTextOut()

AU_EXTERN AU_EXPORT void AuTextOut ( const char *  format,
  ... 
)

AuTextOut – standard text printing function for entire kernel.

Parameters
text– text to output