BarryServer : Git

All the code for all my projects
// BarryServer : Git / Nucleus / blob / c530261a6ef76632384504044bc0b0519a33938e / kernel / start.S

// Related

Nucleus

Barry Send APIC end of interrupt e07c7c5 (3 years, 3 months ago)
.section .multiboot, "a"
.global header
header:
	.long 0x1BADB002
	.long 1 | 2
	.long -(0x1BADB002 + (1 | 2))

	.long 0, 0, 0, 0, 0

.section .bss, "aw", @nobits
.global stackTop
stackBottom:
	.skip 16384
stackTop:

.section .text
.extern kmain
.global _start
_start:
	mov $stackTop, %ebp
	mov %ebp, %esp
	push %ebx
	push %esp
	call kmain
	cli
_end:
	hlt
	jmp _end