2013-09-18 03:39:57 -07:00
|
|
|
/************************************************************************************//**
|
2018-07-17 06:06:06 -07:00
|
|
|
* \file Source/cpu.h
|
2013-09-18 03:39:57 -07:00
|
|
|
* \brief Bootloader cpu module header file.
|
2016-02-25 05:51:12 -08:00
|
|
|
* \ingroup Core
|
2013-09-18 03:39:57 -07:00
|
|
|
* \internal
|
|
|
|
*----------------------------------------------------------------------------------------
|
|
|
|
* C O P Y R I G H T
|
|
|
|
*----------------------------------------------------------------------------------------
|
2016-02-25 05:51:12 -08:00
|
|
|
* Copyright (c) 2016 by Feaser http://www.feaser.com All rights reserved
|
2013-09-18 03:39:57 -07:00
|
|
|
*
|
|
|
|
*----------------------------------------------------------------------------------------
|
|
|
|
* L I C E N S E
|
|
|
|
*----------------------------------------------------------------------------------------
|
|
|
|
* This file is part of OpenBLT. OpenBLT is free software: you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as published by the Free
|
|
|
|
* Software Foundation, either version 3 of the License, or (at your option) any later
|
|
|
|
* version.
|
|
|
|
*
|
|
|
|
* OpenBLT is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
|
|
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
* PURPOSE. See the GNU General Public License for more details.
|
|
|
|
*
|
2016-07-25 01:33:52 -07:00
|
|
|
* You have received a copy of the GNU General Public License along with OpenBLT. It
|
2016-04-30 15:52:15 -07:00
|
|
|
* should be located in ".\Doc\license.html". If not, contact Feaser to obtain a copy.
|
2016-03-01 06:24:23 -08:00
|
|
|
*
|
2013-09-18 03:39:57 -07:00
|
|
|
* \endinternal
|
|
|
|
****************************************************************************************/
|
|
|
|
#ifndef CPU_H
|
|
|
|
#define CPU_H
|
|
|
|
|
|
|
|
|
|
|
|
/****************************************************************************************
|
|
|
|
* Function prototypes
|
|
|
|
****************************************************************************************/
|
2016-10-17 16:08:45 -07:00
|
|
|
void CpuInit(void);
|
2013-09-18 03:39:57 -07:00
|
|
|
void CpuStartUserProgram(void);
|
|
|
|
void CpuMemCopy(blt_addr dest, blt_addr src, blt_int16u len);
|
2018-07-26 03:46:20 -07:00
|
|
|
void CpuMemSet(blt_addr dest, blt_int8u value, blt_int16u len);
|
2016-10-17 16:08:45 -07:00
|
|
|
void CpuIrqDisable(void);
|
|
|
|
void CpuIrqEnable(void);
|
2013-09-18 03:39:57 -07:00
|
|
|
|
|
|
|
|
|
|
|
#endif /* CPU_H */
|
|
|
|
/*********************************** end of cpu.h **************************************/
|