/**************************************************************************** * @(#) Ndless - OS Table (Non-CAS 1.2.2398) * * Copyright (C) 2010 by ANNEHEIM Geoffrey and ARMAND Olivier * Contact: geoffrey.anneheim@gmail.com / olivier.calc@gmail.com * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. * * RCSID $Id$ ****************************************************************************/ #ifndef _OS_CALLS_H_ #define _OS_CALLS_H_ #define TCT_Local_Control_Interrupts_ 0x101922f8 #define memset_ 0x101d1214 #define memchr_ 0x101d0fe0 #define memcpy_ 0x101d105c #define memcmp_ 0x101d101c #define memmove_ 0x101d10e4 #define memrev_ 0x101d1a00 #define unlink_ 0x101d57f8 #define rename_ 0x101d512c #define fopen_ 0x101d0014 #define fread_ 0x101d0150 #define fwrite_ 0x101d0504 #define fclose_ 0x101cfa0c #define fgets_ 0x101cfd6c #define fgetc_ 0x101cfcc8 #define fputc_ 0x101d21b0 #define ungetc_ 0x101d07b8 #define fflush_ 0x101d2b58 #define ferror_ 0x101cfa88 #define fseek_ 0x101d028c #define ftell_ 0x101d03dc #define freopen_ 0x101d010c #define malloc_ 0x101cc9a8 #define calloc_ 0x101cc958 #define realloc_ 0x101cca18 #define free_ 0x101cc99c #define stat_ 0x101d551c #define create_path_filename_ 0x10006378 #define printf_ 0x101cdbbc #define puts_ 0x101d06f8 #define sprintf_ 0x101cdc7c #define vsprintf_ 0x101cdd30 #define fprintf_ 0x101cdb30 #define mkdir_ 0x101d3ab4 #define rmdir_ 0x101d5380 #define chdir_ 0x101d2bec #define set_current_path_ 0x101d2bec // same as chdir - leave in for ndless installation #define purge_directory_ 0x10051e5c #define remove_ 0x101d0748 #define power_off_ 0x10051200 #define ascii2utf16_ 0x1010cafc #define show_dialog_box_ 0x100146a4 #define show_dialog_box2_ 0x100144e4 //#define log_rs232_ ??0 //#define log_rs232_param2_ ??0 #define read_nand_ 0x101a64bc //#define keypad_type_ ??0 #define errno_addr_ 0x101caab4 #define strerror_ 0x101d1300 #define NU_Get_First_ 0x101d69e8 #define NU_Get_Next_ 0x101d6a80 #define NU_Done_ 0x101d6af8 #define NU_Set_Current_Dir_ 0x101d6fb0 #define NU_Current_Dir_ 0x101d7090 #define read_unaligned_longword_ 0x1012b698 #define read_unaligned_word_ 0x1012b6b8 #define write_unaligned_longword_ 0x1012be20 #define write_unaligned_word_ 0x1012be08 #define strcpy_ 0x101d2548 #define strncpy_ 0x101d1400 #define strcmp_ 0x101d12c0 #define strstr_ 0x101d14c4 #define strcat_ 0x10289604 #define strncmp_ 0x101d13a0 #define strncat_ 0x101d135c #define strlen_ 0x101d1334 #define strrchr_ 0x101d149c #define strchr_ 0x101d1294 #define isalpha_ 0x101cc880 #define isacsii_ 0x101cc8c4 #define isdigit_ 0x102f286c #define islower_ 0x101cc8e8 #define isprint_ 0x101cc8fc #define isspace_ 0x101cc910 #define issupper_ 0x101cc928 //#define isxdigit_ ?????????? #define tolower_ 0x101cc93c #define toupper_ 0x101d27a0 #define strpbrk_ 0x101d145c #define atoi_ 0x101d0850 //#define atol_ 0x101d08d0 #define atof_ 0x101d1b70 #define strtod_ 0x101d0c50 #define strtol_ 0x101d0f80 #define strtoul_ 0x102a3800 // create and set a fourth parameter to zero #define stdin ((FILE *)0x10699030) #define stdout ((FILE *)0x1069907c) #define stderr ((FILE *)0x106990bc) #endif