next up previous contents index
Next: 10.19.2 anno_dump: dump all Up: 10.19 Annotations Previous: 10.19 Annotations

anno.h: (X86) generic macros to place annotations in kernel code.

 

SYNOPSIS

#include <oskit/machine/anno.h>

ANNO_ENTRY (table, val1, val2, val3)

ANNO_TEXT (table, val2, val3)

DESCRIPTION

Contains architecture-dependent, assembly-code callable macros for placing annotations in kernel text and initialized data. No C-callable versions are included since most C compilers may reorder code making exact placement of annotations impossible.

ANNO_ENTRY creates a generic annotation entry associated with the indicated table and filled with the specified values.

ANNO_TEXT records an annotation in the given table for the current point in the text (code) segment. The current value of the program counter is placed in val1. The specified values for val2 and val3 are recorded.



University of Utah Flux Research Group