BarryServer : Git

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

// Related

Nucleus

Barry Interrupt handlers b33d632 (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