Selaa lähdekoodia

[Pal/Linux-SGX] Fix comment on VMA list heap_vma

Previously, the comment incorrectly stated that the heap_vma list tracks
free regions. In fact, this list tracks used/reserved regions.
Thomas Knauth 4 vuotta sitten
vanhempi
commit
17091642c9
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 2
      Pal/src/host/Linux-SGX/enclave_pages.c

+ 1 - 2
Pal/src/host/Linux-SGX/enclave_pages.c

@@ -12,8 +12,7 @@ static unsigned long pgsz = PRESET_PAGESIZE;
 void * heap_base;
 static uint64_t heap_size;
 
-/* This list keeps heap_vma structures of free regions
- * organized in DESCENDING order.*/
+/* This list keeps heap_vma structures of used/reserved regions organized in DESCENDING order.*/
 DEFINE_LIST(heap_vma);
 struct heap_vma {
     LIST_TYPE(heap_vma) list;