kexts: add stub VGA16 framebuffer driver

This commit is contained in:
2023-06-02 19:32:56 +01:00
parent fcf5dc32b9
commit 648c370679
2 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
name: vga16fb
description: |
Legacy VGA textmode framebuffer driver.
id: net.doorstuck.socks.vga16fb
license: BSD-3-Clause
copyright: Copyright © Max Wash 2023
sources:
- main.c

View File

@@ -0,0 +1,12 @@
#include <socks/printk.h>
#include <socks/kext.h>
static kern_status_t online(struct kext *self)
{
printk("vga16fb: online");
return KERN_OK;
}
DEFINE_KEXT("net.doorstuck.socks.vga16fb",
online, NULL,
KEXT_NO_DEPENDENCIES);