XenevaOS
Loading...
Searching...
No Matches
Classes | Macros | Functions | Variables
aucon.cpp File Reference
#include <aucon.h>
#include <_null.h>
#include <Mm\vmmngr.h>
#include <Mm\pmmngr.h>
#include <Mm\kmalloc.h>
#include <string.h>
#include <va_list.h>
#include <stdio.h>
#include <Fs\vfs.h>
#include <Serv\sysserv.h>
#include <Fs\Dev\devfs.h>
Include dependency graph for aucon.cpp:

Classes

struct  psf2_t
 

Macros

#define CONSOLE_BACKGROUND   0x00000000
 
#define CONSOLE_FOREGROUND   0xFFFFFFFF
 

Functions

void AuConsoleInitialize (PKERNEL_BOOT_INFO info, bool early)
 
int AuConsoleIoControl (AuVFSNode *node, int code, void *args)
 
void AuConsolePostInitialise (PKERNEL_BOOT_INFO info)
 
void AuPutC (char c)
 Put a character to console output.
 
void AuPutS (char *s)
 Prints string to console output.
 
void AuTextOut (const char *format,...)
 
void AuConsoleEarlyEnable (bool value)
 

Variables

uint8_tfont_data
 
uint32_t console_x
 
uint32_t console_y
 
uint32_t__framebuffer
 
AuConsoleaucon
 
bool early_
 
void(* _print_func )(const char *text,...)
 

Macro Definition Documentation

◆ CONSOLE_BACKGROUND

#define CONSOLE_BACKGROUND   0x00000000

◆ CONSOLE_FOREGROUND

#define CONSOLE_FOREGROUND   0xFFFFFFFF

Function Documentation

◆ AuConsoleEarlyEnable()

void AuConsoleEarlyEnable ( bool  value)

◆ AuConsoleInitialize()

void AuConsoleInitialize ( PKERNEL_BOOT_INFO  info,
bool  early 
)

◆ AuConsoleIoControl()

int AuConsoleIoControl ( AuVFSNode node,
int  code,
void *  args 
)

◆ AuConsolePostInitialise()

void AuConsolePostInitialise ( PKERNEL_BOOT_INFO  info)

◆ AuPutC()

void AuPutC ( char  c)

Put a character to console output.

◆ AuPutS()

void AuPutS ( char *  s)

Prints string to console output.

Scroll

◆ AuTextOut()

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

Variable Documentation

◆ __framebuffer

uint32_t* __framebuffer

◆ _print_func

void(* _print_func) (const char *text,...) ( const char *  text,
  ... 
)

◆ aucon

AuConsole* aucon

◆ console_x

uint32_t console_x

◆ console_y

uint32_t console_y

◆ early_

bool early_

◆ font_data

uint8_t* font_data

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.