自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (10)
  • 收藏
  • 关注

原创 kernel 中的__maybe_unused

#define __always_unused attribute((unused))#define __maybe_unused attribute((unused))这个定义主要是当用__maybe_unused定义的变量时,这个变量没有任何code用到,编译器也不会报错.

2021-07-27 11:24:01 2593

转载 Struct内存对齐

内存对齐的原因:1)某些平台只能在特定的地址处访问特定类型的数据;2)提高存取数据的速度。比如有的平台每次都是从偶地址处读取数据,对于一个int型的变量,若从偶地址单元处存放,则只需一个读取周期即可读取该变量;但是若从奇地址单元处存放,则需要2个读取周期读取该变量。...

2021-04-27 17:12:13 151

原创 获取手机中dts

获取手机中dts1.pull 出来手机的dtbadb pull /sys/firmware/fdt2.把dtb转成dts./script/dtc/dtc_overlay -I dtb -O dts -o output.dts fdt

2020-12-08 18:01:12 1113

原创 kernel 中的__read_mostly

read_mostly使用作用使用//结构体struct cgroup_subsys memory_cgrp_subsys __read_mostly;//指针struct mem_cgroup *root_mem_cgroup __read_mostly;//数值int do_swap_account __read_mostly;作用会将这些带__read_mostly的变量放入.data…read_mostly这个section中,这个主要在编译的链接阶段起作用,在链接时会把这些值

2020-08-07 09:55:24 233

bq24195 data sheet

I2C Controlled 2.5A / 4.5A Single Cell USB/Adapter Charger With 5.1V at 1A / 5.1V at 2.1A Synchronous Boost Operation Check for Samples: bq24195, bq24195L

2018-06-07

Binder深入讲解__底层_内核实现

Android Binder是一种在Android里广泛使用的一种远程过程调用接口。从结构上来说Android Binder系统是一种服务器/客户机模式,包括Binder Server、Binder Client和Android Binder驱动,实际的数据传输就是通过Android Binder驱动来完成的,这里我们就来详细的介绍Android Binder驱动程序。

2018-06-07

64-ia-32-architectures-software-developer-vol-3c-part-3-manual.pdf

Intel® 64 and IA-32 ArchitecturesSoftware Developer’s Manual Volume 3C: System Programming Guide, Part 3

2018-06-07

64-ia-32-architectures-software-developer-vol-3b-part-2-manual.pdf

Intel® 64 and IA-32 Architectures Software Developer’s Manual Volume 3B: System Programming Guide, Part 2

2018-06-07

64-ia-32-architectures-software-developer-vol-3a-part-1-manual.pdf

Intel® 64 and IA-32 Architectures Software Developer’s Manual Volume 3A: System Programming Guide, Part 1

2018-06-07

64-ia-32-architectures-software-developer-vol-2a-manual.pdf

Intel® 64 and IA-32 Architectures Software Developer’s Manual Volume 2A: Instruction Set Reference, A-M

2018-06-07

ALC5640 DataSheet_0.95

ALC5640 DataSheet_0.95,Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices Datasheet

2018-06-07

intel 平台Baytrail原理图参考设计

intel 平台Baytrail原理图参考设计,比较老的移动平,有需要的可以下载

2018-06-07

Simple Firmware Interface

This document defines the Simple Firmware Interface (SFI). Platform firmware prepares SFI tables upon system initialization for the benefit of the Operating System (OS). The OS consults the SFI tables to augment platform knowledge that it gleans from native hardware interfaces, such as CPUID and PCI.

2018-06-07

Advanced Configuration and Power Interface Specification

Advanced Configuration and Power Interface Specification

2018-06-07

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除