diff options
Diffstat (limited to 'c/src/lib')
-rw-r--r-- | c/src/lib/libbsp/m68k/uC5282/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/m68k/uC5282/startup/bspstart.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/m68k/uC5282/ChangeLog b/c/src/lib/libbsp/m68k/uC5282/ChangeLog index 452ab448a3..fe1babdaa7 100644 --- a/c/src/lib/libbsp/m68k/uC5282/ChangeLog +++ b/c/src/lib/libbsp/m68k/uC5282/ChangeLog @@ -1,3 +1,7 @@ +2006-08-01 Eric Norum <norume@aps.anl.gov> + + * startup/bspstart.c: Add bsp_setbenv system call. + 2006-05-15 Eric Norum <norume@aps.anl.gov> * startup/bspstart.c: Add checks for FPGA interrupt request overflow. diff --git a/c/src/lib/libbsp/m68k/uC5282/startup/bspstart.c b/c/src/lib/libbsp/m68k/uC5282/startup/bspstart.c index 805d35565e..956be3eb00 100644 --- a/c/src/lib/libbsp/m68k/uC5282/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/uC5282/startup/bspstart.c @@ -411,12 +411,13 @@ type bsp_##name(d1type d1, d2type d2, d3type d3) \ #define SysCode_program 5 /* program flash memory */ #define SysCode_gethwaddr 12 /* get hardware address */ #define SysCode_getbenv 14 /* get bootloader environment variable */ -#define SysCode_setbenv 15 /* get bootloader environment variable */ +#define SysCode_setbenv 15 /* set bootloader environment variable */ #define SysCode_flash_erase_range 19 /* erase a section of flash */ #define SysCode_flash_write_range 20 /* write a section of flash */ syscall_1(int, reset, int, flags) syscall_1(unsigned const char *, gethwaddr, int, a) syscall_1(const char *, getbenv, const char *, a) +syscall_1(int, setbenv, const char *, a) syscall_2(int, program, bsp_mnode_t *, chain, int, flags) syscall_3(int, flash_erase_range, volatile unsigned short *, flashptr, int, start, int, end); syscall_3(int, flash_write_range, volatile unsigned short *, flashptr, bsp_mnode_t *, chain, int, offset); |