Compare commits

..

No commits in common. "41c6789687049663b05f0136100c89a4dff25ee1" and "ae884cc94b83ad5669b8969e5b35aaa45abb306d" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View File

@ -43,7 +43,6 @@ 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",
};
@ -238,7 +237,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;

View File

@ -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 + 15*1024,
.stack = 1024*1024,
.flags = 0,
.tags = 0
};