summaryrefslogtreecommitdiff
path: root/src/user/knob/entry.asm
blob: 18faf7f097f57f22a7b68cbd9b9b66fdc139395e (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
24
bits 32

global _entry

extern main
extern quit

extern current_disk

section .text
_entry:
  mov esp, stack
  push edx

  ;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: