mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 10:46:28 +08:00
Integrate PIC support into context switching
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1900 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user