Changeset 944 for trunk/include/platform.h
- Timestamp:
- 09/19/10 22:52:57 (3 years ago)
- File:
-
- 1 edited
-
trunk/include/platform.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/platform.h
r871 r944 485 485 unsigned call_func_ptr(void *func, const unsigned *args, unsigned n_args); 486 486 487 /* 488 shut down the display and reboot the camera. 489 bootfile is the name of the file to boot. 490 Must be an unencoded ARM binary, will be loaded at 0x1900 491 For cameras which use encoded diskboot, loader/<camera>/main.bin may be used 492 For cameras which do not use encoded diskboot, DISKBOOT.BIN may be used 493 No sanity checking is performed on the binary, except that the size is >= 4 bytes 494 If bootfile is NULL, camera firmware is rebooted. DISKBOOT.BIN will be loaded or not according to normal rules 495 returns 0 on failure, does not return on success 496 does NOT save camera settings to flash 497 does NOT retract lens before rebooting 498 calling from playback mode is recommended 499 */ 500 int reboot(const char *bootfile); 487 501 488 502 #define started() debug_led(1)
Note: See TracChangeset
for help on using the changeset viewer.