在好例子网,分享、交流、成长!
您当前所在位置:首页C/C++ 开发实例嵌入式开发 → Arm64体系结构编程与实践(实验代码)

Arm64体系结构编程与实践(实验代码)

嵌入式开发

下载此实例
  • 开发语言:C/C++
  • 实例大小:49.05M
  • 下载次数:16
  • 浏览次数:168
  • 发布时间:2022-07-27
  • 实例类别:嵌入式开发
  • 发 布 人:figo8888
  • 文件格式:.zip
  • 所需积分:2
 相关标签: ARM64 体系结构 ARM 编程 实践

实例介绍

【实例简介】Arm64体系结构编程与实践(实验代码)

Arm64体系结构编程与实践一书的实验参考代码。

【实例截图】

from clipboard

【核心代码】

.
└── arm64_programming_practice
    ├── README.md
    ├── chapter_10
    │   ├── case_analysis
    │   │   ├── in_test.c
    │   │   └── in_test_fixed.c
    │   ├── example_atomic_add
    │   │   ├── atomic_add.c
    │   │   ├── atomic_add_q.c
    │   │   └── atomic_stset.c
    │   ├── example_c_operand_modifier
    │   │   └── asm_inline_c.c
    │   ├── lab10-1
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── asm
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   └── pl_uart.h
    │   │   │   ├── io.h
    │   │   │   ├── mm.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── atomic.S
    │   │       ├── boot.S
    │   │       ├── early_uart.S
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── memset.c
    │   │       ├── memset.h
    │   │       ├── memset_asm.S
    │   │       ├── mm.S
    │   │       ├── pl_uart.c
    │   │       ├── printk.c
    │   │       └── string.c
    │   ├── lab10-2
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── asm
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   └── pl_uart.h
    │   │   │   ├── io.h
    │   │   │   ├── mm.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── atomic.S
    │   │       ├── boot.S
    │   │       ├── early_uart.S
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── memset.c
    │   │       ├── memset.h
    │   │       ├── memset_asm.S
    │   │       ├── mm.S
    │   │       ├── pl_uart.c
    │   │       ├── printk.c
    │   │       └── string.c
    │   ├── lab10-3
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── asm
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   └── pl_uart.h
    │   │   │   ├── io.h
    │   │   │   ├── mm.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── atomic.S
    │   │       ├── boot.S
    │   │       ├── early_uart.S
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── memset.c
    │   │       ├── memset.h
    │   │       ├── memset_asm.S
    │   │       ├── mm.S
    │   │       ├── pl_uart.c
    │   │       ├── printk.c
    │   │       └── string.c
    │   └── lab10-4
    │       ├── Makefile
    │       ├── include
    │       │   ├── asm
    │       │   │   ├── base.h
    │       │   │   ├── gpio.h
    │       │   │   └── pl_uart.h
    │       │   ├── io.h
    │       │   ├── mm.h
    │       │   └── uart.h
    │       └── src
    │           ├── asm_test.S
    │           ├── atomic.S
    │           ├── boot.S
    │           ├── early_uart.S
    │           ├── kernel.c
    │           ├── linker.ld
    │           ├── memset.c
    │           ├── memset.h
    │           ├── memset_asm.S
    │           ├── mm.S
    │           ├── pl_uart.c
    │           ├── printk.c
    │           └── string.c
    ├── chapter_11
    │   ├── lab11-1
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── asm
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   └── pl_uart.h
    │   │   │   ├── io.h
    │   │   │   ├── mm.h
    │   │   │   ├── sysregs.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── atomic.S
    │   │       ├── boot.S
    │   │       ├── early_uart.S
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── memset.c
    │   │       ├── memset.h
    │   │       ├── memset_asm.S
    │   │       ├── mm.S
    │   │       ├── pl_uart.c
    │   │       ├── printk.c
    │   │       └── string.c
    │   ├── lab11-2
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── asm
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   └── pl_uart.h
    │   │   │   ├── io.h
    │   │   │   ├── mm.h
    │   │   │   ├── sysregs.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── atomic.S
    │   │       ├── boot.S
    │   │       ├── early_uart.S
    │   │       ├── entry.S
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── memset.c
    │   │       ├── memset.h
    │   │       ├── memset_asm.S
    │   │       ├── mm.S
    │   │       ├── pl_uart.c
    │   │       ├── printk.c
    │   │       └── string.c
    │   └── lab11-3
    │       ├── Makefile
    │       ├── include
    │       │   ├── asm
    │       │   │   ├── base.h
    │       │   │   ├── gpio.h
    │       │   │   └── pl_uart.h
    │       │   ├── io.h
    │       │   ├── mm.h
    │       │   ├── sysregs.h
    │       │   └── uart.h
    │       └── src
    │           ├── asm_test.S
    │           ├── atomic.S
    │           ├── boot.S
    │           ├── early_uart.S
    │           ├── entry.S
    │           ├── kernel.c
    │           ├── linker.ld
    │           ├── memset.c
    │           ├── memset.h
    │           ├── memset_asm.S
    │           ├── mm.S
    │           ├── pl_uart.c
    │           ├── printk.c
    │           └── string.c
    ├── chapter_12
    │   ├── Readme.txt
    │   ├── hack_rpi4
    │   │   ├── bcm2711-rpi-4-b-nogic.dtb
    │   │   ├── benos4.bin
    │   │   └── config.txt
    │   ├── lab12-1
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── asm
    │   │   │   │   ├── arm_local_reg.h
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   ├── irq.h
    │   │   │   │   ├── pl_uart.h
    │   │   │   │   └── timer.h
    │   │   │   ├── esr.h
    │   │   │   ├── io.h
    │   │   │   ├── irq.h
    │   │   │   ├── mm.h
    │   │   │   ├── ptregs.h
    │   │   │   ├── sysregs.h
    │   │   │   ├── timer.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── atomic.S
    │   │       ├── boot.S
    │   │       ├── early_uart.S
    │   │       ├── entry.S
    │   │       ├── irq.c
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── memset.c
    │   │       ├── memset.h
    │   │       ├── memset_asm.S
    │   │       ├── mm.S
    │   │       ├── pl_uart.c
    │   │       ├── printk.c
    │   │       ├── string.c
    │   │       └── timer.c
    │   └── qemu-system-arm-pi4_4.1.50-3_without_GIC_amd64.deb
    ├── chapter_13
    │   ├── Readme.txt
    │   ├── lab13-1
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── arm-gic.h
    │   │   │   ├── asm
    │   │   │   │   ├── arm_local_reg.h
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   ├── irq.h
    │   │   │   │   ├── pl_uart.h
    │   │   │   │   └── timer.h
    │   │   │   ├── esr.h
    │   │   │   ├── io.h
    │   │   │   ├── irq.h
    │   │   │   ├── mm.h
    │   │   │   ├── ptregs.h
    │   │   │   ├── sysregs.h
    │   │   │   ├── timer.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── atomic.S
    │   │       ├── boot.S
    │   │       ├── early_uart.S
    │   │       ├── entry.S
    │   │       ├── gic_v2.c
    │   │       ├── irq.c
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── memset.c
    │   │       ├── memset.h
    │   │       ├── memset_asm.S
    │   │       ├── mm.S
    │   │       ├── pl_uart.c
    │   │       ├── printk.c
    │   │       ├── string.c
    │   │       └── timer.c
    │   └── qemu-system-arm-pi4_4.2.50-3_with_GIC_amd64.deb
    ├── chapter_14
    │   ├── lab14-1
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── arm-gic.h
    │   │   │   ├── asm
    │   │   │   │   ├── arm_local_reg.h
    │   │   │   │   ├── barrier.h
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   ├── irq.h
    │   │   │   │   ├── pgtable.h
    │   │   │   │   ├── pgtable_hwdef.h
    │   │   │   │   ├── pgtable_prot.h
    │   │   │   │   ├── pgtable_types.h
    │   │   │   │   ├── pl_uart.h
    │   │   │   │   └── timer.h
    │   │   │   ├── esr.h
    │   │   │   ├── io.h
    │   │   │   ├── irq.h
    │   │   │   ├── mm.h
    │   │   │   ├── ptregs.h
    │   │   │   ├── sysregs.h
    │   │   │   ├── timer.h
    │   │   │   ├── type.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── atomic.S
    │   │       ├── boot.S
    │   │       ├── early_uart.S
    │   │       ├── entry.S
    │   │       ├── gic_v2.c
    │   │       ├── irq.c
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── memset.c
    │   │       ├── memset.h
    │   │       ├── memset_asm.S
    │   │       ├── mm.S
    │   │       ├── mmu.c
    │   │       ├── page_alloc.c
    │   │       ├── pl_uart.c
    │   │       ├── printk.c
    │   │       ├── string.c
    │   │       └── timer.c
    │   ├── lab14-2
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── arm-gic.h
    │   │   │   ├── asm
    │   │   │   │   ├── arm_local_reg.h
    │   │   │   │   ├── barrier.h
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   ├── irq.h
    │   │   │   │   ├── pgtable.h
    │   │   │   │   ├── pgtable_hwdef.h
    │   │   │   │   ├── pgtable_prot.h
    │   │   │   │   ├── pgtable_types.h
    │   │   │   │   ├── pl_uart.h
    │   │   │   │   └── timer.h
    │   │   │   ├── esr.h
    │   │   │   ├── io.h
    │   │   │   ├── irq.h
    │   │   │   ├── mm.h
    │   │   │   ├── ptregs.h
    │   │   │   ├── sysregs.h
    │   │   │   ├── timer.h
    │   │   │   ├── type.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── atomic.S
    │   │       ├── boot.S
    │   │       ├── early_uart.S
    │   │       ├── entry.S
    │   │       ├── gic_v2.c
    │   │       ├── irq.c
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── memset.c
    │   │       ├── memset.h
    │   │       ├── memset_asm.S
    │   │       ├── mm.S
    │   │       ├── mmu.c
    │   │       ├── page_alloc.c
    │   │       ├── pl_uart.c
    │   │       ├── printk.c
    │   │       ├── string.c
    │   │       └── timer.c
    │   └── lab14-2-fixed
    │       ├── Makefile
    │       ├── include
    │       │   ├── arm-gic.h
    │       │   ├── asm
    │       │   │   ├── arm_local_reg.h
    │       │   │   ├── barrier.h
    │       │   │   ├── base.h
    │       │   │   ├── gpio.h
    │       │   │   ├── irq.h
    │       │   │   ├── pgtable.h
    │       │   │   ├── pgtable_hwdef.h
    │       │   │   ├── pgtable_prot.h
    │       │   │   ├── pgtable_types.h
    │       │   │   ├── pl_uart.h
    │       │   │   └── timer.h
    │       │   ├── esr.h
    │       │   ├── io.h
    │       │   ├── irq.h
    │       │   ├── mm.h
    │       │   ├── ptregs.h
    │       │   ├── sysregs.h
    │       │   ├── timer.h
    │       │   ├── type.h
    │       │   └── uart.h
    │       └── src
    │           ├── asm_test.S
    │           ├── atomic.S
    │           ├── boot.S
    │           ├── early_uart.S
    │           ├── entry.S
    │           ├── gic_v2.c
    │           ├── irq.c
    │           ├── kernel.c
    │           ├── linker.ld
    │           ├── memset.c
    │           ├── memset.h
    │           ├── memset_asm.S
    │           ├── mm.S
    │           ├── mmu.c
    │           ├── page_alloc.c
    │           ├── pl_uart.c
    │           ├── printk.c
    │           ├── string.c
    │           └── timer.c
    ├── chapter_15
    │   ├── lab15-1
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── arm-gic.h
    │   │   │   ├── asm
    │   │   │   │   ├── arm_local_reg.h
    │   │   │   │   ├── barrier.h
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   ├── irq.h
    │   │   │   │   ├── pgtable.h
    │   │   │   │   ├── pgtable_hwdef.h
    │   │   │   │   ├── pgtable_prot.h
    │   │   │   │   ├── pgtable_types.h
    │   │   │   │   ├── pl_uart.h
    │   │   │   │   └── timer.h
    │   │   │   ├── esr.h
    │   │   │   ├── io.h
    │   │   │   ├── irq.h
    │   │   │   ├── mm.h
    │   │   │   ├── ptregs.h
    │   │   │   ├── sysregs.h
    │   │   │   ├── timer.h
    │   │   │   ├── type.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── atomic.S
    │   │       ├── boot.S
    │   │       ├── cacheinfo.c
    │   │       ├── dump_pgtable.c
    │   │       ├── early_uart.S
    │   │       ├── entry.S
    │   │       ├── gic_v2.c
    │   │       ├── irq.c
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── memset.c
    │   │       ├── memset.h
    │   │       ├── memset_asm.S
    │   │       ├── mm.S
    │   │       ├── mmu.c
    │   │       ├── page_alloc.c
    │   │       ├── pl_uart.c
    │   │       ├── printk.c
    │   │       ├── string.c
    │   │       └── timer.c
    │   └── lab15-2
    │       ├── Makefile
    │       ├── include
    │       │   ├── arm-gic.h
    │       │   ├── asm
    │       │   │   ├── arm_local_reg.h
    │       │   │   ├── barrier.h
    │       │   │   ├── base.h
    │       │   │   ├── gpio.h
    │       │   │   ├── irq.h
    │       │   │   ├── pgtable.h
    │       │   │   ├── pgtable_hwdef.h
    │       │   │   ├── pgtable_prot.h
    │       │   │   ├── pgtable_types.h
    │       │   │   ├── pl_uart.h
    │       │   │   └── timer.h
    │       │   ├── esr.h
    │       │   ├── io.h
    │       │   ├── irq.h
    │       │   ├── mm.h
    │       │   ├── ptregs.h
    │       │   ├── sysregs.h
    │       │   ├── timer.h
    │       │   ├── type.h
    │       │   └── uart.h
    │       └── src
    │           ├── asm_test.S
    │           ├── atomic.S
    │           ├── boot.S
    │           ├── cache.S
    │           ├── cacheinfo.c
    │           ├── dump_pgtable.c
    │           ├── early_uart.S
    │           ├── entry.S
    │           ├── gic_v2.c
    │           ├── irq.c
    │           ├── kernel.c
    │           ├── linker.ld
    │           ├── memset.c
    │           ├── memset.h
    │           ├── memset_asm.S
    │           ├── mm.S
    │           ├── mmu.c
    │           ├── page_alloc.c
    │           ├── pl_uart.c
    │           ├── printk.c
    │           ├── string.c
    │           └── timer.c
    ├── chapter_16
    │   ├── lab16-1
    │   │   ├── Makefile
    │   │   ├── false_sharing_array.c
    │   │   └── false_sharing_struct.c
    │   └── lab16-2
    │       ├── false_sharing_report.txt
    │       └── without_false_sharing_report.txt
    ├── chapter_18
    │   ├── Readme.txt
    │   ├── example_18_12_asm.litmus
    │   ├── example_18_12_asm_fix.litmus
    │   ├── example_18_12_c.litmus
    │   ├── example_18_12_c_fix.litmus
    │   ├── linux-kernel.bell
    │   ├── linux-kernel.cat
    │   ├── linux-kernel.cfg
    │   ├── linux-kernel.def
    │   └── lock.cat
    ├── chapter_2
    │   ├── lab01_hello_benos
    │   │   ├── BenOS
    │   │   │   ├── Makefile
    │   │   │   ├── include
    │   │   │   │   ├── asm
    │   │   │   │   │   ├── base.h
    │   │   │   │   │   ├── gpio.h
    │   │   │   │   │   └── pl_uart.h
    │   │   │   │   ├── io.h
    │   │   │   │   ├── mm.h
    │   │   │   │   └── uart.h
    │   │   │   └── src
    │   │   │       ├── boot.S
    │   │   │       ├── kernel.c
    │   │   │       ├── linker.ld
    │   │   │       ├── mm.S
    │   │   │       └── pl_uart.c
    │   │   └── pi_boot_config
    │   │       ├── benos4.bin
    │   │       └── config.txt
    │   └── lab03_jlink
    │       └── jlink
    │           ├── README.md
    │           ├── config.txt
    │           ├── jlink.cfg
    │           ├── loop.bin
    │           ├── openocd.tar.xz
    │           ├── raspi3.cfg
    │           └── raspi4.cfg
    ├── chapter_20
    │   └── example_atomic_add
    │       └── atomic_add.c
    ├── chapter_21
    │   ├── lab21-2
    │   │   └── benos
    │   │       ├── Kbuild
    │   │       ├── Kconfig
    │   │       ├── Makefile
    │   │       ├── README.md
    │   │       ├── arch
    │   │       │   └── arm64
    │   │       │       ├── Kbuild.include
    │   │       │       ├── Kconfig
    │   │       │       ├── Makefile
    │   │       │       ├── boot
    │   │       │       │   └── Makefile
    │   │       │       ├── common
    │   │       │       │   └── asm-offsets.c
    │   │       │       ├── configs
    │   │       │       │   └── defconfig
    │   │       │       ├── include
    │   │       │       │   └── asm
    │   │       │       │       ├── io.h
    │   │       │       │       ├── irq.h
    │   │       │       │       ├── mm.h
    │   │       │       │       ├── processor.h
    │   │       │       │       ├── sysregs.h
    │   │       │       │       ├── system.h
    │   │       │       │       ├── timer.h
    │   │       │       │       └── uart.h
    │   │       │       ├── kernel
    │   │       │       │   ├── Makefile
    │   │       │       │   ├── asm-offsets.c
    │   │       │       │   ├── benos.lds.S
    │   │       │       │   ├── entry.S
    │   │       │       │   ├── head.S
    │   │       │       │   ├── irq.c
    │   │       │       │   ├── mm.S
    │   │       │       │   ├── traps.c
    │   │       │       │   └── utils.S
    │   │       │       └── mach-rpi
    │   │       │           ├── Makefile
    │   │       │           ├── early_uart.S
    │   │       │           ├── mach
    │   │       │           │   ├── arm_local_reg.h
    │   │       │           │   ├── base.h
    │   │       │           │   ├── gpio.h
    │   │       │           │   ├── irq.h
    │   │       │           │   ├── mini_uart.h
    │   │       │           │   ├── timer.h
    │   │       │           │   └── uart.h
    │   │       │           ├── mini_uart.c
    │   │       │           ├── pl_uart.c
    │   │       │           └── timer.c
    │   │       ├── include
    │   │       │   ├── config
    │   │       │   │   ├── 64bit.h
    │   │       │   │   ├── arch
    │   │       │   │   │   └── bcm2835.h
    │   │       │   │   ├── arm64.h
    │   │       │   │   ├── auto.conf
    │   │       │   │   ├── auto.conf.cmd
    │   │       │   │   ├── board
    │   │       │   │   │   └── pi3b.h
    │   │       │   │   ├── debug
    │   │       │   │   │   └── on
    │   │       │   │   │       └── early
    │   │       │   │   │           └── asm.h
    │   │       │   │   ├── hz
    │   │       │   │   │   └── 250.h
    │   │       │   │   ├── hz.h
    │   │       │   │   ├── kernel.release
    │   │       │   │   └── pi
    │   │       │   │       └── pl
    │   │       │   │           └── uart.h
    │   │       │   ├── irq.h
    │   │       │   ├── memory.h
    │   │       │   ├── page.h
    │   │       │   ├── printk.h
    │   │       │   ├── sched.h
    │   │       │   ├── string.h
    │   │       │   ├── target
    │   │       │   │   ├── autoconf.h
    │   │       │   │   ├── compiler.h
    │   │       │   │   ├── compiler_gcc.h
    │   │       │   │   ├── config.h
    │   │       │   │   ├── const.h
    │   │       │   │   ├── init.h
    │   │       │   │   ├── kbuild.h
    │   │       │   │   ├── linkage.h
    │   │       │   │   ├── tags
    │   │       │   │   ├── utsrelease.h
    │   │       │   │   └── version.h
    │   │       │   ├── timer.h
    │   │       │   └── type.h
    │   │       ├── init
    │   │       │   ├── Kconfig
    │   │       │   ├── Makefile
    │   │       │   └── main.c
    │   │       ├── kernel
    │   │       │   ├── Makefile
    │   │       │   └── fork.c
    │   │       ├── lib
    │   │       │   ├── Makefile
    │   │       │   ├── printk.c
    │   │       │   └── string.c
    │   │       ├── mm
    │   │       │   ├── Makefile
    │   │       │   └── page_alloc.c
    │   │       └── scripts
    │   │           ├── Kbuild
    │   │           ├── Kbuild.include
    │   │           ├── Makefile
    │   │           ├── Makefile.build
    │   │           ├── Makefile.clean
    │   │           ├── Makefile.head
    │   │           ├── Makefile.host
    │   │           ├── basic
    │   │           │   ├── Makefile
    │   │           │   └── fixdep.c
    │   │           ├── checkpatch.pl
    │   │           └── kconfig
    │   │               ├── Makefile
    │   │               ├── POTFILES.in
    │   │               ├── check.sh
    │   │               ├── conf.c
    │   │               ├── confdata.c
    │   │               ├── expr.c
    │   │               ├── expr.h
    │   │               ├── gconf.c
    │   │               ├── gconf.glade
    │   │               ├── images.c
    │   │               ├── kconfig_load.c
    │   │               ├── kxgettext.c
    │   │               ├── lex.zconf.c_shipped
    │   │               ├── lkc.h
    │   │               ├── lkc_port.h
    │   │               ├── lkc_proto.h
    │   │               ├── lxdialog
    │   │               │   ├── BIG.FAT.WARNING
    │   │               │   ├── Makefile
    │   │               │   ├── check-lxdialog.sh
    │   │               │   ├── checklist.c
    │   │               │   ├── colors.h
    │   │               │   ├── dialog.h
    │   │               │   ├── inputbox.c
    │   │               │   ├── lxdialog.c
    │   │               │   ├── menubox.c
    │   │               │   ├── msgbox.c
    │   │               │   ├── textbox.c
    │   │               │   ├── util.c
    │   │               │   └── yesno.c
    │   │               ├── mconf.c
    │   │               ├── menu.c
    │   │               ├── prog.h
    │   │               ├── qconf.cc
    │   │               ├── qconf.h
    │   │               ├── symbol.c
    │   │               ├── util.c
    │   │               ├── zconf.gperf
    │   │               ├── zconf.hash.c_shipped
    │   │               ├── zconf.l
    │   │               ├── zconf.tab.c_shipped
    │   │               └── zconf.y
    │   ├── lab21-3
    │   │   └── benos
    │   │       ├── Kbuild
    │   │       ├── Kconfig
    │   │       ├── Makefile
    │   │       ├── README.md
    │   │       ├── arch
    │   │       │   └── arm64
    │   │       │       ├── Kbuild.include
    │   │       │       ├── Kconfig
    │   │       │       ├── Makefile
    │   │       │       ├── boot
    │   │       │       │   └── Makefile
    │   │       │       ├── common
    │   │       │       │   └── asm-offsets.c
    │   │       │       ├── configs
    │   │       │       │   └── defconfig
    │   │       │       ├── include
    │   │       │       │   └── asm
    │   │       │       │       ├── current.h
    │   │       │       │       ├── io.h
    │   │       │       │       ├── irq.h
    │   │       │       │       ├── mm.h
    │   │       │       │       ├── processor.h
    │   │       │       │       ├── sysregs.h
    │   │       │       │       ├── system.h
    │   │       │       │       ├── timer.h
    │   │       │       │       └── uart.h
    │   │       │       ├── kernel
    │   │       │       │   ├── Makefile
    │   │       │       │   ├── asm-offsets.c
    │   │       │       │   ├── benos.lds.S
    │   │       │       │   ├── entry.S
    │   │       │       │   ├── head.S
    │   │       │       │   ├── irq.c
    │   │       │       │   ├── mm.S
    │   │       │       │   ├── traps.c
    │   │       │       │   └── utils.S
    │   │       │       └── mach-rpi
    │   │       │           ├── Makefile
    │   │       │           ├── early_uart.S
    │   │       │           ├── mach
    │   │       │           │   ├── arm_local_reg.h
    │   │       │           │   ├── base.h
    │   │       │           │   ├── gpio.h
    │   │       │           │   ├── irq.h
    │   │       │           │   ├── mini_uart.h
    │   │       │           │   ├── timer.h
    │   │       │           │   └── uart.h
    │   │       │           ├── mini_uart.c
    │   │       │           ├── pl_uart.c
    │   │       │           └── timer.c
    │   │       ├── include
    │   │       │   ├── config
    │   │       │   │   ├── 64bit.h
    │   │       │   │   ├── arch
    │   │       │   │   │   └── bcm2835.h
    │   │       │   │   ├── arm64.h
    │   │       │   │   ├── auto.conf
    │   │       │   │   ├── auto.conf.cmd
    │   │       │   │   ├── board
    │   │       │   │   │   └── pi3b.h
    │   │       │   │   ├── debug
    │   │       │   │   │   └── on
    │   │       │   │   │       └── early
    │   │       │   │   │           └── asm.h
    │   │       │   │   ├── hz
    │   │       │   │   │   └── 250.h
    │   │       │   │   ├── hz.h
    │   │       │   │   ├── kernel.release
    │   │       │   │   └── pi
    │   │       │   │       └── pl
    │   │       │   │           └── uart.h
    │   │       │   ├── irq.h
    │   │       │   ├── list.h
    │   │       │   ├── memory.h
    │   │       │   ├── page.h
    │   │       │   ├── printk.h
    │   │       │   ├── sched.h
    │   │       │   ├── string.h
    │   │       │   ├── target
    │   │       │   │   ├── autoconf.h
    │   │       │   │   ├── compiler.h
    │   │       │   │   ├── compiler_gcc.h
    │   │       │   │   ├── config.h
    │   │       │   │   ├── const.h
    │   │       │   │   ├── init.h
    │   │       │   │   ├── kbuild.h
    │   │       │   │   ├── linkage.h
    │   │       │   │   ├── tags
    │   │       │   │   ├── utsrelease.h
    │   │       │   │   └── version.h
    │   │       │   ├── timer.h
    │   │       │   └── type.h
    │   │       ├── init
    │   │       │   ├── Kconfig
    │   │       │   ├── Makefile
    │   │       │   └── main.c
    │   │       ├── kernel
    │   │       │   ├── Makefile
    │   │       │   ├── fork.c
    │   │       │   ├── irq.c
    │   │       │   ├── sched.c
    │   │       │   └── sched_simple.c
    │   │       ├── lib
    │   │       │   ├── Makefile
    │   │       │   ├── printk.c
    │   │       │   └── string.c
    │   │       ├── mm
    │   │       │   ├── Makefile
    │   │       │   └── page_alloc.c
    │   │       └── scripts
    │   │           ├── Kbuild
    │   │           ├── Kbuild.include
    │   │           ├── Makefile
    │   │           ├── Makefile.build
    │   │           ├── Makefile.clean
    │   │           ├── Makefile.head
    │   │           ├── Makefile.host
    │   │           ├── basic
    │   │           │   ├── Makefile
    │   │           │   └── fixdep.c
    │   │           ├── checkpatch.pl
    │   │           └── kconfig
    │   │               ├── Makefile
    │   │               ├── POTFILES.in
    │   │               ├── check.sh
    │   │               ├── conf.c
    │   │               ├── confdata.c
    │   │               ├── expr.c
    │   │               ├── expr.h
    │   │               ├── gconf.c
    │   │               ├── gconf.glade
    │   │               ├── images.c
    │   │               ├── kconfig_load.c
    │   │               ├── kxgettext.c
    │   │               ├── lex.zconf.c_shipped
    │   │               ├── lkc.h
    │   │               ├── lkc_port.h
    │   │               ├── lkc_proto.h
    │   │               ├── lxdialog
    │   │               │   ├── BIG.FAT.WARNING
    │   │               │   ├── Makefile
    │   │               │   ├── check-lxdialog.sh
    │   │               │   ├── checklist.c
    │   │               │   ├── colors.h
    │   │               │   ├── dialog.h
    │   │               │   ├── inputbox.c
    │   │               │   ├── lxdialog.c
    │   │               │   ├── menubox.c
    │   │               │   ├── msgbox.c
    │   │               │   ├── textbox.c
    │   │               │   ├── util.c
    │   │               │   └── yesno.c
    │   │               ├── mconf.c
    │   │               ├── menu.c
    │   │               ├── prog.h
    │   │               ├── qconf.cc
    │   │               ├── qconf.h
    │   │               ├── symbol.c
    │   │               ├── util.c
    │   │               ├── zconf.gperf
    │   │               ├── zconf.hash.c_shipped
    │   │               ├── zconf.l
    │   │               ├── zconf.tab.c_shipped
    │   │               └── zconf.y
    │   ├── pcs_test.S
    │   └── pcs_test.c
    ├── chapter_22
    │   ├── case_1_rgb24_bgr24
    │   │   └── rgb24_bgr24_neon_test.c
    │   ├── case_2_maxtrix_4x4
    │   │   └── neon_matrix_4x4.c
    │   └── case_3_auto_vectorization
    │       └── neon_test.c
    ├── chapter_23
    │   ├── example_4x4_matrix
    │   │   ├── Makefile
    │   │   └── sve_matrix_4x4.c
    │   ├── example_hello_sve
    │   │   ├── Makefile
    │   │   └── hello_sve.S
    │   ├── example_memcpy_1b
    │   │   ├── Makefile
    │   │   ├── sve_asm.S
    │   │   └── sve_test.c
    │   ├── example_memcpy_4b
    │   │   ├── Makefile
    │   │   ├── sve_asm.S
    │   │   └── sve_test.c
    │   ├── example_rgb24_bgr24
    │   │   ├── Makefile
    │   │   ├── rgb24_bgr24_asm.S
    │   │   └── rgb24_bgr24_sve.c
    │   └── example_strcmp
    │       ├── Makefile
    │       ├── strcmp_asm.S
    │       └── sve_strcmp.c
    ├── chapter_3
    │   ├── lab03-1
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── asm
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   └── pl_uart.h
    │   │   │   ├── io.h
    │   │   │   ├── mm.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── boot.S
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── mm.S
    │   │       └── pl_uart.c
    │   ├── lab03-2
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── asm
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   └── pl_uart.h
    │   │   │   ├── io.h
    │   │   │   ├── mm.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── boot.S
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── mm.S
    │   │       └── pl_uart.c
    │   ├── lab03-3
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── asm
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   └── pl_uart.h
    │   │   │   ├── io.h
    │   │   │   ├── mm.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── boot.S
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── mm.S
    │   │       └── pl_uart.c
    │   ├── lab03-4
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── asm
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   └── pl_uart.h
    │   │   │   ├── io.h
    │   │   │   ├── mm.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── boot.S
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── mm.S
    │   │       └── pl_uart.c
    │   ├── lab03-5
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── asm
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   └── pl_uart.h
    │   │   │   ├── io.h
    │   │   │   ├── mm.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── boot.S
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── mm.S
    │   │       └── pl_uart.c
    │   └── lab03-6
    │       ├── Makefile
    │       ├── include
    │       │   ├── asm
    │       │   │   ├── base.h
    │       │   │   ├── gpio.h
    │       │   │   └── pl_uart.h
    │       │   ├── io.h
    │       │   ├── mm.h
    │       │   └── uart.h
    │       └── src
    │           ├── asm_test.S
    │           ├── boot.S
    │           ├── kernel.c
    │           ├── linker.ld
    │           ├── memset.c
    │           ├── memset.h
    │           ├── memset_asm.S
    │           ├── mm.S
    │           └── pl_uart.c
    ├── chapter_4
    │   ├── lab04-1
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── asm
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   └── pl_uart.h
    │   │   │   ├── io.h
    │   │   │   ├── mm.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── boot.S
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── memset.c
    │   │       ├── memset.h
    │   │       ├── memset_asm.S
    │   │       ├── mm.S
    │   │       └── pl_uart.c
    │   ├── lab04-2
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── asm
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   └── pl_uart.h
    │   │   │   ├── io.h
    │   │   │   ├── mm.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── boot.S
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── memset.c
    │   │       ├── memset.h
    │   │       ├── memset_asm.S
    │   │       ├── mm.S
    │   │       └── pl_uart.c
    │   ├── lab04-3
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── asm
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   └── pl_uart.h
    │   │   │   ├── io.h
    │   │   │   ├── mm.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── boot.S
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── memset.c
    │   │       ├── memset.h
    │   │       ├── memset_asm.S
    │   │       ├── mm.S
    │   │       └── pl_uart.c
    │   ├── lab04-4
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── asm
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   └── pl_uart.h
    │   │   │   ├── io.h
    │   │   │   ├── mm.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── boot.S
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── memset.c
    │   │       ├── memset.h
    │   │       ├── memset_asm.S
    │   │       ├── mm.S
    │   │       └── pl_uart.c
    │   └── lab04-5
    │       ├── Makefile
    │       ├── include
    │       │   ├── asm
    │       │   │   ├── base.h
    │       │   │   ├── gpio.h
    │       │   │   └── pl_uart.h
    │       │   ├── io.h
    │       │   ├── mm.h
    │       │   └── uart.h
    │       └── src
    │           ├── asm_test.S
    │           ├── boot.S
    │           ├── kernel.c
    │           ├── linker.ld
    │           ├── memset.c
    │           ├── memset.h
    │           ├── memset_asm.S
    │           ├── mm.S
    │           └── pl_uart.c
    ├── chapter_5
    │   ├── lab05-1
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── asm
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   └── pl_uart.h
    │   │   │   ├── io.h
    │   │   │   ├── mm.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── boot.S
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── memset.c
    │   │       ├── memset.h
    │   │       ├── memset_asm.S
    │   │       ├── mm.S
    │   │       └── pl_uart.c
    │   ├── lab05-2
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── asm
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   └── pl_uart.h
    │   │   │   ├── io.h
    │   │   │   ├── mm.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── boot.S
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── memset.c
    │   │       ├── memset.h
    │   │       ├── memset_asm.S
    │   │       ├── mm.S
    │   │       └── pl_uart.c
    │   ├── lab05-3
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── asm
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   └── pl_uart.h
    │   │   │   ├── io.h
    │   │   │   ├── mm.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── boot.S
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── memset.c
    │   │       ├── memset.h
    │   │       ├── memset_asm.S
    │   │       ├── mm.S
    │   │       └── pl_uart.c
    │   └── lab05-3-fixed
    │       ├── Makefile
    │       ├── include
    │       │   ├── asm
    │       │   │   ├── base.h
    │       │   │   ├── gpio.h
    │       │   │   └── pl_uart.h
    │       │   ├── io.h
    │       │   ├── mm.h
    │       │   └── uart.h
    │       └── src
    │           ├── asm_test.S
    │           ├── boot.S
    │           ├── kernel.c
    │           ├── linker.ld
    │           ├── memset.c
    │           ├── memset.h
    │           ├── memset_asm.S
    │           ├── mm.S
    │           └── pl_uart.c
    ├── chapter_6
    │   ├── lab06-1
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── asm
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   └── pl_uart.h
    │   │   │   ├── io.h
    │   │   │   ├── mm.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── boot.S
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── memset.c
    │   │       ├── memset.h
    │   │       ├── memset_asm.S
    │   │       ├── mm.S
    │   │       └── pl_uart.c
    │   ├── lab06-2
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── asm
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   └── pl_uart.h
    │   │   │   ├── io.h
    │   │   │   ├── mm.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── boot.S
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── memset.c
    │   │       ├── memset.h
    │   │       ├── memset_asm.S
    │   │       ├── mm.S
    │   │       └── pl_uart.c
    │   ├── lab06-3
    │   │   ├── atomic_test.S
    │   │   └── atomic_test.c
    │   ├── lab06-3-fixed
    │   │   ├── atomic_test.S
    │   │   └── atomic_test.c
    │   └── lab06-4
    │       ├── Makefile
    │       ├── include
    │       │   ├── asm
    │       │   │   ├── base.h
    │       │   │   ├── gpio.h
    │       │   │   └── pl_uart.h
    │       │   ├── io.h
    │       │   ├── mm.h
    │       │   └── uart.h
    │       └── src
    │           ├── asm_test.S
    │           ├── atomic.S
    │           ├── boot.S
    │           ├── kernel.c
    │           ├── linker.ld
    │           ├── memset.c
    │           ├── memset.h
    │           ├── memset_asm.S
    │           ├── mm.S
    │           └── pl_uart.c
    ├── chapter_7
    │   └── lab07-1
    │       ├── Makefile
    │       ├── include
    │       │   ├── asm
    │       │   │   ├── base.h
    │       │   │   ├── gpio.h
    │       │   │   └── pl_uart.h
    │       │   ├── io.h
    │       │   ├── mm.h
    │       │   └── uart.h
    │       └── src
    │           ├── asm_test.S
    │           ├── atomic.S
    │           ├── boot.S
    │           ├── early_uart.S
    │           ├── kernel.c
    │           ├── linker.ld
    │           ├── memset.c
    │           ├── memset.h
    │           ├── memset_asm.S
    │           ├── mm.S
    │           └── pl_uart.c
    ├── chapter_8
    │   ├── example
    │   │   └── test.S
    │   ├── lab08-1
    │   │   └── test.S
    │   ├── lab08-2
    │   │   ├── Makefile
    │   │   ├── compare.S
    │   │   └── main.c
    │   └── lab08-3
    │       ├── Makefile
    │       ├── compare.c
    │       └── main.S
    ├── chapter_9
    │   ├── lab09-1
    │   │   ├── Makefile
    │   │   ├── include
    │   │   │   ├── asm
    │   │   │   │   ├── base.h
    │   │   │   │   ├── gpio.h
    │   │   │   │   └── pl_uart.h
    │   │   │   ├── io.h
    │   │   │   ├── mm.h
    │   │   │   └── uart.h
    │   │   └── src
    │   │       ├── asm_test.S
    │   │       ├── atomic.S
    │   │       ├── boot.S
    │   │       ├── early_uart.S
    │   │       ├── kernel.c
    │   │       ├── linker.ld
    │   │       ├── memset.c
    │   │       ├── memset.h
    │   │       ├── memset_asm.S
    │   │       ├── mm.S
    │   │       └── pl_uart.c
    │   └── lab09-2
    │       ├── Makefile
    │       ├── include
    │       │   ├── asm
    │       │   │   ├── base.h
    │       │   │   ├── gpio.h
    │       │   │   └── pl_uart.h
    │       │   ├── io.h
    │       │   ├── mm.h
    │       │   └── uart.h
    │       └── src
    │           ├── asm_test.S
    │           ├── atomic.S
    │           ├── boot.S
    │           ├── early_uart.S
    │           ├── kernel.c
    │           ├── linker.ld
    │           ├── memset.c
    │           ├── memset.h
    │           ├── memset_asm.S
    │           ├── mm.S
    │           ├── pl_uart.c
    │           ├── printk.c
    │           └── string.c
    ├── images
    │   ├── 1.jpg
    │   ├── 2.jpg
    │   └── 3.jpg
    └── jlink
        ├── README.md
        ├── config.txt
        ├── jlink.cfg
        ├── loop.bin
        ├── raspi3.cfg
        └── raspi4.cfg

255 directories, 1107 files


实例下载地址

Arm64体系结构编程与实践(实验代码)

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警