| Line 1... |
Line 1... |
| 1 |
//
|
1 |
//
|
| 2 |
//
|
2 |
//
|
| 3 |
// Copyright 2010 TheSeven
|
3 |
// Copyright 2010 TheSeven
|
| 4 |
//
|
4 |
//
|
| 5 |
//
|
5 |
//
|
| 6 |
// This file is part of emBIOS.
|
6 |
// This file is part of emCORE.
|
| 7 |
//
|
7 |
//
|
| 8 |
// emBIOS is free software: you can redistribute it and/or
|
8 |
// emCORE is free software: you can redistribute it and/or
|
| 9 |
// modify it under the terms of the GNU General Public License as
|
9 |
// modify it under the terms of the GNU General Public License as
|
| 10 |
// published by the Free Software Foundation, either version 2 of the
|
10 |
// published by the Free Software Foundation, either version 2 of the
|
| 11 |
// License, or (at your option) any later version.
|
11 |
// License, or (at your option) any later version.
|
| 12 |
//
|
12 |
//
|
| 13 |
// emBIOS is distributed in the hope that it will be useful,
|
13 |
// emCORE is distributed in the hope that it will be useful,
|
| 14 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 15 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
15 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
| 16 |
// See the GNU General Public License for more details.
|
16 |
// See the GNU General Public License for more details.
|
| 17 |
//
|
17 |
//
|
| 18 |
// You should have received a copy of the GNU General Public License along
|
18 |
// You should have received a copy of the GNU General Public License along
|
| 19 |
// with emBIOS. If not, see <http://www.gnu.org/licenses/>.
|
19 |
// with emCORE. If not, see <http://www.gnu.org/licenses/>.
|
| 20 |
//
|
20 |
//
|
| 21 |
//
|
21 |
//
|
| 22 |
|
22 |
|
| 23 |
|
23 |
|
| 24 |
#ifndef __SYSCALLWRAPPERS_H__
|
24 |
#ifndef __SYSCALLWRAPPERS_H__
|
| Line 27... |
Line 27... |
| 27 |
|
27 |
|
| 28 |
#define IN_APPLICATION_CODE
|
28 |
#define IN_APPLICATION_CODE
|
| 29 |
#include "syscallapi.h"
|
29 |
#include "syscallapi.h"
|
| 30 |
|
30 |
|
| 31 |
|
31 |
|
| 32 |
extern struct embios_syscall_table* __embios_syscall;
|
32 |
extern struct emcore_syscall_table* __emcore_syscall;
|
| 33 |
|
33 |
|
| 34 |
|
34 |
|
| 35 |
#define panic(args...) __embios_syscall->panic(args)
|
35 |
#define panic(args...) __emcore_syscall->panic(args)
|
| 36 |
#define panicf(args...) __embios_syscall->panicf(args)
|
36 |
#define panicf(args...) __emcore_syscall->panicf(args)
|
| 37 |
#define cprintf(args...) __embios_syscall->cprintf(args)
|
37 |
#define cprintf(args...) __emcore_syscall->cprintf(args)
|
| 38 |
#define cvprintf(args...) __embios_syscall->cvprintf(args)
|
38 |
#define cvprintf(args...) __emcore_syscall->cvprintf(args)
|
| 39 |
#define cputc(args...) __embios_syscall->cputc(args)
|
39 |
#define cputc(args...) __emcore_syscall->cputc(args)
|
| 40 |
#define cputs(args...) __embios_syscall->cputs(args)
|
40 |
#define cputs(args...) __emcore_syscall->cputs(args)
|
| 41 |
#define cwrite(args...) __embios_syscall->cwrite(args)
|
41 |
#define cwrite(args...) __emcore_syscall->cwrite(args)
|
| 42 |
#define cflush(args...) __embios_syscall->cflush(args)
|
42 |
#define cflush(args...) __emcore_syscall->cflush(args)
|
| 43 |
#define cgetc(args...) __embios_syscall->cgetc(args)
|
43 |
#define cgetc(args...) __emcore_syscall->cgetc(args)
|
| 44 |
#define cread(args...) __embios_syscall->cread(args)
|
44 |
#define cread(args...) __emcore_syscall->cread(args)
|
| 45 |
#define creada(args...) __embios_syscall->creada(args)
|
45 |
#define creada(args...) __emcore_syscall->creada(args)
|
| 46 |
#define opendir(args...) __embios_syscall->opendir(args)
|
46 |
#define opendir(args...) __emcore_syscall->opendir(args)
|
| 47 |
#define closedir(args...) __embios_syscall->closedir(args)
|
47 |
#define closedir(args...) __emcore_syscall->closedir(args)
|
| 48 |
#define readdir(args...) __embios_syscall->readdir(args)
|
48 |
#define readdir(args...) __emcore_syscall->readdir(args)
|
| 49 |
#define mkdir(args...) __embios_syscall->mkdir(args)
|
49 |
#define mkdir(args...) __emcore_syscall->mkdir(args)
|
| 50 |
#define rmdir(args...) __embios_syscall->rmdir(args)
|
50 |
#define rmdir(args...) __emcore_syscall->rmdir(args)
|
| 51 |
#define renderbmp(args...) __embios_syscall->renderbmp(args)
|
51 |
#define renderbmp(args...) __emcore_syscall->renderbmp(args)
|
| 52 |
#define renderchar(args...) __embios_syscall->renderchar(args)
|
52 |
#define renderchar(args...) __emcore_syscall->renderchar(args)
|
| 53 |
#define rendertext(args...) __embios_syscall->rendertext(args)
|
53 |
#define rendertext(args...) __emcore_syscall->rendertext(args)
|
| 54 |
#define renderfillrect(args...) __embios_syscall->renderfillrect(args)
|
54 |
#define renderfillrect(args...) __emcore_syscall->renderfillrect(args)
|
| 55 |
#define get_font_width(args...) __embios_syscall->get_font_width(args)
|
55 |
#define get_font_width(args...) __emcore_syscall->get_font_width(args)
|
| 56 |
#define get_font_height(args...) __embios_syscall->get_font_height(args)
|
56 |
#define get_font_height(args...) __emcore_syscall->get_font_height(args)
|
| 57 |
#define execimage(args...) __embios_syscall->execimage(args)
|
57 |
#define execimage(args...) __emcore_syscall->execimage(args)
|
| 58 |
#define ftruncate(args...) __embios_syscall->ftruncate(args)
|
58 |
#define ftruncate(args...) __emcore_syscall->ftruncate(args)
|
| 59 |
#define fsync(args...) __embios_syscall->fsync(args)
|
59 |
#define fsync(args...) __emcore_syscall->fsync(args)
|
| 60 |
#define close(args...) __embios_syscall->close(args)
|
60 |
#define close(args...) __emcore_syscall->close(args)
|
| 61 |
#define write(args...) __embios_syscall->write(args)
|
61 |
#define write(args...) __emcore_syscall->write(args)
|
| 62 |
#define read(args...) __embios_syscall->read(args)
|
62 |
#define read(args...) __emcore_syscall->read(args)
|
| 63 |
#define lseek(args...) __embios_syscall->lseek(args)
|
63 |
#define lseek(args...) __emcore_syscall->lseek(args)
|
| 64 |
#define remove(args...) __embios_syscall->remove(args)
|
64 |
#define remove(args...) __emcore_syscall->remove(args)
|
| 65 |
#define file_open(args...) __embios_syscall->file_open(args)
|
65 |
#define file_open(args...) __emcore_syscall->file_open(args)
|
| 66 |
#define rename(args...) __embios_syscall->rename(args)
|
66 |
#define rename(args...) __emcore_syscall->rename(args)
|
| 67 |
#define file_creat(args...) __embios_syscall->file_creat(args)
|
67 |
#define file_creat(args...) __emcore_syscall->file_creat(args)
|
| 68 |
#define filesize(args...) __embios_syscall->filesize(args)
|
68 |
#define filesize(args...) __emcore_syscall->filesize(args)
|
| 69 |
#define format(args...) __embios_syscall->format(args)
|
69 |
#define format(args...) __emcore_syscall->format(args)
|
| 70 |
#define vuprintf(args...) __embios_syscall->vuprintf(args)
|
70 |
#define vuprintf(args...) __emcore_syscall->vuprintf(args)
|
| 71 |
#define lcdconsole_putc_noblit(args...) __embios_syscall->lcdconsole_putc_noblit(args)
|
71 |
#define lcdconsole_putc_noblit(args...) __emcore_syscall->lcdconsole_putc_noblit(args)
|
| 72 |
#define lcdconsole_puts_noblit(args...) __embios_syscall->lcdconsole_puts_noblit(args)
|
72 |
#define lcdconsole_puts_noblit(args...) __emcore_syscall->lcdconsole_puts_noblit(args)
|
| 73 |
#define lcdconsole_write_noblit(args...) __embios_syscall->lcdconsole_write_noblit(args)
|
73 |
#define lcdconsole_write_noblit(args...) __emcore_syscall->lcdconsole_write_noblit(args)
|
| 74 |
#define lcdconsole_update(args...) __embios_syscall->lcdconsole_update(args)
|
74 |
#define lcdconsole_update(args...) __emcore_syscall->lcdconsole_update(args)
|
| 75 |
#define lcdconsole_putc(args...) __embios_syscall->lcdconsole_putc(args)
|
75 |
#define lcdconsole_putc(args...) __emcore_syscall->lcdconsole_putc(args)
|
| 76 |
#define lcdconsole_puts(args...) __embios_syscall->lcdconsole_puts(args)
|
76 |
#define lcdconsole_puts(args...) __emcore_syscall->lcdconsole_puts(args)
|
| 77 |
#define lcdconsole_write(args...) __embios_syscall->lcdconsole_write(args)
|
77 |
#define lcdconsole_write(args...) __emcore_syscall->lcdconsole_write(args)
|
| 78 |
#define lcdconsole_get_current_x(args...) __embios_syscall->lcdconsole_get_current_x(args)
|
78 |
#define lcdconsole_get_current_x(args...) __emcore_syscall->lcdconsole_get_current_x(args)
|
| 79 |
#define lcdconsole_get_current_y(args...) __embios_syscall->lcdconsole_get_current_y(args)
|
79 |
#define lcdconsole_get_current_y(args...) __emcore_syscall->lcdconsole_get_current_y(args)
|
| 80 |
#define lcdconsole_get_lineend_x(args...) __embios_syscall->lcdconsole_get_lineend_x(args)
|
80 |
#define lcdconsole_get_lineend_x(args...) __emcore_syscall->lcdconsole_get_lineend_x(args)
|
| 81 |
#define lcdconsole_get_lineend_y(args...) __embios_syscall->lcdconsole_get_lineend_y(args)
|
81 |
#define lcdconsole_get_lineend_y(args...) __emcore_syscall->lcdconsole_get_lineend_y(args)
|
| 82 |
#define lcdconsole_progressbar(args...) __embios_syscall->lcdconsole_progressbar(args)
|
82 |
#define lcdconsole_progressbar(args...) __emcore_syscall->lcdconsole_progressbar(args)
|
| 83 |
#define progressbar_init(args...) __embios_syscall->progressbar_init(args)
|
83 |
#define progressbar_init(args...) __emcore_syscall->progressbar_init(args)
|
| 84 |
#define progressbar_setpos(args...) __embios_syscall->progressbar_setpos(args)
|
84 |
#define progressbar_setpos(args...) __emcore_syscall->progressbar_setpos(args)
|
| 85 |
#define shutdown(args...) __embios_syscall->shutdown(args)
|
85 |
#define shutdown(args...) __emcore_syscall->shutdown(args)
|
| 86 |
#define storage_read_sectors_md(args...) __embios_syscall->storage_read_sectors_md(args)
|
86 |
#define storage_read_sectors_md(args...) __emcore_syscall->storage_read_sectors_md(args)
|
| 87 |
#define storage_write_sectors_md(args...) __embios_syscall->storage_write_sectors_md(args)
|
87 |
#define storage_write_sectors_md(args...) __emcore_syscall->storage_write_sectors_md(args)
|
| 88 |
#define storage_get_info(args...) __embios_syscall->storage_get_info(args)
|
88 |
#define storage_get_info(args...) __emcore_syscall->storage_get_info(args)
|
| 89 |
#define strcasecmp(args...) __embios_syscall->strcasecmp(args)
|
89 |
#define strcasecmp(args...) __emcore_syscall->strcasecmp(args)
|
| 90 |
#define strncasecmp(args...) __embios_syscall->strncasecmp(args)
|
90 |
#define strncasecmp(args...) __emcore_syscall->strncasecmp(args)
|
| 91 |
#define strcasestr(args...) __embios_syscall->strcasestr(args)
|
91 |
#define strcasestr(args...) __emcore_syscall->strcasestr(args)
|
| 92 |
#define strlcat(args...) __embios_syscall->strlcat(args)
|
92 |
#define strlcat(args...) __emcore_syscall->strlcat(args)
|
| 93 |
#define strlcpy(args...) __embios_syscall->strlcpy(args)
|
93 |
#define strlcpy(args...) __emcore_syscall->strlcpy(args)
|
| 94 |
#define mutex_init(args...) __embios_syscall->mutex_init(args)
|
94 |
#define mutex_init(args...) __emcore_syscall->mutex_init(args)
|
| 95 |
#define mutex_lock(args...) __embios_syscall->mutex_lock(args)
|
95 |
#define mutex_lock(args...) __emcore_syscall->mutex_lock(args)
|
| 96 |
#define mutex_unlock(args...) __embios_syscall->mutex_unlock(args)
|
96 |
#define mutex_unlock(args...) __emcore_syscall->mutex_unlock(args)
|
| 97 |
#define wakeup_init(args...) __embios_syscall->wakeup_init(args)
|
97 |
#define wakeup_init(args...) __emcore_syscall->wakeup_init(args)
|
| 98 |
#define wakeup_wait(args...) __embios_syscall->wakeup_wait(args)
|
98 |
#define wakeup_wait(args...) __emcore_syscall->wakeup_wait(args)
|
| 99 |
#define wakeup_signal(args...) __embios_syscall->wakeup_signal(args)
|
99 |
#define wakeup_signal(args...) __emcore_syscall->wakeup_signal(args)
|
| 100 |
#define sleep(args...) __embios_syscall->sleep(args)
|
100 |
#define sleep(args...) __emcore_syscall->sleep(args)
|
| 101 |
#define thread_create(args...) __embios_syscall->thread_create(args)
|
101 |
#define thread_create(args...) __emcore_syscall->thread_create(args)
|
| 102 |
#define thread_exit(args...) __embios_syscall->thread_exit(args)
|
102 |
#define thread_exit(args...) __emcore_syscall->thread_exit(args)
|
| 103 |
#define thread_suspend(args...) __embios_syscall->thread_suspend(args)
|
103 |
#define thread_suspend(args...) __emcore_syscall->thread_suspend(args)
|
| 104 |
#define thread_resume(args...) __embios_syscall->thread_resume(args)
|
104 |
#define thread_resume(args...) __emcore_syscall->thread_resume(args)
|
| 105 |
#define thread_terminate(args...) __embios_syscall->thread_terminate(args)
|
105 |
#define thread_terminate(args...) __emcore_syscall->thread_terminate(args)
|
| 106 |
#define __errno(args...) __embios_syscall->__errno(args)
|
106 |
#define __errno(args...) __emcore_syscall->__errno(args)
|
| 107 |
#define ucl_decompress(args...) __embios_syscall->ucl_decompress(args)
|
107 |
#define ucl_decompress(args...) __emcore_syscall->ucl_decompress(args)
|
| 108 |
#define bootflash_filesize(args...) __embios_syscall->bootflash_filesize(args)
|
108 |
#define bootflash_filesize(args...) __emcore_syscall->bootflash_filesize(args)
|
| 109 |
#define bootflash_attributes(args...) __embios_syscall->bootflash_attributes(args)
|
109 |
#define bootflash_attributes(args...) __emcore_syscall->bootflash_attributes(args)
|
| 110 |
#define bootflash_getaddr(args...) __embios_syscall->bootflash_getaddr(args)
|
110 |
#define bootflash_getaddr(args...) __emcore_syscall->bootflash_getaddr(args)
|
| 111 |
#define bootflash_read(args...) __embios_syscall->bootflash_read(args)
|
111 |
#define bootflash_read(args...) __emcore_syscall->bootflash_read(args)
|
| 112 |
#define bootflash_readraw(args...) __embios_syscall->bootflash_readraw(args)
|
112 |
#define bootflash_readraw(args...) __emcore_syscall->bootflash_readraw(args)
|
| 113 |
#define bootflash_writeraw(args...) __embios_syscall->bootflash_writeraw(args)
|
113 |
#define bootflash_writeraw(args...) __emcore_syscall->bootflash_writeraw(args)
|
| 114 |
#define bootflash_getrawaddr(args...) __embios_syscall->bootflash_getrawaddr(args)
|
114 |
#define bootflash_getrawaddr(args...) __emcore_syscall->bootflash_getrawaddr(args)
|
| 115 |
#define bootflash_is_memmapped(args...) __embios_syscall->bootflash_is_memmapped(args)
|
115 |
#define bootflash_is_memmapped(args...) __emcore_syscall->bootflash_is_memmapped(args)
|
| 116 |
#define read_native_timer(args...) __embios_syscall->read_native_timer(args)
|
116 |
#define read_native_timer(args...) __emcore_syscall->read_native_timer(args)
|
| 117 |
#define read_usec_timer(args...) __embios_syscall->read_usec_timer(args)
|
117 |
#define read_usec_timer(args...) __emcore_syscall->read_usec_timer(args)
|
| 118 |
#define i2c_send(args...) __embios_syscall->i2c_send(args)
|
118 |
#define i2c_send(args...) __emcore_syscall->i2c_send(args)
|
| 119 |
#define i2c_recv(args...) __embios_syscall->i2c_recv(args)
|
119 |
#define i2c_recv(args...) __emcore_syscall->i2c_recv(args)
|
| 120 |
#define i2c_sendbyte(args...) __embios_syscall->i2c_sendbyte(args)
|
120 |
#define i2c_sendbyte(args...) __emcore_syscall->i2c_sendbyte(args)
|
| 121 |
#define i2c_recvbyte(args...) __embios_syscall->i2c_recvbyte(args)
|
121 |
#define i2c_recvbyte(args...) __emcore_syscall->i2c_recvbyte(args)
|
| 122 |
#define interrupt_enable(args...) __embios_syscall->interrupt_enable(args)
|
122 |
#define interrupt_enable(args...) __emcore_syscall->interrupt_enable(args)
|
| 123 |
#define interrupt_set_handler(args...) __embios_syscall->interrupt_set_handler(args)
|
123 |
#define interrupt_set_handler(args...) __emcore_syscall->interrupt_set_handler(args)
|
| 124 |
#define int_timer_set_handler(args...) __embios_syscall->int_timer_set_handler(args)
|
124 |
#define int_timer_set_handler(args...) __emcore_syscall->int_timer_set_handler(args)
|
| 125 |
#define displaylcd(args...) __embios_syscall->displaylcd(args)
|
125 |
#define displaylcd(args...) __emcore_syscall->displaylcd(args)
|
| 126 |
#define displaylcd_sync(args...) __embios_syscall->displaylcd_sync(args)
|
126 |
#define displaylcd_sync(args...) __emcore_syscall->displaylcd_sync(args)
|
| 127 |
#define displaylcd_busy(args...) __embios_syscall->displaylcd_busy(args)
|
127 |
#define displaylcd_busy(args...) __emcore_syscall->displaylcd_busy(args)
|
| 128 |
#define displaylcd_safe(args...) __embios_syscall->displaylcd_safe(args)
|
128 |
#define displaylcd_safe(args...) __emcore_syscall->displaylcd_safe(args)
|
| 129 |
#define lcd_get_width(args...) __embios_syscall->lcd_get_width(args)
|
129 |
#define lcd_get_width(args...) __emcore_syscall->lcd_get_width(args)
|
| 130 |
#define lcd_get_height(args...) __embios_syscall->lcd_get_height(args)
|
130 |
#define lcd_get_height(args...) __emcore_syscall->lcd_get_height(args)
|
| 131 |
#define lcd_get_bytes_per_pixel(args...) __embios_syscall->lcd_get_bytes_per_pixel(args)
|
131 |
#define lcd_get_bytes_per_pixel(args...) __emcore_syscall->lcd_get_bytes_per_pixel(args)
|
| 132 |
#define lcd_translate_color(args...) __embios_syscall->lcd_translate_color(args)
|
132 |
#define lcd_translate_color(args...) __emcore_syscall->lcd_translate_color(args)
|
| 133 |
#define clean_dcache(args...) __embios_syscall->clean_dcache(args)
|
133 |
#define clean_dcache(args...) __emcore_syscall->clean_dcache(args)
|
| 134 |
#define invalidate_dcache(args...) __embios_syscall->invalidate_dcache(args)
|
134 |
#define invalidate_dcache(args...) __emcore_syscall->invalidate_dcache(args)
|
| 135 |
#define invalidate_icache(args...) __embios_syscall->invalidate_icache(args)
|
135 |
#define invalidate_icache(args...) __emcore_syscall->invalidate_icache(args)
|
| 136 |
#define power_off(args...) __embios_syscall->power_off(args)
|
136 |
#define power_off(args...) __emcore_syscall->power_off(args)
|
| 137 |
#define charging_state(args...) __embios_syscall->charging_state(args)
|
137 |
#define charging_state(args...) __emcore_syscall->charging_state(args)
|
| 138 |
#define atoi(args...) __embios_syscall->atoi(args)
|
138 |
#define atoi(args...) __emcore_syscall->atoi(args)
|
| 139 |
#define memchr(args...) __embios_syscall->memchr(args)
|
139 |
#define memchr(args...) __emcore_syscall->memchr(args)
|
| 140 |
#define memcmp(args...) __embios_syscall->memcmp(args)
|
140 |
#define memcmp(args...) __emcore_syscall->memcmp(args)
|
| 141 |
#define memcpy(args...) __embios_syscall->memcpy(args)
|
141 |
#define memcpy(args...) __emcore_syscall->memcpy(args)
|
| 142 |
#define memmove(args...) __embios_syscall->memmove(args)
|
142 |
#define memmove(args...) __emcore_syscall->memmove(args)
|
| 143 |
#define memset(args...) __embios_syscall->memset(args)
|
143 |
#define memset(args...) __emcore_syscall->memset(args)
|
| 144 |
#define qsort(args...) __embios_syscall->qsort(args)
|
144 |
#define qsort(args...) __emcore_syscall->qsort(args)
|
| 145 |
#define srand(args...) __embios_syscall->srand(args)
|
145 |
#define srand(args...) __emcore_syscall->srand(args)
|
| 146 |
#define rand(args...) __embios_syscall->rand(args)
|
146 |
#define rand(args...) __emcore_syscall->rand(args)
|
| 147 |
#define snprintf(args...) __embios_syscall->snprintf(args)
|
147 |
#define snprintf(args...) __emcore_syscall->snprintf(args)
|
| 148 |
#define vsnprintf(args...) __embios_syscall->vsnprintf(args)
|
148 |
#define vsnprintf(args...) __emcore_syscall->vsnprintf(args)
|
| 149 |
#define isspace(args...) __embios_syscall->isspace(args)
|
149 |
#define isspace(args...) __emcore_syscall->isspace(args)
|
| 150 |
#define isdigit(args...) __embios_syscall->isdigit(args)
|
150 |
#define isdigit(args...) __emcore_syscall->isdigit(args)
|
| 151 |
#define isxdigit(args...) __embios_syscall->isxdigit(args)
|
151 |
#define isxdigit(args...) __emcore_syscall->isxdigit(args)
|
| 152 |
#define sscanf(args...) __embios_syscall->sscanf(args)
|
152 |
#define sscanf(args...) __emcore_syscall->sscanf(args)
|
| 153 |
#define strcat(args...) __embios_syscall->strcat(args)
|
153 |
#define strcat(args...) __emcore_syscall->strcat(args)
|
| 154 |
#define strchr(args...) __embios_syscall->strchr(args)
|
154 |
#define strchr(args...) __emcore_syscall->strchr(args)
|
| 155 |
#define strcmp(args...) __embios_syscall->strcmp(args)
|
155 |
#define strcmp(args...) __emcore_syscall->strcmp(args)
|
| 156 |
#define strcpy(args...) __embios_syscall->strcpy(args)
|
156 |
#define strcpy(args...) __emcore_syscall->strcpy(args)
|
| 157 |
#define strlen(args...) __embios_syscall->strlen(args)
|
157 |
#define strlen(args...) __emcore_syscall->strlen(args)
|
| 158 |
#define strncmp(args...) __embios_syscall->strncmp(args)
|
158 |
#define strncmp(args...) __emcore_syscall->strncmp(args)
|
| 159 |
#define strrchr(args...) __embios_syscall->strrchr(args)
|
159 |
#define strrchr(args...) __emcore_syscall->strrchr(args)
|
| 160 |
#define strstr(args...) __embios_syscall->strstr(args)
|
160 |
#define strstr(args...) __emcore_syscall->strstr(args)
|
| 161 |
#define strtok_r(args...) __embios_syscall->strtok_r(args)
|
161 |
#define strtok_r(args...) __emcore_syscall->strtok_r(args)
|
| 162 |
#define backlight_on(args...) __embios_syscall->backlight_on(args)
|
162 |
#define backlight_on(args...) __emcore_syscall->backlight_on(args)
|
| 163 |
#define backlight_set_fade(args...) __embios_syscall->backlight_set_fade(args)
|
163 |
#define backlight_set_fade(args...) __emcore_syscall->backlight_set_fade(args)
|
| 164 |
#define backlight_set_brightness(args...) __embios_syscall->backlight_set_brightness(args)
|
164 |
#define backlight_set_brightness(args...) __emcore_syscall->backlight_set_brightness(args)
|
| 165 |
#define get_platform_id(args...) __embios_syscall->get_platform_id(args)
|
165 |
#define get_platform_id(args...) __emcore_syscall->get_platform_id(args)
|
| 166 |
#define tlsf_create(args...) __embios_syscall->tlsf_create(args)
|
166 |
#define tlsf_create(args...) __emcore_syscall->tlsf_create(args)
|
| 167 |
#define tlsf_destroy(args...) __embios_syscall->tlsf_destroy(args)
|
167 |
#define tlsf_destroy(args...) __emcore_syscall->tlsf_destroy(args)
|
| 168 |
#define tlsf_malloc(args...) __embios_syscall->tlsf_malloc(args)
|
168 |
#define tlsf_malloc(args...) __emcore_syscall->tlsf_malloc(args)
|
| 169 |
#define tlsf_memalign(args...) __embios_syscall->tlsf_memalign(args)
|
169 |
#define tlsf_memalign(args...) __emcore_syscall->tlsf_memalign(args)
|
| 170 |
#define tlsf_realloc(args...) __embios_syscall->tlsf_realloc(args)
|
170 |
#define tlsf_realloc(args...) __emcore_syscall->tlsf_realloc(args)
|
| 171 |
#define tlsf_free(args...) __embios_syscall->tlsf_free(args)
|
171 |
#define tlsf_free(args...) __emcore_syscall->tlsf_free(args)
|
| 172 |
#define tlsf_walk_heap(args...) __embios_syscall->tlsf_walk_heap(args)
|
172 |
#define tlsf_walk_heap(args...) __emcore_syscall->tlsf_walk_heap(args)
|
| 173 |
#define tlsf_check_heap(args...) __embios_syscall->tlsf_check_heap(args)
|
173 |
#define tlsf_check_heap(args...) __emcore_syscall->tlsf_check_heap(args)
|
| 174 |
#define tlsf_block_size(args...) __embios_syscall->tlsf_block_size(args)
|
174 |
#define tlsf_block_size(args...) __emcore_syscall->tlsf_block_size(args)
|
| 175 |
#define tlsf_overhead(args...) __embios_syscall->tlsf_overhead(args)
|
175 |
#define tlsf_overhead(args...) __emcore_syscall->tlsf_overhead(args)
|
| 176 |
#define execfirmware(args...) __embios_syscall->execfirmware(args)
|
176 |
#define execfirmware(args...) __emcore_syscall->execfirmware(args)
|
| 177 |
#define button_register_handler(args...) __embios_syscall->button_register_handler(args)
|
177 |
#define button_register_handler(args...) __emcore_syscall->button_register_handler(args)
|
| 178 |
#define button_unregister_handler(args...) __embios_syscall->button_unregister_handler(args)
|
178 |
#define button_unregister_handler(args...) __emcore_syscall->button_unregister_handler(args)
|
| 179 |
#define clickwheel_get_state(args...) __embios_syscall->clickwheel_get_state(args)
|
179 |
#define clickwheel_get_state(args...) __emcore_syscall->clickwheel_get_state(args)
|
| 180 |
#define clockgate_enable(args...) __embios_syscall->clockgate_enable(args)
|
180 |
#define clockgate_enable(args...) __emcore_syscall->clockgate_enable(args)
|
| 181 |
#define context_switch(args...) __embios_syscall->context_switch(args)
|
181 |
#define context_switch(args...) __emcore_syscall->context_switch(args)
|
| 182 |
#define disk_mount(args...) __embios_syscall->disk_mount(args)
|
182 |
#define disk_mount(args...) __emcore_syscall->disk_mount(args)
|
| 183 |
#define disk_unmount(args...) __embios_syscall->disk_unmount(args)
|
183 |
#define disk_unmount(args...) __emcore_syscall->disk_unmount(args)
|
| 184 |
#define hwkeyaes(args...) __embios_syscall->hwkeyaes(args)
|
184 |
#define hwkeyaes(args...) __emcore_syscall->hwkeyaes(args)
|
| 185 |
#define hmacsha1(args...) __embios_syscall->hmacsha1(args)
|
185 |
#define hmacsha1(args...) __emcore_syscall->hmacsha1(args)
|
| 186 |
#define reset(args...) __embios_syscall->reset(args)
|
186 |
#define reset(args...) __emcore_syscall->reset(args)
|
| 187 |
#define int_dma_set_handler(args...) __embios_syscall->int_dma_set_handler(args)
|
187 |
#define int_dma_set_handler(args...) __emcore_syscall->int_dma_set_handler(args)
|
| 188 |
|
188 |
|
| 189 |
|
189 |
|
| 190 |
#endif
|
190 |
#endif
|