diff options
author | Danny Holman <dholman@gymli.xyz> | 2021-01-24 21:10:57 -0600 |
---|---|---|
committer | Danny Holman <dholman@gymli.xyz> | 2021-01-24 21:10:57 -0600 |
commit | a4534660fecb1b571c24ad82e67bc6c2fb814cb9 (patch) | |
tree | 149984cb0e9a32765e63df0f696091817c2b6dd5 /arch/i386/boot.s | |
parent | dd6656f7132d1727a055035ca94945fa4fbaae58 (diff) |
x86: reorganize the i386 directory
Add structure to the internals of the x86 directory.
Signed-off-by: Danny Holman <dholman@gymli.xyz>
Diffstat (limited to 'arch/i386/boot.s')
-rw-r--r-- | arch/i386/boot.s | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/arch/i386/boot.s b/arch/i386/boot.s deleted file mode 100644 index 56ac227..0000000 --- a/arch/i386/boot.s +++ /dev/null @@ -1,32 +0,0 @@ -.set ALIGN, 1<<0 -.set MEMINFO, 1<<1 -.set FLAGS, ALIGN | MEMINFO -.set MAGIC, 0x1BADB002 -.set CHECKSUM, -(MAGIC + FLAGS) - -.section .multiboot -.align 4 -.long MAGIC -.long FLAGS -.long CHECKSUM - -.section .bss -.align 16 -stack_bottom: -.skip 16384 -stack_top: - -.section .text -.global _start -.type _start, @function - -_start: - movl $stack_top, %esp - - call _init - call kernel_main - - cli -1: hlt - jmp 1b -.size _start, . - _start |