vm_map.c (ea41812fe5dd8f308e8bc2f1d862cbe032eb88d7) vm_map.c (e972780a114bdef5234e4c83b1908c69a899dc5a)
1/*
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * The Mach Operating System project at Carnegie-Mellon University.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 47 unchanged lines hidden (view full) ---

56 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
57 * School of Computer Science
58 * Carnegie Mellon University
59 * Pittsburgh PA 15213-3890
60 *
61 * any improvements or extensions that they make and grant Carnegie the
62 * rights to redistribute these changes.
63 *
1/*
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * The Mach Operating System project at Carnegie-Mellon University.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 47 unchanged lines hidden (view full) ---

56 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
57 * School of Computer Science
58 * Carnegie Mellon University
59 * Pittsburgh PA 15213-3890
60 *
61 * any improvements or extensions that they make and grant Carnegie the
62 * rights to redistribute these changes.
63 *
64 * $Id: vm_map.c,v 1.161 1999/05/14 23:09:32 alc Exp $
64 * $Id: vm_map.c,v 1.162 1999/05/16 05:07:31 alc Exp $
65 */
66
67/*
68 * Virtual memory mapping module.
69 */
70
71#include <sys/param.h>
72#include <sys/systm.h>

--- 483 unchanged lines hidden (view full) ---

556
557 /*
558 * Update the free space hint
559 */
560 if ((map->first_free == prev_entry) &&
561 (prev_entry->end >= new_entry->start))
562 map->first_free = new_entry;
563
65 */
66
67/*
68 * Virtual memory mapping module.
69 */
70
71#include <sys/param.h>
72#include <sys/systm.h>

--- 483 unchanged lines hidden (view full) ---

556
557 /*
558 * Update the free space hint
559 */
560 if ((map->first_free == prev_entry) &&
561 (prev_entry->end >= new_entry->start))
562 map->first_free = new_entry;
563
564 if (cow & (MAP_PREFAULT|MAP_PREFAULT_PARTIAL))
565 pmap_object_init_pt(map->pmap, start,
566 object, OFF_TO_IDX(offset), end - start,
567 cow & MAP_PREFAULT_PARTIAL);
568
564 return (KERN_SUCCESS);
565}
566
567int
568vm_map_stack (vm_map_t map, vm_offset_t addrbos, vm_size_t max_ssize,
569 vm_prot_t prot, vm_prot_t max, int cow)
570{
571 vm_map_entry_t prev_entry;

--- 2439 unchanged lines hidden ---
569 return (KERN_SUCCESS);
570}
571
572int
573vm_map_stack (vm_map_t map, vm_offset_t addrbos, vm_size_t max_ssize,
574 vm_prot_t prot, vm_prot_t max, int cow)
575{
576 vm_map_entry_t prev_entry;

--- 2439 unchanged lines hidden ---