summaryrefslogtreecommitdiffstats
path: root/api_examples
Commit message (Collapse)AuthorAgeFilesLines
* .gitignore for generated files in api_examples directoryJon Smirl2009-03-201-0/+7
| | | | | | | Add .gitignore for generated files in api_examples directory Signed-off-by: Jon Smirl <jonsmirl@gmail.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
* API: Improve glue mid-layer of the API demo application.Rafal Jaworowski2009-02-183-44/+38
| | | | | | | | | | | | | | | - Extend ub_dev_read() and ub_dev_recv() so they return the length actually read, which allows for better control and error handling (this introduces additional error code API_ESYSC returned by the glue mid-layer). - Clean up definitions naming and usage. - Other minor cosmetics. Note these changes do not touch the API proper, so the interface between U-Boot and standalone applications remains unchanged. Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
* API: Only output test data when reading was successful.Rafal Jaworowski2009-02-181-3/+5
| | | | Signed-off-by: Rafal Czubak <rcz@semihalf.com>
* API: Provide syscall entry point for the ARM architecture.Rafal Jaworowski2009-02-182-5/+19
| | | | | Signed-off-by: Rafal Czubak <rcz@semihalf.com> Acked-by: Rafal Jaworowski <raj@semihalf.com>
* API: Use stack pointer as API signature search hint in the glue layer.Rafal Jaworowski2009-02-183-10/+23
| | | | | | | | | | De-hardcode range in RAM we search for the API signature. Instead use the stack pointer as a hint to narrow down the range in which the signature could reside (it is malloc'ed on the U-Boot heap, and is hoped to remain in some proximity from stack area). Adjust PowerPC code in API demo to the new scheme. Signed-off-by: Rafal Czubak <rcz@semihalf.com> Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
* Fix merge problemsStefan Roese2008-08-061-18/+60
| | | | Signed-off-by: Stefan Roese <sr@denx.de>
* API: Provide dummy halt() in the glue layer.Rafal Jaworowski2008-01-291-1/+6
| | | | | | This fixes a demo app link failure on platforms configured with CONFIG_PANIC_HANG. Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
* API: Convert conditional building to the new scheme.Rafal Jaworowski2008-01-291-7/+13
| | | | | | | This fixes a build breakage with CONFIG_API enabled, which appeared after the recent changes in the U-Boot build system. Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
* Coding Style cleanup; update CHANGELOGWolfgang Denk2008-01-103-4/+4
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* API for external applications.Rafal Jaworowski2008-01-096-0/+982
This is an API for external (standalone) applications running on top of U-Boot, and is meant to be more extensible and robust than the existing jumptable mechanism. It is similar to UNIX syscall approach. See api/README for more details. Included is the demo application using this new framework (api_examples). Please note this is still an experimental feature, and is turned off by default. Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
OpenPOWER on IntegriCloud