Changeset 46c20c8 in mainline for uspace/app/sbi/src/builtin.h


Ignore:
Timestamp:
2010-11-26T20:08:10Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
45df59a
Parents:
fb150d78 (diff), ffdd2b9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/app/sbi/src/builtin.h

    rfb150d78 r46c20c8  
    2727 */
    2828
    29 /** @addtogroup libcamd64
    30  * @{
    31  */
    32 /** @file Macros for format specifiers.
    33  *
    34  * Macros for formatting stdint types as specified in section
    35  * 7.8.1 Macros for format specifiers of the C99 draft specification
    36  * (ISO/IEC 9899:201x). Only some macros from the specification are
    37  * implemented.
    38  */
     29#ifndef BUILTIN_H_
     30#define BUILTIN_H_
    3931
    40 #ifndef LIBC_amd64_INTTYPES_H_
    41 #define LIBC_amd64_INTTYPES_H_
     32#include "mytypes.h"
    4233
    43 #define PRId8 "d"
    44 #define PRId16 "d"
    45 #define PRId32 "d"
    46 #define PRId64 "lld"
    47 #define PRIdPTR "lld"
     34void builtin_declare(stree_program_t *program);
     35void builtin_bind(builtin_t *bi);
     36void builtin_code_snippet(builtin_t *bi, const char *snippet);
    4837
    49 #define PRIo8 "o"
    50 #define PRIo16 "o"
    51 #define PRIo32 "o"
    52 #define PRIo64 "llo"
    53 #define PRIoPTR "llo"
     38stree_csi_t *builtin_get_gf_class(builtin_t *builtin);
     39void builtin_run_proc(run_t *run, stree_proc_t *proc);
    5440
    55 #define PRIu8 "u"
    56 #define PRIu16 "u"
    57 #define PRIu32 "u"
    58 #define PRIu64 "llu"
    59 #define PRIuPTR "llu"
     41rdata_var_t *builtin_get_self_mbr_var(run_t *run, const char *mbr_name);
     42void builtin_return_string(run_t *run, const char *str);
    6043
    61 #define PRIx8 "x"
    62 #define PRIx16 "x"
    63 #define PRIx32 "x"
    64 #define PRIx64 "llx"
    65 #define PRIxPTR "llx"
     44stree_symbol_t *builtin_declare_fun(stree_csi_t *csi, const char *name);
     45void builtin_fun_add_arg(stree_symbol_t *fun_sym, const char *name);
    6646
    67 #define PRIX8 "X"
    68 #define PRIX16 "X"
    69 #define PRIX32 "X"
    70 #define PRIX64 "llX"
    71 #define PRIXPTR "llX"
     47stree_symbol_t *builtin_find_lvl0(builtin_t *bi, const char *sym_name);
     48stree_symbol_t *builtin_find_lvl1(builtin_t *bi, const char *csi_name,
     49    const char *sym_name);
     50
     51void builtin_fun_bind(builtin_t *bi, const char *csi_name,
     52    const char *sym_name, builtin_proc_t bproc);
    7253
    7354#endif
    74 
    75 /** @}
    76  */
Note: See TracChangeset for help on using the changeset viewer.