/*
    CoreLoad.h, Copyright  (c) by Lukas Ruf, lr@lpr.ch,
    Swiss Federal Institute of Technology,
    Computer Engineering and Networks Laboratory.
 
    TOPSY -- A Teachable Operating System.
             Implementation of a tiny and simple
             micro kernel for teaching purposes.
 
    For further information, please visit http://www.tik.ee.ethz.ch/~topsy
 
    This software is provided under the terms of the GNU General Public Licence.
 
    A full copy of the GNU GPL is provided in the file COPYING found in the 
    development root of Topsy.
*/
/*
	
	File:                  $Source: /home/ruf/cvs_Topsy/cvs/Topsy/Topsy/ia32/CoreLoad.h,v $
 	Author(s):             Lukas Ruf, lr@lpr.ch
 	Affiliation:           ETH Zuerich, TIK
 	Version:               $Revision: 2922 $
 	Creation Date:         
 	Last Date of Change:   $Date: 2007-03-19 17:48:52 +0100 (Mon, 19 Mär 2007) $      by: $Author: baderma $
*/

#ifndef __CORELOAD_H__
#define __CORELOAD_H__

;//////
;//// Load Address of CoreBoot (RM)
;//////
#define       BOOTSEG               0x0000
#define       BOOTOFS               0x7C00

#define       BOOT_HEAD             0x0000
#define       BOOT_TRACK            0x0000
#define       BOOT_SECTOR           0x0001

;//////
;//// Load Address of CoreLoad (RM)
;//////
#define       LOADSEG               0x4000
#define       LOADOFS               0x0000

#define       LOAD_HEAD              0x0000
#define       LOAD_TRACK             0x0001
#define       LOAD_SECTOR            0x0001

;//////
;//// Load Address of Kernel (RM)
;//////
;// KERNEL
;//////
#define       KERNSEG               0x2000
#define       KERNOFS               0x0000

#define       KERN_HEAD              0x0000
#define       KERN_TRACK             0x0002
#define       KERN_SECTOR            0x0001

;//////
;//// Load Address of Driver (RM)
;//////
;// DRIVER
;//////
#define       DRIVSEG               0x4000
#define       DRIVOFS               0x0000

#define       DRIVHead              0x0000
#define       DRIVTrack             0x0009
#define       DRIVSector            0x0001

;//////
;//// Load Address of User (RM)
;//////
;// USER
;//////
/* LR 000726 */
#define       USERSEG               0x9000    /* Changed from 0x6000 */
#define       USEROFS               0x0000

#define       USERHead              0x0000
#define       USERTrack             0x0010
#define       USERSector            0x0001

#endif



