summaryrefslogtreecommitdiff
path: root/nuttx/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/x86')
-rw-r--r--nuttx/arch/x86/src/common/up_internal.h11
-rw-r--r--nuttx/arch/x86/src/qemu/qemu_lowsetup.c4
2 files changed, 13 insertions, 2 deletions
diff --git a/nuttx/arch/x86/src/common/up_internal.h b/nuttx/arch/x86/src/common/up_internal.h
index c38d9e131..147c186ba 100644
--- a/nuttx/arch/x86/src/common/up_internal.h
+++ b/nuttx/arch/x86/src/common/up_internal.h
@@ -179,6 +179,17 @@ extern uint32_t _ebss; /* End+1 of .bss */
#ifndef __ASSEMBLY__
+/****************************************************************************
+ * Name: x86_boardinitialize
+ *
+ * Description:
+ * This function must be provided by the board-specific logic in the
+ * directory configs/<board-name>/src/.
+ *
+ ****************************************************************************/
+
+void x86_boardinitialize(void);
+
/* Defined in files with the same name as the function */
extern void up_boot(void);
diff --git a/nuttx/arch/x86/src/qemu/qemu_lowsetup.c b/nuttx/arch/x86/src/qemu/qemu_lowsetup.c
index db2b01ef5..439f4fcd5 100644
--- a/nuttx/arch/x86/src/qemu/qemu_lowsetup.c
+++ b/nuttx/arch/x86/src/qemu/qemu_lowsetup.c
@@ -1,7 +1,7 @@
/****************************************************************************
* arch/x86/src/qemu/qemu_lowsetup.c
*
- * Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2011-2012, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -135,6 +135,6 @@ void up_lowsetup(void)
/* Now perform board-specific initializations */
- up_boardinitialize();
+ x86_boardinitialize();
}