mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-31 23:38:21 +00:00
all: rework source tree structure
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
pub const KSym = extern struct {
|
||||
addr: u64,
|
||||
name_ptr: [*]const u8,
|
||||
name_len: usize,
|
||||
};
|
||||
|
||||
extern const ksyms_array: [0]KSym;
|
||||
extern const ksyms_count: usize;
|
||||
|
||||
pub fn get_symbols() []const KSym {
|
||||
const ptr = @as([*]const KSym, @ptrCast(&ksyms_array));
|
||||
return ptr[0..ksyms_count];
|
||||
}
|
||||
@@ -7,7 +7,7 @@ pub const ksyms = @import("ksyms");
|
||||
pub const arch = @import("arch");
|
||||
pub const mm = @import("mm/root.zig");
|
||||
pub const ps = @import("proc/root.zig");
|
||||
pub const BootInfo = @import("loader/info.zig");
|
||||
pub const BootInfo = @import("boot_info");
|
||||
pub const tests = @import("tests/root.zig");
|
||||
pub const rcu = @import("rcu/root.zig");
|
||||
pub const bv = @import("bootvid/bootvid.zig");
|
||||
Reference in New Issue
Block a user