commit | 213ef669d1e536e57cdff8ddc2d3b9347b98e35f | [log] [tgz] |
---|---|---|
author | Enze Li <lienze@kylinos.cn> | Wed Apr 19 12:07:27 2023 +0800 |
committer | Huacai Chen <chenhuacai@loongson.cn> | Wed Apr 19 12:07:27 2023 +0800 |
tree | 262b00103a9b5d538852c2c6825416dd54f8d4cf | |
parent | afca6e06494c75e25a71ccb4926459944e23098b [diff] |
LoongArch: Replace hard-coded values in comments with VALEN According to LoongArch documentation [1], CSR.PGDL and CSR.PGDH are concerned with the VA's MSB which is VALEN-1 instead of always being 47. Fix comments to avoid misleading others. [1] https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#page-global-directory-base-address-for-lower-half-address-space Reviewed-by: WANG Xuerui <git@xen0n.name> Signed-off-by: Enze Li <lienze@kylinos.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>