summaryrefslogtreecommitdiff
path: root/src/user/knob/entry.asm
blob: ae024c4902ce7481c0998970974522066daf8cea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
bits 32

global _entry

extern main
extern quit

extern current_disk

section .text
_entry:
  mov esp, stack

  ;TODO: heap stuff?
  ;TODO: determine current_disk
  ;any further needed initialization

  push quit
  jmp main

section .stack nobits alloc noexec write align=16
resb 1024
stack: