⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lstring.h

📁 UCOS在CS8900上面移植代码
💻 H
字号:

/******************************************************************************
* Filename     : util.h                                                       *
* Program      : loader.                                                      *
* Copyright    : Copyright (C) 2001, Young-Su, Ahn.                           *
* Author       : Young-Su, Ahn <nurie@dreamwiz.com>                           *
* Description  : Header file for util.c.                                      *
* Created at   : Wed Mar 13 2001.                                             *
* Based on     : blob-1.0.8-pre2 (http://www.lart.tudelft.nl)                 *
* Modified by  :                                                              *
* Modified at  :                                                              *
******************************************************************************/
/* This program 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 2 of the License, or
 * (at your option) any later version.
 *
 * This program 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.
 */

#ifndef _LSTRING_H_467326478126341264324
#define _LSTRInG_H_467326478126341264324

#include "main.h"

// bootloader狼 悼累苞 debug甫 困茄 窃荐甸狼 prototypes.
void	MemCpy32(void *dest, void *src, int numWords);
#ifndef TINY_LOADER
void	HexDump(char *addr, int len);
#endif

int		StrCmp(char *s1, char *s2);
int		StrNCmp(char *s1, char *s2, int len);
void	MemCpy(void *dest, void *src, int len);
void	MemSet(void *dest, const char c, int len);
int		MemCmp(void *addr1, void *addr2, int len);
void	StrCpy(char *dest, char *src);
int		StrLen(char *str);

bool	HexToInt(char *s, void *retval, VAR_TYPE type);
int		DecToLong(char *s, long *retval);

void	printf(char *fmt, ...);

#endif		// end _LSTRING_H_467326478126341264324.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -