Operating System
step_3
kernel
kernel.h
Go to the documentation of this file.
1
7
#ifndef __KERNEL_H_
8
#define __KERNEL_H_
9
// __asm__(".code16gcc\n");
10
__asm__
(
".globl _start\n"
);
11
__asm__
(
"_start:\n"
);
12
__asm__
(
"mov $0, %eax\n"
);
13
__asm__
(
"mov %ax, %ds\n"
);
14
__asm__
(
"mov %ax, %es\n"
);
15
__asm__
(
"jmpl $0, $main\n"
);
16
#endif
__asm__
__asm__(".globl _start\)
Generated by
1.8.15