[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AK8RRCDTRSQS5CHPWGSXHW":3,"skill-same:01M7AK8RRCDTRSQS5CHPWGSXHW":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7AK8RRCDTRSQS5CHPWGSXHW","arm-aarch64-exception-levels-memory-model-and-mmu",null,"Use for the core architecture: AArch64 register and instruction design and how it differs from AArch32, the instruction set characteristics that matter to compilers and hand-written assembly, exception levels EL0 to EL3 and the privilege model, the weak memory model and the barriers and acquire-release semantics it forces, and the MMU with translation regimes, page table formats and TLB behaviour.","the-vibey-project\u002Fvibey","the-vibey-project","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F329298758?v=4","01M7AJHGZ9722CTJ4JNQZVRH0Q","the vibey project","01M7AJHGZVMG2K7TGXQ6XFHVG3",5,"MIT","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Farm-architecture-deep-dive\u002Fskills\u002Farm-aarch64-exception-levels-memory-model-and-mmu\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: arm-aarch64-exception-levels-memory-model-and-mmu\ndescription: \"Use for the core architecture: AArch64 register and instruction design and how it differs from AArch32, the instruction set characteristics that matter to compilers and hand-written assembly, exception levels EL0 to EL3 and the privilege model, the weak memory model and the barriers and acquire-release semantics it forces, and the MMU with translation regimes, page table formats and TLB behaviour.\"\n---\n\n# ARM: AArch64, Instruction Set Characteristics, Exception Levels, the Memory Model, and MMU and Translation\n\n> **Part 2 of 6** of the *ARM: A Deep Dive* reference (plugin `arm-architecture-deep-dive`), covering §5–§9. Sibling skills: `arm-what-arm-is-licensing-families-and-isa-generations` (§0–§4), `arm-vectors-atomics-numerics-and-security-architecture` (§10–§15), `arm-system-architecture-boot-and-virtualization` (§16–§20), `arm-cortex-m-toolchain-porting-and-performance` (§21–§25), `arm-reference` (§26–§31). Section numbers are shared across the set; a reference written as §N → `skill` points into that sibling skill.\n>\n> **Currency:** The architecture is documented and stable. Two things moved decisively. See §26 → `arm-reference` for Arm's business model, and its actual market position.\n\n> **⚠️ ARM is a business model as much as an instruction set, and you cannot understand the\n> architecture without understanding that.** ⚠️ **The design choices — modularity, optional\n> extensions, profiles, strict architectural compliance — exist because the ISA has to be\n> implementable by dozens of independent companies at wildly different power and\n> performance points.**\n>\n> **Builds on a microarchitecture reference (§20 ISA design, §8 memory consistency) and a\n> semiconductor reference. Complements a digital-logic reference for the boot chain and a\n> computer-hardware reference for the datacentre context.**\n>\n> **⚠️ GOTCHA** boxes mark where ARM differs from x86 in ways that break assumptions.\n>\n> **The three ideas that organize this document:**\n> 1. **⚠️ THE ARCHITECTURE IS A CONTRACT, NOT A CHIP** (§1 → `arm-what-arm-is-licensing-families-and-isa-generations`, §4 → `arm-what-arm-is-licensing-families-and-isa-generations`). **\"ARM\" names a\n>    specification that Apple, Qualcomm, Amazon and a microcontroller vendor all implement\n>    completely differently. Statements about \"ARM performance\" are usually category\n>    errors.**\n> 2. **⚠️ THE WEAK MEMORY MODEL IS THE MOST CONSEQUENTIAL DIFFERENCE FROM x86** (§8, §23 → `arm-cortex-m-toolchain-porting-and-performance`).\n>    **Concurrent code that is correct on x86-TSO can be silently broken on ARM with no\n>    source change. This is the single most common real porting failure and it produces\n>    intermittent bugs.**\n> 3. **⚠️ SECURITY IS ARCHITECTED, NOT BOLTED ON** (§13–§15 → `arm-vectors-atomics-numerics-and-security-architecture`). **TrustZone, pointer\n>    authentication, BTI, MTE and CCA are architectural features with silicon support —\n>    which is genuinely different from mitigation-by-software, and it is a large part of\n>    why ARM won mobile.**\n\n---\n\n## §5. ⚠️ AArch64\n\n> **⚠️ A clean-sheet design, and its choices are instructive because they were made with\n> forty years of hindsight.**\n```\n⚠️ REGISTERS  ⚠️ 31 general-purpose (X0-X30, or W0-W30 for\n   32-bit views), ⚠️ plus a ZERO REGISTER (XZR\u002FWZR) and a\n   separate stack pointer\n   ⚠️ COMPARE x86-64's 16 — ⚠️ more registers means less\n   spilling, and it is one of the genuine ISA-level differences\n⚠️ ⚠️ WHAT AArch64 DELIBERATELY REMOVED from AArch32\n   ⚠️ CONDITIONAL EXECUTION on nearly every instruction —\n      ⚠️ ARM's famous feature, dropped because it complicates\n      out-of-order register renaming badly\n   ⚠️ ⚠️ THE PC AS A GENERAL REGISTER — ⚠️ AArch32 let you write\n      to r15 and branch. Elegant, and a nightmare for\n      implementation and security\n   ⚠️ Load\u002Fstore multiple with arbitrary register lists\n   ⚠️ The barrel shifter on every operand (⚠️ retained in\n      reduced form)\n⚠️ WHAT IT KEPT  ⚠️ FIXED 32-BIT INSTRUCTION LENGTH (⚠️ which\n   makes parallel DECODE far easier than x86's variable\n   length — see a microarchitecture reference §20) ·\n   load\u002Fstore architecture · condition flags (NZCV) ·\n   ⚠️ conditional SELECT instructions (CSEL) replacing\n   predication\n⚠️ ADDRESSING MODES  base+offset, pre\u002Fpost-indexed, scaled\n   register, PC-relative — ⚠️ and PC-relative addressing plus\n   ADRP is how position-independent code works efficiently\n```\n\n---\n\n## §6. Instruction Set Characteristics\n\n**⚠️ Load\u002Fstore architecture** — ⚠️ **arithmetic operates on registers only, so memory\naccess is explicit; this makes the memory model (§8) analyzable.**\n**⚠️ Load\u002Fstore PAIR (LDP\u002FSTP)** — ⚠️ **two registers in one instruction, heavily used in\nprologues and epilogues.**\n**⚠️ CSEL and the conditional-select family** — ⚠️ **branchless selection without full\npredication.**\n**⚠️ Bitfield instructions** (UBFX, SBFX, BFI) — ⚠️ **single-instruction extract and insert,\nnotably better than the x86 equivalents.**\n**⚠️ Encoding constraints**: ⚠️ **immediates are limited by the fixed 32-bit width, so large\nconstants need MOVZ\u002FMOVK sequences or a literal pool — ⚠️ which is why disassembly shows\napparently redundant instruction pairs.**\n**⚠️ System registers** are accessed via MRS\u002FMSR, ⚠️ **and the naming convention\n(`REG_ELx`) tells you which exception level owns it** (§7).\n**⚠️ Code density**: ⚠️ **AArch64 is denser than fixed-32-bit RISC traditionally was but\nless dense than Thumb-2 or x86 — a deliberate trade for decode simplicity.**\n\n---\n\n## §7. ⚠️ Exception Levels\n\n> **⚠️ The privilege model, and it is cleaner than x86's rings.**\n```\n⚠️ THE LEVELS  ⚠️ EL0 (applications) · EL1 (OS kernel) ·\n   ⚠️ EL2 (HYPERVISOR) · ⚠️ EL3 (SECURE MONITOR — the highest,\n   and where the world switch happens, §13)\n⚠️ ⚠️ EL2 EXISTING AS AN ARCHITECTED LEVEL is the key difference\n   from x86, where virtualization was retrofitted. ⚠️ The\n   hypervisor has its own level, its own registers and its own\n   translation regime by design (§20)\n⚠️ ⚠️ ORTHOGONAL TO THIS: SECURITY STATE (§13). ⚠️ Secure and\n   Non-secure worlds each have their own EL0\u002FEL1, so the\n   privilege model is TWO-DIMENSIONAL. ⚠️ ARMv9's CCA adds a\n   third dimension with Realm state (§15)\n⚠️ EXCEPTION HANDLING  ⚠️ a VECTOR TABLE indexed by exception\n   type AND by the level\u002Fstate the exception came from ·\n   ⚠️ ELR (return address), SPSR (saved state), ESR (⚠️ the\n   syndrome register, which tells you WHY — enormously useful\n   for debugging)\n⚠️ ⚠️ EXCEPTIONS ROUTE UPWARD, and where they route is\n   CONFIGURABLE via HCR_EL2 and SCR_EL3 — ⚠️ which is what lets\n   a hypervisor trap and emulate specific guest operations\n⚠️ SYNCHRONOUS vs asynchronous (IRQ, FIQ, SError) ·\n   ⚠️ FIQ historically the fast interrupt, now largely used for\n   secure-world interrupts\n```\n\n---\n\n## §8. ⚠️ The Memory Model\n\n> **⚠️ §1 → `arm-what-arm-is-licensing-families-and-isa-generations`'s second organizing idea, and the thing most likely to bite you. See a\n> microarchitecture reference §8 for consistency models generally.**\n```\n⚠️ ⚠️ ARM IS WEAKLY ORDERED. ⚠️ Loads and stores can be reordered\n   far more freely than on x86-TSO — ⚠️ store-store, load-load,\n   load-store and store-load reordering are all permitted where\n   no dependency exists\n⚠️ ⚠️ THE PRACTICAL CONSEQUENCE: CONCURRENT CODE THAT IS CORRECT\n   ON x86 CAN BE BROKEN ON ARM WITH NO SOURCE CHANGE. ⚠️ x86's\n   stronger model HIDES missing synchronization. ⚠️ The bugs are\n   intermittent, load-dependent and hard to reproduce\n⚠️ THE BARRIERS\n   ⚠️ DMB  data memory barrier — orders memory accesses\n   ⚠️ DSB  data synchronization barrier — stronger, waits for\n      completion\n   ⚠️ ISB  instruction synchronization barrier — ⚠️ needed after\n      changing system state that affects instruction fetch\n   ⚠️ Each takes a SHAREABILITY DOMAIN and access-type qualifier\n      (ISH, OSH, NSH; LD, ST) — ⚠️ using the weakest sufficient\n      variant matters for performance\n⚠️ ⚠️ ACQUIRE\u002FRELEASE IS BUILT INTO THE INSTRUCTIONS\n   ⚠️ LDAR (load-acquire) and STLR (store-release) — ⚠️ ordering\n   semantics without a separate barrier, and generally FASTER\n   than a full DMB. ⚠️ This is the idiom to use\n⚠️ ⚠️ ADDRESS, DATA AND CONTROL DEPENDENCIES provide some\n   ordering for free — ⚠️ and relying on them is subtle and\n   compiler-hostile, because the compiler may optimize the\n   dependency away\n⚠️ MEMORY TYPES  ⚠️ NORMAL (cacheable, reorderable, speculatable)\n   vs ⚠️ DEVICE (nGnRnE through nGRE — ⚠️ device memory\n   attributes control gathering, reordering and early\n   acknowledgement, and getting these wrong on MMIO causes\n   baffling driver bugs)\n⚠️ CACHE MAINTENANCE  ⚠️ ARM requires explicit cache maintenance\n   in places x86 does not, particularly for ⚠️ SELF-MODIFYING\n   CODE and JITs — ⚠️ instruction and data caches are not\n   coherent, so a JIT must clean D-cache and invalidate I-cache\n```\n\n---\n\n## §9. MMU and Translation\n\n**⚠️ Translation regimes** are per exception level and per security state, ⚠️ **which is why\nthere are so many system registers.**\n**⚠️ TTBR0 and TTBR1** — ⚠️ **two base registers split by address range, so user and kernel\nmappings live in separate tables and a context switch changes only TTBR0.** ⚠️ **This is\narchitecturally cleaner than the x86 arrangement and made Meltdown-style page-table\nisolation cheaper.**\n**⚠️ Granule sizes** of 4 KB, 16 KB and 64 KB — ⚠️ **note that 16 KB is what Apple uses, and\nit is a real source of porting friction for code that assumes 4 KB pages.**\n**⚠️ Multi-level tables, up to 4 or 5 levels**, ⚠️ **with configurable address size (TCR).**\n**⚠️ ASIDs and VMIDs** avoid TLB flushes on context and VM switch.\n**⚠️ STAGE 2 TRANSLATION** is the virtualization feature (§20 → `arm-system-architecture-boot-and-virtualization`): ⚠️ **the guest's \"physical\"\naddress is translated again by the hypervisor's tables — architected, not emulated.**\n**⚠️ TLB maintenance** is explicit and has broadcast variants, ⚠️ **and TLBI instructions\nplus the required DSB\u002FISB sequencing are a classic source of subtle kernel bugs.**\n","# ARM: AArch64, Instruction Set Characteristics, Exception Levels, the Memory Model, and MMU and Translation\n\n> **Part 2 of 6** of the *ARM: A Deep Dive* reference (plugin `arm-architecture-deep-dive`), covering §5–§9. Sibling skills: `arm-what-arm-is-licensing-families-and-isa-generations` (§0–§4), `arm-vectors-atomics-numerics-and-security-architecture` (§10–§15), `arm-system-architecture-boot-and-virtualization` (§16–§20), `arm-cortex-m-toolchain-porting-and-performance` (§21–§25), `arm-reference` (§26–§31). Section numbers are shared across the set; a reference written as §N → `skill` points into that sibling skill.\n>\n> **Currency:** The architecture is documented and stable. Two things moved decisively. See §26 → `arm-reference` for Arm's business model, and its actual market position.\n\n> **⚠️ ARM is a business model as much as an instruction set, and you cannot understand the\n> architecture without understanding that.** ⚠️ **The design choices — modularity, optional\n> extensions, profiles, strict architectural compliance — exist because the ISA has to be\n> implementable by dozens of independent companies at wildly different power and\n> performance points.**\n>\n> **Builds on a microarchitecture reference (§20 ISA design, §8 memory consistency) and a\n> semiconductor reference. Complements a digital-logic reference for the boot chain and a\n> computer-hardware reference for the datacentre context.**\n>\n> **⚠️ GOTCHA** boxes mark where ARM differs from x86 in ways that break assumptions.\n>\n> **The three ideas that organize this document:**\n> 1. **⚠️ THE ARCHITECTURE IS A CONTRACT, NOT A CHIP** (§1 → `arm-what-arm-is-licensing-families-and-isa-generations`, §4 → `arm-what-arm-is-licensing-families-and-isa-generations`). **\"ARM\" names a\n>    specification that Apple, Qualcomm, Amazon and a microcontroller vendor all implement\n>    completely differently. Statements about \"ARM performance\" are usually category\n>    errors.**\n> 2. **⚠️ THE WEAK MEMORY MODEL IS THE MOST CONSEQUENTIAL DIFFERENCE FROM x86** (§8, §23 → `arm-cortex-m-toolchain-porting-and-performance`).\n>    **Concurrent code that is correct on x86-TSO can be silently broken on ARM with no\n>    source change. This is the single most common real porting failure and it produces\n>    intermittent bugs.**\n> 3. **⚠️ SECURITY IS ARCHITECTED, NOT BOLTED ON** (§13–§15 → `arm-vectors-atomics-numerics-and-security-architecture`). **TrustZone, pointer\n>    authentication, BTI, MTE and CCA are architectural features with silicon support —\n>    which is genuinely different from mitigation-by-software, and it is a large part of\n>    why ARM won mobile.**\n\n---\n\n## §5. ⚠️ AArch64\n\n> **⚠️ A clean-sheet design, and its choices are instructive because they were made with\n> forty years of hindsight.**\n```\n⚠️ REGISTERS  ⚠️ 31 general-purpose (X0-X30, or W0-W30 for\n   32-bit views), ⚠️ plus a ZERO REGISTER (XZR\u002FWZR) and a\n   separate stack pointer\n   ⚠️ COMPARE x86-64's 16 — ⚠️ more registers means less\n   spilling, and it is one of the genuine ISA-level differences\n⚠️ ⚠️ WHAT AArch64 DELIBERATELY REMOVED from AArch32\n   ⚠️ CONDITIONAL EXECUTION on nearly every instruction —\n      ⚠️ ARM's famous feature, dropped because it complicates\n      out-of-order register renaming badly\n   ⚠️ ⚠️ THE PC AS A GENERAL REGISTER — ⚠️ AArch32 let you write\n      to r15 and branch. Elegant, and a nightmare for\n      implementation and security\n   ⚠️ Load\u002Fstore multiple with arbitrary register lists\n   ⚠️ The barrel shifter on every operand (⚠️ retained in\n      reduced form)\n⚠️ WHAT IT KEPT  ⚠️ FIXED 32-BIT INSTRUCTION LENGTH (⚠️ which\n   makes parallel DECODE far easier than x86's variable\n   length — see a microarchitecture reference §20) ·\n   load\u002Fstore architecture · condition flags (NZCV) ·\n   ⚠️ conditional SELECT instructions (CSEL) replacing\n   predication\n⚠️ ADDRESSING MODES  base+offset, pre\u002Fpost-indexed, scaled\n   register, PC-relative — ⚠️ and PC-relative addressing plus\n   ADRP is how position-independent code works efficiently\n```\n\n---\n\n## §6. Instruction Set Characteristics\n\n**⚠️ Load\u002Fstore architecture** — ⚠️ **arithmetic operates on registers only, so memory\naccess is explicit; this makes the memory model (§8) analyzable.**\n**⚠️ Load\u002Fstore PAIR (LDP\u002FSTP)** — ⚠️ **two registers in one instruction, heavily used in\nprologues and epilogues.**\n**⚠️ CSEL and the conditional-select family** — ⚠️ **branchless selection without full\npredication.**\n**⚠️ Bitfield instructions** (UBFX, SBFX, BFI) — ⚠️ **single-instruction extract and insert,\nnotably better than the x86 equivalents.**\n**⚠️ Encoding constraints**: ⚠️ **immediates are limited by the fixed 32-bit width, so large\nconstants need MOVZ\u002FMOVK sequences or a literal pool — ⚠️ which is why disassembly shows\napparently redundant instruction pairs.**\n**⚠️ System registers** are accessed via MRS\u002FMSR, ⚠️ **and the naming convention\n(`REG_ELx`) tells you which exception level owns it** (§7).\n**⚠️ Code density**: ⚠️ **AArch64 is denser than fixed-32-bit RISC traditionally was but\nless dense than Thumb-2 or x86 — a deliberate trade for decode simplicity.**\n\n---\n\n## §7. ⚠️ Exception Levels\n\n> **⚠️ The privilege model, and it is cleaner than x86's rings.**\n```\n⚠️ THE LEVELS  ⚠️ EL0 (applications) · EL1 (OS kernel) ·\n   ⚠️ EL2 (HYPERVISOR) · ⚠️ EL3 (SECURE MONITOR — the highest,\n   and where the world switch happens, §13)\n⚠️ ⚠️ EL2 EXISTING AS AN ARCHITECTED LEVEL is the key difference\n   from x86, where virtualization was retrofitted. ⚠️ The\n   hypervisor has its own level, its own registers and its own\n   translation regime by design (§20)\n⚠️ ⚠️ ORTHOGONAL TO THIS: SECURITY STATE (§13). ⚠️ Secure and\n   Non-secure worlds each have their own EL0\u002FEL1, so the\n   privilege model is TWO-DIMENSIONAL. ⚠️ ARMv9's CCA adds a\n   third dimension with Realm state (§15)\n⚠️ EXCEPTION HANDLING  ⚠️ a VECTOR TABLE indexed by exception\n   type AND by the level\u002Fstate the exception came from ·\n   ⚠️ ELR (return address), SPSR (saved state), ESR (⚠️ the\n   syndrome register, which tells you WHY — enormously useful\n   for debugging)\n⚠️ ⚠️ EXCEPTIONS ROUTE UPWARD, and where they route is\n   CONFIGURABLE via HCR_EL2 and SCR_EL3 — ⚠️ which is what lets\n   a hypervisor trap and emulate specific guest operations\n⚠️ SYNCHRONOUS vs asynchronous (IRQ, FIQ, SError) ·\n   ⚠️ FIQ historically the fast interrupt, now largely used for\n   secure-world interrupts\n```\n\n---\n\n## §8. ⚠️ The Memory Model\n\n> **⚠️ §1 → `arm-what-arm-is-licensing-families-and-isa-generations`'s second organizing idea, and the thing most likely to bite you. See a\n> microarchitecture reference §8 for consistency models generally.**\n```\n⚠️ ⚠️ ARM IS WEAKLY ORDERED. ⚠️ Loads and stores can be reordered\n   far more freely than on x86-TSO — ⚠️ store-store, load-load,\n   load-store and store-load reordering are all permitted where\n   no dependency exists\n⚠️ ⚠️ THE PRACTICAL CONSEQUENCE: CONCURRENT CODE THAT IS CORRECT\n   ON x86 CAN BE BROKEN ON ARM WITH NO SOURCE CHANGE. ⚠️ x86's\n   stronger model HIDES missing synchronization. ⚠️ The bugs are\n   intermittent, load-dependent and hard to reproduce\n⚠️ THE BARRIERS\n   ⚠️ DMB  data memory barrier — orders memory accesses\n   ⚠️ DSB  data synchronization barrier — stronger, waits for\n      completion\n   ⚠️ ISB  instruction synchronization barrier — ⚠️ needed after\n      changing system state that affects instruction fetch\n   ⚠️ Each takes a SHAREABILITY DOMAIN and access-type qualifier\n      (ISH, OSH, NSH; LD, ST) — ⚠️ using the weakest sufficient\n      variant matters for performance\n⚠️ ⚠️ ACQUIRE\u002FRELEASE IS BUILT INTO THE INSTRUCTIONS\n   ⚠️ LDAR (load-acquire) and STLR (store-release) — ⚠️ ordering\n   semantics without a separate barrier, and generally FASTER\n   than a full DMB. ⚠️ This is the idiom to use\n⚠️ ⚠️ ADDRESS, DATA AND CONTROL DEPENDENCIES provide some\n   ordering for free — ⚠️ and relying on them is subtle and\n   compiler-hostile, because the compiler may optimize the\n   dependency away\n⚠️ MEMORY TYPES  ⚠️ NORMAL (cacheable, reorderable, speculatable)\n   vs ⚠️ DEVICE (nGnRnE through nGRE — ⚠️ device memory\n   attributes control gathering, reordering and early\n   acknowledgement, and getting these wrong on MMIO causes\n   baffling driver bugs)\n⚠️ CACHE MAINTENANCE  ⚠️ ARM requires explicit cache maintenance\n   in places x86 does not, particularly for ⚠️ SELF-MODIFYING\n   CODE and JITs — ⚠️ instruction and data caches are not\n   coherent, so a JIT must clean D-cache and invalidate I-cache\n```\n\n---\n\n## §9. MMU and Translation\n\n**⚠️ Translation regimes** are per exception level and per security state, ⚠️ **which is why\nthere are so many system registers.**\n**⚠️ TTBR0 and TTBR1** — ⚠️ **two base registers split by address range, so user and kernel\nmappings live in separate tables and a context switch changes only TTBR0.** ⚠️ **This is\narchitecturally cleaner than the x86 arrangement and made Meltdown-style page-table\nisolation cheaper.**\n**⚠️ Granule sizes** of 4 KB, 16 KB and 64 KB — ⚠️ **note that 16 KB is what Apple uses, and\nit is a real source of porting friction for code that assumes 4 KB pages.**\n**⚠️ Multi-level tables, up to 4 or 5 levels**, ⚠️ **with configurable address size (TCR).**\n**⚠️ ASIDs and VMIDs** avoid TLB flushes on context and VM switch.\n**⚠️ STAGE 2 TRANSLATION** is the virtualization feature (§20 → `arm-system-architecture-boot-and-virtualization`): ⚠️ **the guest's \"physical\"\naddress is translated again by the hypervisor's tables — architected, not emulated.**\n**⚠️ TLB maintenance** is explicit and has broadcast variants, ⚠️ **and TLBI instructions\nplus the required DSB\u002FISB sequencing are a classic source of subtle kernel bugs.**\n",{"name":5,"description":7},"develop","ae32736a1aabddabca5d2c96d665aa0ebc7d8700","src\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Farm-architecture-deep-dive\u002Fskills\u002Farm-aarch64-exception-levels-memory-model-and-mmu",3,"https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey","https:\u002F\u002Fthe-vibey-project.github.io\u002Fvibey\u002F","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project","https:\u002F\u002Fvibewithadam.matthewsteinberger.com","freedom for software engineers","2026-11-15 05:47:42",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add the-vibey-project\u002Fvibey --skill arm-aarch64-exception-levels-memory-model-and-mmu",{"tool":40,"command":41},"bunx","bunx skills add the-vibey-project\u002Fvibey --skill arm-aarch64-exception-levels-memory-model-and-mmu",{"tool":43,"command":44},"pnpm","pnpm dlx skills add the-vibey-project\u002Fvibey --skill arm-aarch64-exception-levels-memory-model-and-mmu","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Farm-architecture-deep-dive\u002Fskills\u002Farm-aarch64-exception-levels-memory-model-and-mmu\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7AT1FQJAE1FQYAMDTF490Y4","white-paper-writing","Use when writing white papers, technical reports, policy documents, thought leadership pieces, or any long-form authoritative document. Triggers on requests to write, structure, outline, or review white papers, technical reports, position papers, policy briefs, or evidence-driven arguments. Also use for B2B content marketing strategy, technical documentation requiring authority, academic-style reports, or any document that must educate while persuading. Use when someone asks \"how should I structure this\" for a long-form document.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fwhite-paper-writing\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7AT16BJRJJKK2MASXRZS76G","prose-technical-mechanics","Use when editing or writing prose at a technical\u002Fmechanical level: choosing between Anglo-Saxon and Latinate diction, placing information in topic vs stress positions, writing periodic vs cumulative sentences, handling sentence rhythm, punctuation as logic, transitions, paragraph structure, or phonesthetics. Use when someone wants to understand WHY prose works or doesn't, not just surface-level style advice. Triggers on word choice, sentence structure, emphasis, rhythm, diction, or any deep writing mechanics question.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fprose-technical-mechanics\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7AT0W9HT0ZZ9Y287NW99MR3","prose-mechanics","Use when writing, editing, or analyzing prose style; when trying to avoid generic AI-sounding writing; when applying specific prose styles such as journalistic, academic, narrative, KJV biblical, Hemingway plain, Latinate\u002FJamesian, Orwellian, Augustan, Victorian, Early Modern (Bacon, Browne, Milton), or free indirect discourse; or when coaching someone on writing voice and mechanics. Triggers on any request to improve, analyze, or write in a specific prose style, to fix \"AI-sounding\" writing, to make prose more vivid or concrete, to vary sentence rhythm, or to understand how a particular writer achieves their effects.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fprose-mechanics\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7AT0KR635JX66X2X6F3E2CP","narrative-structure","Use when structuring stories, pitches, presentations, white papers, or any persuasive narrative; analyzing the hero's journey in fiction or non-fiction; applying StoryBrand for business communication; designing narrative arcs for thought leadership; or understanding Vogler, Snyder, Propp, or Campbell frameworks. Triggers on any narrative structure, storytelling, pitch structure, StoryBrand, hero's journey, three-act structure, Freytag, Save the Cat, narrative arc, or \"how should I structure this story\u002Fpitch\u002Fpresentation\" request.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fnarrative-structure\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7AT0AKGW09NKKZDYBT8VRDE","legal-brief-writing","Use when writing legal briefs, motions, or any court filing; when analyzing judicial cognition and persuasion; when applying elite brief-writing techniques from Roberts, Clement, Kagan, Garner; or when structuring legal arguments for maximum persuasion. Also use for autistic\u002Fneurodivergent advocates who need to understand how their natural communication style maps to elite legal advocacy. Triggers on any legal writing, brief drafting, motion preparation, or legal argument structuring request.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Flegal-brief-writing\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7AT00VWPS4Q8B5VEMXX9NQT","journal-publishability-criteria","Use whenever a research paper, article or preprint is being written, revised, reviewed or published, and specifically before every publication of docs\u002Fpaper.md. Covers what legitimate journals actually gate on, in order of gating — the editor's desk screen (scope, novelty, package problems), what reviewers judge (methodological soundness, claims the evidence can carry, statistical and qualitative reporting), EQUATOR reporting guidelines, the ICMJE authorship criteria, COPE's view of text recycling, the near-universal generative-AI policy (no AI author, disclosure, author responsibility), TOP 2025 transparency standards, how to verify a journal is legitimate, submitting without an institution, and a pre-submission checklist. Triggers on requests to evaluate, review, prepare or submit a paper, to judge publishability, to write a declarations or data-availability section, to disclose AI use, or to check a journal.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fjournal-publishability-criteria\u002FSKILL.md",[],[]]