summaryrefslogtreecommitdiff
path: root/lib.s
blob: 1397b90270eeeda3c81f107d534783c35b5c77f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.ifndef __LIB__
.set __LIB__, 1

.include "restore.s"
.include "backup.s"
.include "sys.s"

.macro prologue
	pushq %rbp
	movq %rsp, %rbp
.endm

.set STDIN,	0
.set STDOUT,	1
.set STDERR,	2

.endif