Macros | |
#define | Revision(a) |
#define | diff16(title, l1, l2) |
macros definition More... | |
#define | diff10(title, l1, l2) |
#define | dbgstr(string, f) |
May be useful for kernel debugging example 1: dbgstr 'Hello, World!' example 2: dbgstr 'Hello, World!', save_flags. More... | |
#define | list_init(head) |
#define | __list_add(new, prev, next) |
#define | list_add(new, head) |
#define | list_add_tail(new, head) |
#define | list_del(entry) |
#define | movi(dst, imm) |
MOV Immediate. Useful for things like movi eax,10: shorter than regular mov, but slightly slower, do not use it in performance-critical places. More... | |
#define __list_add | ( | new, | |
prev, | |||
next | |||
) |
#define dbgstr | ( | string, | |
f | |||
) |
May be useful for kernel debugging example 1: dbgstr 'Hello, World!' example 2: dbgstr 'Hello, World!', save_flags.
string | Output string |
f | Put here anything if you gonna save flags |
#define diff10 | ( | title, | |
l1, | |||
l2 | |||
) |
#define diff16 | ( | title, | |
l1, | |||
l2 | |||
) |
macros definition
#define list_add | ( | new, | |
head | |||
) |
#define list_add_tail | ( | new, | |
head | |||
) |
#define list_del | ( | entry | ) |
#define list_init | ( | head | ) |
#define movi | ( | dst, | |
imm | |||
) |
MOV Immediate. Useful for things like movi eax,10: shorter than regular mov, but slightly slower, do not use it in performance-critical places.
#define Revision | ( | a | ) |