diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-02-18 01:37:58 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-02-18 01:37:58 +0000 |
commit | 4b3511028e3733df348cc410a60ac5f127d5c2a4 (patch) | |
tree | 8cee33f7e9b7bb7f7fc2a13ee6f06562ad6ff1eb /nuttx/arch/hc/src/common/up_internal.h | |
parent | 9554b0fe8c710c7cc1139845b288f079db661038 (diff) | |
download | px4-nuttx-4b3511028e3733df348cc410a60ac5f127d5c2a4.tar.gz px4-nuttx-4b3511028e3733df348cc410a60ac5f127d5c2a4.tar.bz2 px4-nuttx-4b3511028e3733df348cc410a60ac5f127d5c2a4.zip |
Add standard context switching functions for m9s12
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3301 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/hc/src/common/up_internal.h')
-rwxr-xr-x | nuttx/arch/hc/src/common/up_internal.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/arch/hc/src/common/up_internal.h b/nuttx/arch/hc/src/common/up_internal.h index b32087312..8879eee57 100755 --- a/nuttx/arch/hc/src/common/up_internal.h +++ b/nuttx/arch/hc/src/common/up_internal.h @@ -130,12 +130,12 @@ extern void up_boot(void); /* Context switching functions */ -extern void up_copystate(uint32_t *dest, uint32_t *src); -extern void up_decodeirq(uint32_t *regs); +extern void up_copystate(uint8_t *dest, uint8_t *src); +extern void up_decodeirq(uint8_t *regs); extern void up_irqinitialize(void); -extern int up_saveusercontext(uint32_t *saveregs); -extern void up_fullcontextrestore(uint32_t *restoreregs) __attribute__ ((noreturn)); -extern void up_switchcontext(uint32_t *saveregs, uint32_t *restoreregs); +extern int up_saveusercontext(uint8_t *saveregs); +extern void up_fullcontextrestore(uint8_t *restoreregs) __attribute__ ((noreturn)); +extern void up_switchcontext(uint8_t *saveregs, uint8_t *restoreregs); /* Interrupt handling */ |