Skip to content
Snippets Groups Projects
Commit 745de760 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Add a ROMFS file system for testing the P-Code binary format

parent 7a98f102
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ config EXAMPLES_ELF ...@@ -10,6 +10,7 @@ config EXAMPLES_ELF
Enable the ELF loader example Enable the ELF loader example
if EXAMPLES_ELF if EXAMPLES_ELF
config EXAMPLES_ELF_DEVMINOR config EXAMPLES_ELF_DEVMINOR
int "ROMFS Minor Device Number" int "ROMFS Minor Device Number"
default 0 default 0
...@@ -19,7 +20,7 @@ config EXAMPLES_ELF_DEVMINOR ...@@ -19,7 +20,7 @@ config EXAMPLES_ELF_DEVMINOR
containing the ELF executables to be tested. Default: 0 containing the ELF executables to be tested. Default: 0
config EXAMPLES_ELF_DEVPATH config EXAMPLES_ELF_DEVPATH
string "ROMFS Devie Path" string "ROMFS Device Path"
default "/dev/ram0" default "/dev/ram0"
---help--- ---help---
The path to the ROMFS block driver device. This must match EXAMPLES_ELF_DEVMINOR. The path to the ROMFS block driver device. This must match EXAMPLES_ELF_DEVMINOR.
......
...@@ -86,10 +86,6 @@ ...@@ -86,10 +86,6 @@
# error "You must not disable mountpoints via CONFIG_DISABLE_MOUNTPOINT in your configuration file" # error "You must not disable mountpoints via CONFIG_DISABLE_MOUNTPOINT in your configuration file"
#endif #endif
#ifdef CONFIG_BINFMT_DISABLE
# error "You must not disable loadable modules via CONFIG_BINFMT_DISABLE in your configuration file"
#endif
/* Describe the ROMFS file system */ /* Describe the ROMFS file system */
#define SECTORSIZE 512 #define SECTORSIZE 512
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment