GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / cfe / cfe / applets / README
blobb6229977354ce89af2d253030d689b9e08d04083
2 This directory contains "applets" - simple programs to let
3 us test the callbacks into CFE.
5 You should be able to compile these programs and load them
6 via the TFTP loader in CFE, and when run, they will call
7 the APIs in CFE to display messages and such.
9 The files cfe_api.c, cfe_api.h, and cfe_api_int.h are versions
10 of the same files from ../applets, customized to build with this
11 stand-alone build environment.  Typically you won't want to copy
12 these.  Instead, you'll want to copy the versions in ../applets and
13 customize them as needed.
15 Pay particular attention to the MIPS calling conventions
16 you are using.  In particular, CFE uses 64-bit register
17 values.  If you compile your program with -mips1 or -mips2,
18 the 64-bit arguments will be passed as 2 32-bt registers.
20 In most cases, CFE only uses the lower 32 bits, since
21 it can be called from either 32 or 64-bit applications.