KolibriOS kernel
macros.inc File Reference

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...
 

Macro Definition Documentation

◆ __list_add

#define __list_add (   new,
  prev,
  next 
)

◆ dbgstr

#define dbgstr (   string,
 
)

May be useful for kernel debugging example 1: dbgstr 'Hello, World!' example 2: dbgstr 'Hello, World!', save_flags.

Parameters
stringOutput string
fPut here anything if you gonna save flags
Source
macros.inc:67

◆ diff10

#define diff10 (   title,
  l1,
  l2 
)

◆ diff16

#define diff16 (   title,
  l1,
  l2 
)

macros definition

Source
macros.inc:21

◆ list_add

#define list_add (   new,
  head 
)

◆ list_add_tail

#define list_add_tail (   new,
  head 
)

◆ list_del

#define list_del (   entry)

◆ list_init

#define list_init (   head)

◆ movi

#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.

Source
macros.inc:125

◆ Revision

#define Revision (   a)