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:
Jennifer Averett
2011-07-20 16:50:19 +00:00
parent e7f95e81db
commit 5e8bfe22d7
2 changed files with 133 additions and 116 deletions

View File

@@ -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> 2011-07-14 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* start/start.S: Moved enable_sse into a subroutine that may be called * start/start.S: Moved enable_sse into a subroutine that may be called

View File

@@ -1,30 +1,43 @@
/*-------------------------------------------------------------------------+ /*--------------------------------------------------------------------------+
| start16.s v1.0 - PC386 BSP - 1998/04/13 * start16.s v1.0 - PC386 BSP - 1998/04/13
+--------------------------------------------------------------------------+ *--------------------------------------------------------------------------+
| This file contains the entry point for the application. * This file contains the entry point for the application.
| The name of this entry point is compiler dependent. * The name of this entry point is compiler dependent.
| It jumps to the BSP which is responsible for performing all initialization. * It jumps to the BSP which is responsible for performing all initialization.
+--------------------------------------------------------------------------+ *--------------------------------------------------------------------------+
| (C) Copyright 1997 - * (C) Copyright 1997 -
| - NavIST Group - Real-Time Distributed Systems and Industrial Automation * - NavIST Group - Real-Time Distributed Systems and Industrial Automation
| *
| http://pandora.ist.utl.pt * http://pandora.ist.utl.pt
| *
| Instituto Superior Tecnico * Lisboa * PORTUGAL * Instituto Superior Tecnico * Lisboa * PORTUGAL
+--------------------------------------------------------------------------+ *--------------------------------------------------------------------------+
| Disclaimer: * Disclaimer:
| *
| This file is provided "AS IS" without warranty of any kind, either * This file is provided "AS IS" without warranty of any kind, either
| expressed or implied. * 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> #include <bspopts.h>
/*----------------------------------------------------------------------------+ /*---------------------------------------------------------------------------+
| Constants | 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 PROT_DATA_SEG, 0x10 # offset of code segment descriptor into GDT
.set CR0_PE, 1 # protected mode flag on CR0 register .set CR0_PE, 1 # protected mode flag on CR0 register
.set HDRSTART, HEADERADDR # address of start of bin2boot header .set HDRSTART, HEADERADDR # address of start of bin2boot header
@@ -44,7 +57,6 @@ start16:
_start16: _start16:
.code16 .code16
cli # DISABLE INTERRUPTS!!! cli # DISABLE INTERRUPTS!!!
movw %cs, %ax # movw %cs, %ax #