BarryServer : Git

All the code for all my projects
// BarryServer : Git / Nucleus / blob / 7cbafe825afe9474334ec1f587aab8d82eb8bc64 / 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