Changeset 640 for trunk/hal/generic
- Timestamp:
- Oct 1, 2019, 1:19:00 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/generic/hal_gpt.h
r635 r640 2 2 * hal_gpt.h - Generic Page Table API definition. 3 3 * 4 * Authors Alain Greiner (2016 )4 * Authors Alain Greiner (2016,2017,2018,2019) 5 5 * 6 6 * Copyright (c) UPMC Sorbonne Universites … … 69 69 typedef struct gpt_s 70 70 { 71 void * ptr; /*! local pointer on GPT root */ 72 ppn_t ppn; /*! PPN of GPT root */ 71 void * ptr; /*! local pointer on GPT root */ 72 uint32_t pte1_wait_events; /*! total number of pte1 wait events on this gpt */ 73 uint32_t pte1_wait_iters; /*! total number of iterations in all pte1 wait */ 74 uint32_t pte2_wait_events; /*! total number of pte2 wait events on this gpt */ 75 uint32_t pte2_wait_iters; /*! total number of iterations in all pte2 wait */ 73 76 } 74 77 gpt_t; … … 87 90 * This function releases all memory dynamically allocated for a generic page table. 88 91 * For a multi-levels radix tree implementation, it includes all nodes in the tree. 92 * All GPT entries are supposed to be previously unmapped. 89 93 **************************************************************************************** 90 94 * @ gpt : pointer on generic page table descriptor.
Note: See TracChangeset
for help on using the changeset viewer.