forked from Imagelibrary/rtems
2011-07-20 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* start/start16.S: Removed tabs and added OAR standard copyright header in preperation for merging SMP support.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2011-07-20 Jennifer Averett <Jennifer.Averett@OARcorp.com>
|
||||
|
||||
* start/start16.S: Removed tabs and added OAR standard copyright header
|
||||
in preperation for merging SMP support.
|
||||
|
||||
2011-07-14 Jennifer Averett <Jennifer.Averett@OARcorp.com>
|
||||
|
||||
* start/start.S: Moved enable_sse into a subroutine that may be called
|
||||
|
||||
@@ -1,30 +1,43 @@
|
||||
/*-------------------------------------------------------------------------+
|
||||
| start16.s v1.0 - PC386 BSP - 1998/04/13
|
||||
+--------------------------------------------------------------------------+
|
||||
| This file contains the entry point for the application.
|
||||
| The name of this entry point is compiler dependent.
|
||||
| It jumps to the BSP which is responsible for performing all initialization.
|
||||
+--------------------------------------------------------------------------+
|
||||
| (C) Copyright 1997 -
|
||||
| - NavIST Group - Real-Time Distributed Systems and Industrial Automation
|
||||
|
|
||||
| http://pandora.ist.utl.pt
|
||||
|
|
||||
| Instituto Superior Tecnico * Lisboa * PORTUGAL
|
||||
+--------------------------------------------------------------------------+
|
||||
| Disclaimer:
|
||||
|
|
||||
| This file is provided "AS IS" without warranty of any kind, either
|
||||
| expressed or implied.
|
||||
+--------------------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------------------+
|
||||
* start16.s v1.0 - PC386 BSP - 1998/04/13
|
||||
*--------------------------------------------------------------------------+
|
||||
* This file contains the entry point for the application.
|
||||
* The name of this entry point is compiler dependent.
|
||||
* It jumps to the BSP which is responsible for performing all initialization.
|
||||
*--------------------------------------------------------------------------+
|
||||
* (C) Copyright 1997 -
|
||||
* - NavIST Group - Real-Time Distributed Systems and Industrial Automation
|
||||
*
|
||||
* http://pandora.ist.utl.pt
|
||||
*
|
||||
* Instituto Superior Tecnico * Lisboa * PORTUGAL
|
||||
*--------------------------------------------------------------------------+
|
||||
* Disclaimer:
|
||||
*
|
||||
* This file is provided "AS IS" without warranty of any kind, either
|
||||
* expressed or implied.
|
||||
*--------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
/*
|
||||
* COPYRIGHT (c) 2011.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
* found in the file LICENSE in this distribution or at
|
||||
* http://www.rtems.com/license/LICENSE.
|
||||
*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
|
||||
#include <bspopts.h>
|
||||
|
||||
/*----------------------------------------------------------------------------+
|
||||
/*---------------------------------------------------------------------------+
|
||||
| Constants
|
||||
+----------------------------------------------------------------------------*/
|
||||
|
||||
.set PROT_CODE_SEG, 0x08 # offset of code segment descriptor into GDT
|
||||
.set PROT_CODE_SEG, 0x0 # offset of code segment descriptor into GDT
|
||||
.set PROT_DATA_SEG, 0x10 # offset of code segment descriptor into GDT
|
||||
.set CR0_PE, 1 # protected mode flag on CR0 register
|
||||
.set HDRSTART, HEADERADDR # address of start of bin2boot header
|
||||
@@ -44,7 +57,6 @@ start16:
|
||||
_start16:
|
||||
|
||||
.code16
|
||||
|
||||
cli # DISABLE INTERRUPTS!!!
|
||||
|
||||
movw %cs, %ax #
|
||||
|
||||
Reference in New Issue
Block a user