Missed uint32 type conversions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2372 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
7692347cfa
commit
54c5a70765
@ -78,7 +78,7 @@
|
||||
|
||||
void up_initial_state(_TCB *tcb)
|
||||
{
|
||||
uint32 *reg32 = (uint32_t*)tcb->xcp.regs;
|
||||
uint32_t *reg32 = (uint32_t*)tcb->xcp.regs;
|
||||
|
||||
/* Initialize the initial exception register context structure */
|
||||
|
||||
|
@ -76,7 +76,7 @@
|
||||
#ifdef CONFIG_ARCH_STACKDUMP
|
||||
static void up_registerdump(void)
|
||||
{
|
||||
FAR uint32 *regs32 = (FAR uint32_t*)current_regs;
|
||||
FAR uint32_t *regs32 = (FAR uint32_t*)current_regs;
|
||||
lldbg("R0 :%08x R1 :%08x R2 :%08x R3 :%08x "
|
||||
"R4 :%08x R5 :%08x R6 :%08x R7 :%08x\n"
|
||||
regs32[REG_R0/2], regs32[REG_R1/2], regs32[REG_R2/2], regs32[REG_R3/2],
|
||||
|
@ -141,7 +141,7 @@ void up_schedule_sigaction(FAR _TCB *tcb, sig_deliver_t sigdeliver)
|
||||
|
||||
else
|
||||
{
|
||||
FAR uint32 *current_pc = (FAR uint32_t*)¤t_regs[REG_PC];
|
||||
FAR uint32_t *current_pc = (FAR uint32_t*)¤t_regs[REG_PC];
|
||||
|
||||
/* Save the return address and interrupt state. These will be
|
||||
* restored by the signal trampoline after the signals have
|
||||
@ -174,7 +174,7 @@ void up_schedule_sigaction(FAR _TCB *tcb, sig_deliver_t sigdeliver)
|
||||
|
||||
else
|
||||
{
|
||||
FAR uint32 *saved_pc = (FAR uint32_t*)&tcb->xcp.regs[REG_PC];
|
||||
FAR uint32_t *saved_pc = (FAR uint32_t*)&tcb->xcp.regs[REG_PC];
|
||||
|
||||
/* Save the return lr and cpsr and one scratch register
|
||||
* These will be restored by the signal trampoline after
|
||||
|
@ -83,7 +83,7 @@ void up_sigdeliver(void)
|
||||
#ifndef CONFIG_DISABLE_SIGNALS
|
||||
FAR _TCB *rtcb = (_TCB*)g_readytorun.head;
|
||||
chipreg_t regs[XCPTCONTEXT_REGS];
|
||||
FAR uint32 *regs32 = (FAR uint32_t*)regs;
|
||||
FAR uint32_t *regs32 = (FAR uint32_t*)regs;
|
||||
sig_deliver_t sigdeliver;
|
||||
|
||||
/* Save the errno. This must be preserved throughout the signal handling
|
||||
|
@ -73,7 +73,7 @@
|
||||
#if defined(NXFLAT_DUMP_READDATA)
|
||||
static inline void nxflat_dumpreaddata(char *buffer, int buflen)
|
||||
{
|
||||
uint32 *buf32 = (uint32_t*)buffer;
|
||||
uint32_t *buf32 = (uint32_t*)buffer;
|
||||
int i;
|
||||
int j;
|
||||
|
||||
|
@ -23,7 +23,7 @@ int irq_attach(int irq, xcpt_t isr)
|
||||
for (;;);
|
||||
}
|
||||
|
||||
uint32 *up_doirq(int irq, uint32_t *regs)
|
||||
uint32_t *up_doirq(int irq, uint32_t *regs)
|
||||
{
|
||||
up_lowputc('I');
|
||||
up_lowputc('\n');
|
||||
|
Loading…
x
Reference in New Issue
Block a user