aboutsummaryrefslogtreecommitdiff
path: root/boot.S
diff options
context:
space:
mode:
authorFranklin Wei <frankhwei536@gmail.com>2015-02-01 16:43:23 -0500
committerFranklin Wei <frankhwei536@gmail.com>2015-02-01 16:43:23 -0500
commit726684887d414fbefe28d0d210abea8e842ecd21 (patch)
treec4bf0f2c8c182f78da59d6d8ff6e52530a704878 /boot.S
parentd70425be40accbe9fed112955e0fe07efbc0c9f9 (diff)
downloadkappa-726684887d414fbefe28d0d210abea8e842ecd21.zip
kappa-726684887d414fbefe28d0d210abea8e842ecd21.tar.gz
kappa-726684887d414fbefe28d0d210abea8e842ecd21.tar.bz2
kappa-726684887d414fbefe28d0d210abea8e842ecd21.tar.xz
remove old file
Diffstat (limited to 'boot.S')
-rw-r--r--boot.S31
1 files changed, 0 insertions, 31 deletions
diff --git a/boot.S b/boot.S
deleted file mode 100644
index 90cf9d1..0000000
--- a/boot.S
+++ /dev/null
@@ -1,31 +0,0 @@
- .set ALIGN, 1<<0
- .set MEMINFO, 1<<1
- .set FLAGS, ALIGN | MEMINFO
- .set MAGIC, 0x1BADB002 # "1 Bad Boot"
- .set CHECKSUM, -(MAGIC + FLAGS)
-
-.section .multiboot
- .align 4
-multiboot_header:
- .long MAGIC
- .long FLAGS
- .long CHECKSUM
-
-.section .stack
-stack_bottom: # Stack grows up in addresses, so bottom is
- # lower than the top
- .skip 32768 # 32KB stack
-stack_top:
-
-.section .text
- .global _start
- .type _start, @function
-_start: # This is where execution begins
- movl $stack_bottom, %esp # Initialize the stack
- push %ebp # Add register ebp to the arguments of kernel_main
- call kernel_main # Start the kernel, shouldn't return
- cli
- hlt
-.kernel_hang: # Idle
- jmp .kernel_hang
- .size _start, . - _start