summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc313x
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-08-21 02:09:12 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-08-21 02:09:12 +0000
commit009650825eb7b48d3bd7714e359c606bc4724bc5 (patch)
tree6b297472892c5b2beead17d92ebec5d097b1bede /nuttx/arch/arm/src/lpc313x
parent31131eee3a58b2e0c04ae4e81a74d461707e3668 (diff)
downloadpx4-nuttx-009650825eb7b48d3bd7714e359c606bc4724bc5.tar.gz
px4-nuttx-009650825eb7b48d3bd7714e359c606bc4724bc5.tar.bz2
px4-nuttx-009650825eb7b48d3bd7714e359c606bc4724bc5.zip
Add mapping for the page table
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2872 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc313x')
-rwxr-xr-xnuttx/arch/arm/src/lpc313x/lpc313x_boot.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/lpc313x/lpc313x_boot.c b/nuttx/arch/arm/src/lpc313x/lpc313x_boot.c
index 31f66b060..c0c3a154d 100755
--- a/nuttx/arch/arm/src/lpc313x/lpc313x_boot.c
+++ b/nuttx/arch/arm/src/lpc313x/lpc313x_boot.c
@@ -1,7 +1,7 @@
/************************************************************************************
* arch/arm/src/lpc313x/lpc313x_boot.c
*
- * Copyright (C) 2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -234,6 +234,10 @@ static void up_vectormapping(void)
/************************************************************************************
* Name: up_copyvectorblock
+ *
+ * Description:
+ * Copy the interrupt block to its final destination.
+ *
************************************************************************************/
static void up_copyvectorblock(void)
@@ -267,6 +271,14 @@ static void up_copyvectorblock(void)
* Public Functions
************************************************************************************/
+/************************************************************************************
+ * Name: up_boot
+ *
+ * Description:
+ * Complete boot operations started in up_head.S
+ *
+ ************************************************************************************/
+
void up_boot(void)
{
/* __start provided the basic MMU mappings for SRAM. Now provide mappings for all