mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
boards: Remove the duplicated prototype of CONFIG_INIT_ENTRYPOINT
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
ffe8dd39c6
commit
78f6a02bc8
@@ -60,10 +60,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -60,10 +60,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -60,10 +60,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -60,10 +60,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -61,10 +61,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -60,10 +60,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -60,10 +60,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -60,10 +60,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -60,10 +60,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -61,10 +61,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -60,10 +60,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -60,10 +60,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -60,10 +60,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -60,10 +60,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -61,10 +61,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -60,10 +60,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -61,10 +61,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -61,10 +61,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -60,10 +60,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -61,10 +61,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -61,10 +61,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -61,10 +61,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -61,10 +61,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -61,10 +61,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -61,10 +61,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -61,10 +61,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -61,10 +61,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -63,10 +63,6 @@ extern uint8_t _ebss[]; /* End+1 of .bss */
|
|||||||
|
|
||||||
extern uint8_t __ld_usram_end[]; /* End+1 of user ram section */
|
extern uint8_t __ld_usram_end[]; /* End+1 of user ram section */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -59,10 +59,6 @@ extern uint8_t _ebss[]; /* End+1 of .bss */
|
|||||||
|
|
||||||
extern uint8_t __ld_udram_end[]; /* End+1 of user ram section */
|
extern uint8_t __ld_udram_end[]; /* End+1 of user ram section */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -61,10 +61,6 @@ extern uint8_t _edata[]; /* End+1 of .data */
|
|||||||
extern uint8_t _sbss[]; /* Start of .bss */
|
extern uint8_t _sbss[]; /* Start of .bss */
|
||||||
extern uint8_t _ebss[]; /* End+1 of .bss */
|
extern uint8_t _ebss[]; /* End+1 of .bss */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -59,10 +59,6 @@ extern uint8_t _ebss[]; /* End+1 of .bss */
|
|||||||
|
|
||||||
extern uint8_t __ld_usram_end[]; /* End+1 of user ram section */
|
extern uint8_t __ld_usram_end[]; /* End+1 of user ram section */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -59,10 +59,6 @@ extern uint8_t _ebss[]; /* End+1 of .bss */
|
|||||||
|
|
||||||
extern uint8_t __ld_udram_end[]; /* End+1 of user ram section */
|
extern uint8_t __ld_udram_end[]; /* End+1 of user ram section */
|
||||||
|
|
||||||
/* This is the user space entry point */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
const struct userspace_s userspace locate_data(".userspace") =
|
const struct userspace_s userspace locate_data(".userspace") =
|
||||||
{
|
{
|
||||||
/* General memory map */
|
/* General memory map */
|
||||||
|
|||||||
@@ -94,10 +94,6 @@ EXTERN uint8_t g_nx_initstate; /* See enum nx_initstate_e */
|
|||||||
* Public Function Prototypes
|
* Public Function Prototypes
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* This entry point must be supplied by the application */
|
|
||||||
|
|
||||||
int CONFIG_INIT_ENTRYPOINT(int argc, char *argv[]);
|
|
||||||
|
|
||||||
/* Functions contained in nx_task.c *****************************************/
|
/* Functions contained in nx_task.c *****************************************/
|
||||||
|
|
||||||
/* OS entry point called by boot logic */
|
/* OS entry point called by boot logic */
|
||||||
|
|||||||
+21
-2
@@ -300,10 +300,29 @@ enum
|
|||||||
OK = 0,
|
OK = 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Function Prototypes
|
* Public Function Prototypes
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
#define EXTERN extern "C"
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
#else
|
||||||
|
#define EXTERN extern
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* This entry point must be supplied by the application */
|
||||||
|
|
||||||
|
#ifdef CONFIG_INIT_ENTRYPOINT
|
||||||
|
int CONFIG_INIT_ENTRYPOINT(int argc, FAR char *argv[]);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#undef EXTERN
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* __ASSEMBLY__ */
|
||||||
|
|
||||||
#endif /* __INCLUDE_SYS_TYPES_H */
|
#endif /* __INCLUDE_SYS_TYPES_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user