summaryrefslogtreecommitdiff
path: root/nuttx/arch/z16/src/common/up_schedulesigaction.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-31 17:59:22 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-31 17:59:22 +0000
commit8a99a139ba3683e981c9e71c57f7fce313d92cae (patch)
tree2dfeb694139cc0dbfcbb69bcbaae8ff6ddecbdd3 /nuttx/arch/z16/src/common/up_schedulesigaction.c
parentb1fd89b2e088a49381c698ef69904124605e81dc (diff)
downloadpx4-nuttx-8a99a139ba3683e981c9e71c57f7fce313d92cae.tar.gz
px4-nuttx-8a99a139ba3683e981c9e71c57f7fce313d92cae.tar.bz2
px4-nuttx-8a99a139ba3683e981c9e71c57f7fce313d92cae.zip
Z16F integration changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@595 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z16/src/common/up_schedulesigaction.c')
-rw-r--r--nuttx/arch/z16/src/common/up_schedulesigaction.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/z16/src/common/up_schedulesigaction.c b/nuttx/arch/z16/src/common/up_schedulesigaction.c
index 3284fd1bf..f085b2e95 100644
--- a/nuttx/arch/z16/src/common/up_schedulesigaction.c
+++ b/nuttx/arch/z16/src/common/up_schedulesigaction.c
@@ -104,7 +104,7 @@ void up_schedule_sigaction(FAR _TCB *tcb, sig_deliver_t sigdeliver)
{
/* Refuse to handle nested signal actions */
- dbg("tcb=0x%p sigdeliver=0x%04x\n", tcb, (chipreg_t)sigdeliver);
+ dbg("tcb=0x%p sigdeliver=0x%06x\n", tcb, (uint32)sigdeliver);
if (!tcb->xcp.sigdeliver)
{
@@ -141,7 +141,7 @@ void up_schedule_sigaction(FAR _TCB *tcb, sig_deliver_t sigdeliver)
else
{
- uint32 *current_pc = (uint32*)&current_regs[REG_PC];
+ FAR uint32 *current_pc = (FAR uint32*)&current_regs[REG_PC];
/* Save the return address and interrupt state.
* These will be restored by the signal trampoline after