diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-05-09 11:09:43 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-05-09 11:09:43 -0600 |
commit | db7257ad4894df88a59100a8849b156029fbcf21 (patch) | |
tree | a9d11941769c64bc9981c87e6a92c214708867a2 /nuttx/binfmt | |
parent | 892b3598fffb8e999493cbfa9c8bbf95855b0a48 (diff) | |
download | nuttx-db7257ad4894df88a59100a8849b156029fbcf21.tar.gz nuttx-db7257ad4894df88a59100a8849b156029fbcf21.tar.bz2 nuttx-db7257ad4894df88a59100a8849b156029fbcf21.zip |
Move P-Code execution logic from interpreters/prun to system/prun
Diffstat (limited to 'nuttx/binfmt')
-rw-r--r-- | nuttx/binfmt/Kconfig | 2 | ||||
-rw-r--r-- | nuttx/binfmt/libpcode/README.txt | 4 | ||||
-rw-r--r-- | nuttx/binfmt/pcode.c | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/nuttx/binfmt/Kconfig b/nuttx/binfmt/Kconfig index aaf296c5b..0575cd369 100644 --- a/nuttx/binfmt/Kconfig +++ b/nuttx/binfmt/Kconfig @@ -72,7 +72,7 @@ endif config PCODE bool "Support P-Code Applications" default n - depends on INTERPRETERS_PCODE && INTERPRETERS_PRUN && (!NUTTX_KERNEL || EXPERIMENTAL) + depends on INTERPRETERS_PCODE && SYSTEM_PRUN && (!NUTTX_KERNEL || EXPERIMENTAL) ---help--- Enable support for interpreted P-Code binaries. P-Code binaries are generated by the NuttX Pascal compiler. diff --git a/nuttx/binfmt/libpcode/README.txt b/nuttx/binfmt/libpcode/README.txt index 7c6ae8ff2..f42a4f54f 100644 --- a/nuttx/binfmt/libpcode/README.txt +++ b/nuttx/binfmt/libpcode/README.txt @@ -74,6 +74,10 @@ Here is a simple test configuration using the NuttX simulator: CONFIG_INTERPRETERS_PCODE=y + And the P-Code runtime support: + + CONFIG_SYSTEM_PRUN=y + This enables building the PCODE binary format CONFIG_PCODE=y diff --git a/nuttx/binfmt/pcode.c b/nuttx/binfmt/pcode.c index 261042c8d..bd476b4f2 100644 --- a/nuttx/binfmt/pcode.c +++ b/nuttx/binfmt/pcode.c @@ -47,7 +47,7 @@ #include <errno.h> #include <debug.h> -#include <apps/interpreters/prun.h> +#include <apps/prun.h> #include <nuttx/kmalloc.h> #include <nuttx/poff.h> |