summaryrefslogtreecommitdiff
path: root/src/user/knob/entry.asm
blob: acf6f5ffc3efe92576b0a8837e3d0dbba6f4fbb5 (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
  push edx

  ;TODO: determine current_disk
  ;any further needed initialization

  push quit
  jmp main

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