Changeset 46c20c8 in mainline for uspace/app/sbi/src/builtin.h
- Timestamp:
- 2010-11-26T20:08:10Z (15 years ago)
- 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. - File:
-
- 1 moved
-
uspace/app/sbi/src/builtin.h (moved) (moved from uspace/lib/libc/arch/amd64/include/inttypes.h ) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sbi/src/builtin.h
rfb150d78 r46c20c8 27 27 */ 28 28 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_ 39 31 40 #ifndef LIBC_amd64_INTTYPES_H_ 41 #define LIBC_amd64_INTTYPES_H_ 32 #include "mytypes.h" 42 33 43 #define PRId8 "d" 44 #define PRId16 "d" 45 #define PRId32 "d" 46 #define PRId64 "lld" 47 #define PRIdPTR "lld" 34 void builtin_declare(stree_program_t *program); 35 void builtin_bind(builtin_t *bi); 36 void builtin_code_snippet(builtin_t *bi, const char *snippet); 48 37 49 #define PRIo8 "o" 50 #define PRIo16 "o" 51 #define PRIo32 "o" 52 #define PRIo64 "llo" 53 #define PRIoPTR "llo" 38 stree_csi_t *builtin_get_gf_class(builtin_t *builtin); 39 void builtin_run_proc(run_t *run, stree_proc_t *proc); 54 40 55 #define PRIu8 "u" 56 #define PRIu16 "u" 57 #define PRIu32 "u" 58 #define PRIu64 "llu" 59 #define PRIuPTR "llu" 41 rdata_var_t *builtin_get_self_mbr_var(run_t *run, const char *mbr_name); 42 void builtin_return_string(run_t *run, const char *str); 60 43 61 #define PRIx8 "x" 62 #define PRIx16 "x" 63 #define PRIx32 "x" 64 #define PRIx64 "llx" 65 #define PRIxPTR "llx" 44 stree_symbol_t *builtin_declare_fun(stree_csi_t *csi, const char *name); 45 void builtin_fun_add_arg(stree_symbol_t *fun_sym, const char *name); 66 46 67 #define PRIX8 "X" 68 #define PRIX16 "X" 69 #define PRIX32 "X" 70 #define PRIX64 "llX" 71 #define PRIXPTR "llX" 47 stree_symbol_t *builtin_find_lvl0(builtin_t *bi, const char *sym_name); 48 stree_symbol_t *builtin_find_lvl1(builtin_t *bi, const char *csi_name, 49 const char *sym_name); 50 51 void builtin_fun_bind(builtin_t *bi, const char *csi_name, 52 const char *sym_name, builtin_proc_t bproc); 72 53 73 54 #endif 74 75 /** @}76 */
Note:
See TracChangeset
for help on using the changeset viewer.
