19 lines
546 B
Zig
19 lines
546 B
Zig
// SPDX-License-Identifier: LCL-1.0
|
|
// Copyright (c) 2026 Markus Maiwald
|
|
// Stewardship: Self Sovereign Society Foundation
|
|
//
|
|
// This file is part of the Nexus Commonwealth.
|
|
// See legal/LICENSE_COMMONWEALTH.md for license terms.
|
|
|
|
//! Rumpk HAL: Framebuffer FFI Wrapper
|
|
//!
|
|
//! Provides C-compatible exports for framebuffer access from Nim.
|
|
//!
|
|
//! SAFETY: Proxies requests to the primary framebuffer module. No state of its own.
|
|
|
|
const fb = @import("framebuffer.zig");
|
|
|
|
export fn fb_kern_get_addr() usize {
|
|
return fb.fb_get_buffer_phys();
|
|
}
|