summaryrefslogtreecommitdiff
path: root/src/shared/execbuf.h
blob: c9d444d1d4710aa747818a3f89e44f678de669c8 (plain)
1
2
3
4
5
6
7
#pragma once
/* the instruction format is bound to change, atm it's extremely inefficient */

/* takes 5 arguments */
#define EXECBUF_SYSCALL 0xF0000001
/* takes 1 argument, changes %rip */
#define EXECBUF_JMP 0xF0000002