Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2322 → Rev 2323

/branches/arm/boot/arch/arm32/loader/main.c
26,6 → 26,14
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
 
/** @addtogroup arm32boot
* @{
*/
/** @file
*/
 
 
#include "main.h"
#include "asm.h"
#include "_components.h"
33,8 → 41,10
 
#include "mm.h"
 
#define KERNEL_VIRTUAL_ADDRESS 0x80150000
/** Kernel entry point address. */
#define KERNEL_VIRTUAL_ADDRESS 0x80200000
 
 
char *release = RELEASE;
 
#ifdef REVISION
49,7 → 59,8
char *timestamp = "";
#endif
 
/** Print version information. */
 
/** Prints bootloader version information. */
static void version_print(void)
{
printf("HelenOS ARM32 Bootloader\nRelease %s%s%s\nCopyright (c) 2007 HelenOS project\n",
56,7 → 67,7
release, revision, timestamp);
}
 
/** Copies all images to #KERNEL_VIRTUAL_ADDRESS and jumps there. */
/** Copies all images (kernel + user tasks) to #KERNEL_VIRTUAL_ADDRESS and jumps there. */
void bootstrap(void)
{
mmu_start();
97,3 → 108,6
jump_to_kernel((void *) KERNEL_VIRTUAL_ADDRESS, &bootinfo, sizeof(bootinfo));
}
 
/** @}
*/