|
XenevaOS
|
#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>
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_t * | font_data |
| uint32_t | console_x |
| uint32_t | console_y |
| uint32_t * | __framebuffer |
| AuConsole * | aucon |
| bool | early_ |
| void(* | _print_func )(const char *text,...) |
| #define CONSOLE_BACKGROUND 0x00000000 |
| #define CONSOLE_FOREGROUND 0xFFFFFFFF |
| void AuConsoleEarlyEnable | ( | bool | value | ) |
| 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 * | str | ) |
Prints string to console output.
| str | – string to print |
Scroll
| void AuTextOut | ( | const char * | format, |
| ... | |||
| ) |
| uint32_t* __framebuffer |
| void(* _print_func) (const char *text,...) | ( | const char * | text, |
| ... | |||
| ) |
| AuConsole* aucon |
devgpu.c – thin kernel proxy for the user-space virtio-GPU server.
The server owns the PCI function through /dev/hwdev. This node keeps the compositor-facing framebuffer stable and performs the one safety-critical bridge operation: copying a bounded damage rectangle into DMA memory that belongs to the server's exact GPU capability. The kernel never submits a virtio command and never waits for the server.
| uint32_t console_x |
| uint32_t console_y |
| bool early_ |
| 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:
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.