diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-08-14 10:40:11 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-08-14 10:40:51 +0200 |
commit | 28c51f7f60281bf3acbefd47e8233ae40de1e463 (patch) | |
tree | 8e5709834780fab0a85e909fedc3dc047902974e /vm/vm_page.c | |
parent | 952872cb67bd811991dd558dd4e5d28e7d16b21b (diff) | |
download | gnumach-28c51f7f60281bf3acbefd47e8233ae40de1e463.tar.gz gnumach-28c51f7f60281bf3acbefd47e8233ae40de1e463.tar.bz2 gnumach-28c51f7f60281bf3acbefd47e8233ae40de1e463.zip |
vm: Fix ordering of addresses between DMA32 and DIRECTMAP
Diffstat (limited to 'vm/vm_page.c')
-rw-r--r-- | vm/vm_page.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/vm/vm_page.c b/vm/vm_page.c index ce37c8aa..8e5cab38 100644 --- a/vm/vm_page.c +++ b/vm/vm_page.c @@ -245,10 +245,12 @@ static int vm_page_is_ready __read_mostly; * - HIGHMEM: must be mapped before it can be accessed * * Segments are ordered by priority, 0 being the lowest priority. Their - * relative priorities are DMA < DMA32 < DIRECTMAP < HIGHMEM. Some segments - * may actually be aliases for others, e.g. if DMA is always possible from - * the direct physical mapping, DMA and DMA32 are aliases for DIRECTMAP, - * in which case the segment table contains DIRECTMAP and HIGHMEM only. + * relative priorities are DMA < DMA32 < DIRECTMAP < HIGHMEM or + * DMA < DIRECTMAP < DMA32 < HIGHMEM. + * Some segments may actually be aliases for others, e.g. if DMA is always + * possible from the direct physical mapping, DMA and DMA32 are aliases for + * DIRECTMAP, in which case the segment table contains DIRECTMAP and HIGHMEM + * only. */ static struct vm_page_seg vm_page_segs[VM_PAGE_MAX_SEGS]; |