summaryrefslogtreecommitdiff
path: root/src/user/knob/entry.asm
blob: e9548d4485c3402398330594b6cac723c769f4d0 (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 4096
stack: