Compare commits
2 Commits
ae884cc94b
...
41c6789687
| Author | SHA1 | Date |
|---|---|---|
|
|
41c6789687 | |
|
|
5535db2488 |
|
|
@ -43,6 +43,7 @@ const x86_64 = Target {
|
|||
const intel386 = Target {
|
||||
.parent = &x86,
|
||||
.cpu_arch = std.Target.Cpu.Arch.i386,
|
||||
.cpu_model = std.build.Target.CpuModel {.explicit = &std.builtin.Target.x86.cpu._i386},
|
||||
.archdir = "i386",
|
||||
.name = "i386-generic",
|
||||
};
|
||||
|
|
@ -237,7 +238,7 @@ pub fn build(b: *Builder) !void {
|
|||
|
||||
exe.setTarget(getTarget(ktarget));
|
||||
exe.setBuildMode(mode);
|
||||
// exe.code_model = std.builtin.CodeModel.kernel;
|
||||
exe.code_model = std.builtin.CodeModel.kernel;
|
||||
exe.setLinkerScriptPath(getLinkerScript(ktarget));
|
||||
// exe.setOutputDir("bin");
|
||||
// exe.strip = true;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ void stivale2_main(struct stivale2_struct *info);
|
|||
__attribute__((section(".stivale2hdr"), used))
|
||||
struct stivale2_header header2 = {
|
||||
.entry_point = 0,
|
||||
.stack = 1024*1024,
|
||||
.stack = 1024*1024 + 15*1024,
|
||||
.flags = 0,
|
||||
.tags = 0
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue