BarryServer : Git

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

// Related

Nucleus

Barry ACPI + APIC 232d0f9 (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
stack_bottom:
	.skip 16384
stack_top:

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