Skip to content
Snippets Groups Projects
Commit 0073beee authored by rsc's avatar rsc
Browse files

remove dead code

parent f32f3638
No related branches found
No related tags found
No related merge requests found
......@@ -106,22 +106,6 @@ mpmain(void)
scheduler();
}
char initcode[] = {
/* push ptr to argv */ 0x6a, 0x1c,
/* push ptr to "/init" */ 0x6a, 0x16,
/* push fake ret addr */ 0x6a, 0x00,
/* mov $SYS_exec, %eax */ 0xb8, 0x09, 0x00, 0x00, 0x00,
/* int $0x30 */ 0xcd, 0x30,
/* Lx: */
/* mov $SYS_exit, %eax */ 0xb8, 0x02, 0x00, 0x00, 0x00,
/* int $0x30 */ 0xcd, 0x30,
/* jmp Lx */ 0xeb, 0xf7,
/* "/init\0" */ 0x2f, 0x69, 0x6e, 0x69, 0x74, 0x00,
/* ptr to "/init" */ 0x16, 0x00, 0x00, 0x00,
/* 0 */ 0x00, 0x00, 0x00, 0x00
};
void
proc0init(void)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment