Fix various compile issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2864 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
8445b00468
commit
f3f0bcd20a
@ -40,6 +40,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include <nuttx/sched.h>
|
||||
@ -105,7 +106,7 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int up_allocpage(FAR _TCB *tcb, FAR void **vpage);
|
||||
int up_allocpage(FAR _TCB *tcb, FAR void **vpage)
|
||||
{
|
||||
# warning "Not implemented"
|
||||
return -ENOSYS;
|
||||
|
@ -47,6 +47,11 @@
|
||||
#include "os_internal.h"
|
||||
#include "up_internal.h"
|
||||
|
||||
#ifdef CONFIG_PAGING
|
||||
# include <nuttx/page.h>
|
||||
# include "arm.h"
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
@ -139,7 +144,7 @@ void up_dataabort(uint32_t *regs, uint32_t far, uint32_t fsr)
|
||||
* prefetch and data aborts.
|
||||
*/
|
||||
|
||||
tcb->far = regs[REG_R15];
|
||||
tcb->xcp.far = regs[REG_R15];
|
||||
|
||||
/* Call pg_miss() to schedule the page fill. A consequences of this
|
||||
* call are:
|
||||
|
@ -127,7 +127,7 @@ void up_prefetchabort(uint32_t *regs)
|
||||
*/
|
||||
|
||||
FAR _TCB *tcb = (FAR _TCB *)g_readytorun.head;
|
||||
tcb->far = regs[REG_R15];
|
||||
tcb->xcp.far = regs[REG_R15];
|
||||
|
||||
/* Call pg_miss() to schedule the page fill. A consequences of this
|
||||
* call are:
|
||||
|
@ -47,7 +47,7 @@ CMN_CSRCS = up_assert.c up_blocktask.c up_copystate.c up_createstack.c \
|
||||
up_undefinedinsn.c up_usestack.c
|
||||
|
||||
ifeq ($(CONFIG_PAGING),y)
|
||||
CMN_CSRCS += up_pginitialize.c up_checkpaging.c up_allocpage.c
|
||||
CMN_CSRCS += up_pginitialize.c up_checkmapping.c up_allocpage.c
|
||||
endif
|
||||
|
||||
CGU_ASRCS =
|
||||
|
@ -40,10 +40,11 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include <arch/nuttx/sched.h>
|
||||
#include <arch/nuttx/page.h>
|
||||
#include <nuttx/sched.h>
|
||||
#include <nuttx/page.h>
|
||||
|
||||
#ifdef CONFIG_PAGING
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user