hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/boot/elf.zig
blob: 906e3804be1ca0e85442c7b30e3d6cb413c3b4d1 (plain)
1
2
3
4
5
6
7
8
// the embedded ring 3 programs, boot copies each to frames at startup
pub const Program = struct { name: []const u8, bytes: []const u8 };

pub const programs = [_]Program{
    .{ .name = "hexview", .bytes = @embedFile("user_hexview") },
    .{ .name = "calc", .bytes = @embedFile("user_calc") },
    .{ .name = "primes", .bytes = @embedFile("user_primes") },
};