このページを編集する際は,編集に関する方針に従ってください.[]
概要[]
- gcc-4.1.0/gcc/ggc-zone.cにて定義
- ページエントリを管理する
実装[]
327 #if HOST_BITS_PER_PTR <= 32
328
329 /* On 32-bit hosts, we use a two level page table, as pictured above. */
330 typedef [[page_entry>struct page_entry]] **page_table[[[PAGE_L1_SIZE]]];
331
332 #else
333
334 /* On 64-bit hosts, we use the same two level page tables plus a linked
335 list that disambiguates the top 32-bits. There will almost always be
336 exactly one entry in the list. */
337 typedef struct page_table_chain
338 {
339 struct page_table_chain *next;
340 size_t high_bits;
341 [[page_entry>struct page_entry]] **table[[[PAGE_L1_SIZE]]];
342 } *page_table;
343
344 #endif