Skip to content

Commit

Permalink
Let MAIR comment catch up with reality.
Browse files Browse the repository at this point in the history
  • Loading branch information
kettenis committed Mar 10, 2021
1 parent 2ee17f5 commit f89ecdc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions sys/arch/arm64/arm64/locore.S
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $OpenBSD: locore.S,v 1.34 2021/02/21 13:14:47 kettenis Exp $ */
/* $OpenBSD: locore.S,v 1.35 2021/03/10 15:56:06 kettenis Exp $ */
/*-
* Copyright (c) 2012-2014 Andrew Turner
* All rights reserved.
Expand Down Expand Up @@ -236,7 +236,10 @@ switch_mmu_kernel:

.align 3
mair:
/* Device | Normal (no cache, write-back, write-through) */
/*
* Device (nGnRnE, nGnRE) |
* Normal (no cache, write-back, write-through)
*/
.quad MAIR_ATTR(0x00, 0) | \
MAIR_ATTR(0x04, 1) | \
MAIR_ATTR(0x44, 2) | \
Expand Down

0 comments on commit f89ecdc

Please sign in to comment.