#define REG 0x8000000
pr_info("REG is %X\n", __raw_readl(ioremap(REG, 4)));

ioremap : 转换一个物理地址至虚拟地址, 4 表示一个32位的寄存器

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-21
  • 2022-12-23
  • 2021-04-17
  • 2021-09-13
  • 2021-06-23
  • 2022-12-23
猜你喜欢
  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案