mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
LPC17xx now supports FPU needed by LPC1788; LPC17xx can not use Mike's common vectors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5623 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -175,13 +175,13 @@ int exec_module(FAR const struct binary_s *binp)
|
||||
|
||||
/* Initialize the task */
|
||||
|
||||
ret = task_init(tcb, binp->filename, binp->priority, stack,
|
||||
binp->stacksize, binp->entrypt, binp->argv);
|
||||
ret = task_init((FAR struct tcb_s *)tcb, binp->filename, binp->priority,
|
||||
stack, binp->stacksize, binp->entrypt, binp->argv);
|
||||
#else
|
||||
/* Initialize the task */
|
||||
|
||||
ret = task_init(tcb, binp->filename, binp->priority, stack,
|
||||
binp->entrypt, binp->argv);
|
||||
ret = task_init((FAR struct tcb_s *)tcb, binp->filename, binp->priority,
|
||||
stack, binp->entrypt, binp->argv);
|
||||
#endif
|
||||
if (ret < 0)
|
||||
{
|
||||
@@ -232,7 +232,7 @@ int exec_module(FAR const struct binary_s *binp)
|
||||
|
||||
/* Then activate the task at the provided priority */
|
||||
|
||||
ret = task_activate(tcb);
|
||||
ret = task_activate((FAR struct tcb_s *)tcb);
|
||||
if (ret < 0)
|
||||
{
|
||||
err = errno;
|
||||
|
||||
Reference in New Issue
Block a user