kexts: add stub VGA16 framebuffer driver
This commit is contained in:
8
kexts/drivers/video/vga16fb/extension.yaml
Normal file
8
kexts/drivers/video/vga16fb/extension.yaml
Normal 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
|
||||||
12
kexts/drivers/video/vga16fb/main.c
Normal file
12
kexts/drivers/video/vga16fb/main.c
Normal 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);
|
||||||
Reference in New Issue
Block a user