• 大小: 1.61MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-09-01
  • 语言: 其他
  • 标签: ucos  文件系统  

资源简介

本资料包括ucos建立文件系统的code代码,并有说明文档,与其他代码有相通之处,但也做了微小调整,可方便移植,简单可用

资源截图

代码片段和文件信息

/*
*********************************************************************************************************
*                                               uC/OS-II
*                                        The Real-Time Kernel
*
*                         (c) Copyright 1992-2002 Jean J. Labrosse Weston FL
*                                          All Rights Reserved
*
* File : OS_CPU_C.C
* By   : Jean J. Labrosse
*********************************************************************************************************
*/

/*
*********************************************************************************************************
*                                               ARM Port
*
*                 Target           : ARM (Includes ARM7 ARM9)
*                 Ported by        : Michael Anburaj
*                 URL              : http://geocities.com/michaelanburaj/    Email : michaelanburaj@hotmail.com
*
*********************************************************************************************************
*/

#define  OS_CPU_GLOBALS
#include “includes.h“
#include “def.h“

/*
*********************************************************************************************************
*                                       OS INITIALIZATION HOOK
*                                            (BEGINNING)
*
* Description: This function is called by OSInit() at the beginning of OSInit().
*
* Arguments  : none
*
* Note(s)    : 1) Interrupts should be disabled during this call.
*********************************************************************************************************
*/
#if OS_CPU_HOOKS_EN > 0 && OS_VERSION > 203
void  OSInitHookBegin (void)
{
}
#endif

/*
*********************************************************************************************************
*                                       OS INITIALIZATION HOOK
*                                               (END)
*
* Description: This function is called by OSInit() at the end of OSInit().
*
* Arguments  : none
*
* Note(s)    : 1) Interrupts should be disabled during this call.
*********************************************************************************************************
*/
#if OS_CPU_HOOKS_EN > 0 && OS_VERSION > 203
void  OSInitHookEnd (void)
{
}
#endif

/*
*********************************************************************************************************
*                                          TASK CREATION HOOK
*
* Description: This function is called when a task is created.
*
* Arguments  : ptcb   is a pointer to the task control block of the task being created.
*
* Note(s)    : 1) Interrupts are disabled during this call.
*********************************************************************************************************
*/
#if OS_CPU_HOOKS_EN > 0 
void  OSTaskCreateHook (OS_TCB *ptcb)
{
    ptcb = ptcb;                       /* Prevent compiler warning          

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-10-10 17:32  NAND&SD_code\
     目录           0  2017-10-10 17:32  NAND&SD_code\FS\
     目录           0  2017-10-10 17:32  NAND&SD_code\FS\API\
     文件        7592  2003-10-15 15:35  NAND&SD_code\FS\API\api_dir.c
     文件        2562  2003-10-15 15:35  NAND&SD_code\FS\API\api_in.c
     文件        1230  2003-10-15 15:35  NAND&SD_code\FS\API\api_int.h
     文件       14787  2003-10-15 15:35  NAND&SD_code\FS\API\api_misc.c
     文件        2488  2003-10-15 15:35  NAND&SD_code\FS\API\api_out.c
     文件       12913  2008-07-14 15:53  NAND&SD_code\FS\API\fs_api.h
     文件        1429  2005-04-11 21:32  NAND&SD_code\FS\API\fs_dev.h
     文件        2231  2008-07-18 15:32  NAND&SD_code\FS\API\fs_fsl.h
     文件        8978  2008-07-28 14:57  NAND&SD_code\FS\API\fs_info.c
     文件        2293  2003-10-15 15:35  NAND&SD_code\FS\API\fs_int.h
     目录           0  2017-10-10 17:32  NAND&SD_code\FS\CLIB\
     文件       10339  2006-12-13 10:32  NAND&SD_code\FS\CLIB\clibmisc.c
     文件        1930  2003-10-15 15:35  NAND&SD_code\FS\CLIB\fs_clib.h
     目录           0  2017-10-10 17:32  NAND&SD_code\FS\CONFIG\
     目录           0  2017-10-10 17:32  NAND&SD_code\FS\CONFIG\EP7312\
     文件       14897  2008-07-28 11:23  NAND&SD_code\FS\CONFIG\EP7312\fs_conf.h
     文件        2541  2003-10-15 15:35  NAND&SD_code\FS\CONFIG\EP7312\fs_port.h
     目录           0  2017-10-10 17:32  NAND&SD_code\FS\CONFIG\M16C_137X_IP\
     文件       14657  2003-10-15 15:35  NAND&SD_code\FS\CONFIG\M16C_137X_IP\fs_conf.h
     文件        2541  2003-10-15 15:35  NAND&SD_code\FS\CONFIG\M16C_137X_IP\fs_port.h
     目录           0  2017-10-10 17:32  NAND&SD_code\FS\CONFIG\Win32\
     文件       15616  2007-08-11 18:01  NAND&SD_code\FS\CONFIG\Win32\fs_conf.h
     文件        2610  2005-04-25 18:27  NAND&SD_code\FS\CONFIG\Win32\fs_port.h
     目录           0  2017-10-10 17:32  NAND&SD_code\FS\DEVICE\
     目录           0  2017-10-10 17:32  NAND&SD_code\FS\DEVICE\FLASH\
     文件        1346  2008-07-28 11:02  NAND&SD_code\FS\DEVICE\FLASH\flash.h
     文件        8270  2008-07-30 20:17  NAND&SD_code\FS\DEVICE\FLASH\flash_drv.c
     文件       10866  2008-07-28 11:11  NAND&SD_code\FS\DEVICE\FLASH\flash_x_hw.c
............此处省略350个文件信息

评论

共有 条评论