diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-17 23:38:05 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-17 23:38:05 +0000 |
commit | d1a54833aa39c06f38bc656d0811674e9826f7d3 (patch) | |
tree | 4b5911ef52d216a622db785fddf36eb72c5c3512 /nuttx/binfmt/binfmt_execmodule.c | |
parent | 05f9f43d38c58f39c7c62279b6a7d1c848507ade (diff) | |
download | nuttx-d1a54833aa39c06f38bc656d0811674e9826f7d3.tar.gz nuttx-d1a54833aa39c06f38bc656d0811674e9826f7d3.tar.bz2 nuttx-d1a54833aa39c06f38bc656d0811674e9826f7d3.zip |
Integrate PIC support into context switching
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1900 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/binfmt/binfmt_execmodule.c')
-rw-r--r-- | nuttx/binfmt/binfmt_execmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/binfmt/binfmt_execmodule.c b/nuttx/binfmt/binfmt_execmodule.c index de65c15cf..21fe55987 100644 --- a/nuttx/binfmt/binfmt_execmodule.c +++ b/nuttx/binfmt/binfmt_execmodule.c @@ -145,7 +145,7 @@ int exec_module(FAR const struct binary_s *bin, int priority) /* Add the DSpace address as the PIC base address */ #ifdef CONFIG_PIC - tcb->picbase = bin->dspace; + tcb->dspace = bin->dspace; /* Re-initialize the task's initial state to account for the new PIC base */ |