* Initialize an existing vm_map structure * such as that in the vmspace structure. */
| 919 | * such as that in the vmspace structure. |
| 920 | */ |
| 921 | static void |
| 922 | _vm_map_init(vm_map_t map, pmap_t pmap, vm_offset_t min, vm_offset_t max) |
| 923 | { |
| 924 | |
| 925 | map->header.eflags = MAP_ENTRY_HEADER; |
| 926 | map->needs_wakeup = FALSE; |
| 927 | map->system_map = 0; |
| 928 | map->pmap = pmap; |
| 929 | map->header.end = min; |
| 930 | map->header.start = max; |
| 931 | map->flags = 0; |
| 932 | map->header.left = map->header.right = &map->header; |
| 933 | map->root = NULL; |
| 934 | map->timestamp = 0; |
| 935 | map->busy = 0; |
| 936 | map->anon_loc = 0; |
| 937 | #ifdef DIAGNOSTIC |
| 938 | map->nupdates = 0; |
| 939 | #endif |
| 940 | } |
| 941 | |
| 942 | void |
| 943 | vm_map_init(vm_map_t map, pmap_t pmap, vm_offset_t min, vm_offset_t max) |
no outgoing calls
no test coverage detected