|
|
Número de pieza | HI3512 | |
Descripción | (HI3511 / HI3512) Differences with the standard kernel Linux kernel Application Notes | |
Fabricantes | Hisilicon | |
Logotipo | ||
Hay una vista previa y un enlace de descarga de HI3512 (archivo pdf) en la parte inferior de esta página. Total 36 Páginas | ||
No Preview Available ! Hi3511/Hi3512 Linux 内核与标准内核差异说明
Application Notes
文档版本
发布日期
BOM 编码
02
2008-08-30
N/A
秘密
版权所有 © 深圳市海思半导体有限公司
Free Datasheet http://www.datasheet4u.net/
1 page 前言
约定
符号约定
Hi3511/Hi3512 Linux 内核与标准内核差异说
明
Application Notes
在本文芯可能出实下列标志,它们所平表的含义如下。
符号
说明
以本标志开以的文本表以有以在以以,如如如如如如文本,可能
导导导导导处件导导、数数数数、导导设能设设导设可设设的设
如。
以本标志开以的文本该以文的以以以以,该对以文的是是是是是
。
通用格式约定
格式
宋体
黑体
楷体
说明
以文正用宋体表以。
一一、二一、三一标三正用三体。
警警、提以驱内容一提用楷
体,并并在内容前并并以并并与以文并并。
修订记录
其订记录累积了每次文档更新的说明。最新版本的文档包含以前所有文档版本的更新内
容。
修改日期
2008-8-25
2008-5-20
版本
02
01
修改说明
并以Hi3512芯芯以以。
第一次发布版本。
2
秘密
版权所有 © 深圳市海思半导体有限公司
文档版本 02 (2008-08-30)
Free Datasheet http://www.datasheet4u.net/
5 Page 3 驱动代码
3-2
Hi3511/Hi3512 Linux 内核与标准内核
差异说明
Application Notes
#include <linux/mtd/xip.h>
#include <asm/pgtable.h>
− 增加地址映射处理函数,增加内容:
static map_word __xipram mtdram_map_read(struct map_info *map,
unsigned long ofs)
{
map_word r;
if(map->cached == NULL)
return inline_map_read(map, ofs);
if (map_bankwidth_is_1(map))
r.x[0] = *((char*)map->cached + ofs);
else if (map_bankwidth_is_2(map))
r.x[0] = *(unsigned short*)((char*)map->cached + ofs);
else if (map_bankwidth_is_4(map))
r.x[0] = *(unsigned long*)((char*)map->cached + ofs);
#if BITS_PER_LONG >= 64
else if (map_bankwidth_is_8(map))
r.x[0] = *(unsigned long long*)((char*)map->cached + ofs);
#endif
else if (map_bankwidth_is_large(map))
memcpy(r.x, map->cached+ofs, map->bankwidth);
return r;
}
static void __xipram mtdram_map_write(struct map_info *map, const
map_word datum, unsigned long ofs)
{
if(map->cached == NULL) {
inline_map_write(map, datum, ofs);
return;
}
if (map_bankwidth_is_1(map))
*(char *)((char*)map->cached + ofs) = datum.x[0];
else if (map_bankwidth_is_2(map))
*(unsigned short *)((char*)map->cached + ofs) = datum.x[0];
else if (map_bankwidth_is_4(map))
*(unsigned long *)((char*)map->cached + ofs) = datum.x[0];
#if BITS_PER_LONG >= 64
else if (map_bankwidth_is_8(map))
秘密
版权所有 © 深圳市海思半导体有限公司
文档版本 02 (2008-08-30)
Free Datasheet http://www.datasheet4u.net/
11 Page |
Páginas | Total 36 Páginas | |
PDF Descargar | [ Datasheet HI3512.PDF ] |
Número de pieza | Descripción | Fabricantes |
HI3511 | (HI3511 / HI3512) Differences with the standard kernel Linux kernel Application Notes | Hisilicon |
HI3512 | Temperature Bench Meter Manual | HANNA |
HI3512 | (HI3511 / HI3512) Differences with the standard kernel Linux kernel Application Notes | Hisilicon |
HI3512 | H.264 Encoding and Decoding Processor | Hisilicon |
Número de pieza | Descripción | Fabricantes |
SLA6805M | High Voltage 3 phase Motor Driver IC. |
Sanken |
SDC1742 | 12- and 14-Bit Hybrid Synchro / Resolver-to-Digital Converters. |
Analog Devices |
DataSheet.es es una pagina web que funciona como un repositorio de manuales o hoja de datos de muchos de los productos más populares, |
DataSheet.es | 2020 | Privacy Policy | Contacto | Buscar |