vm_object.c (f23b4c91c4fb94e1bb6aeb4e7747f4ccf7767b41) vm_object.c (8a129caed5f1b834a2d3f825478f5f0273f9cb9d)
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_object.c,v 1.4 1994/08/07 13:10:40 davidg Exp $
64 * $Id: vm_object.c,v 1.5 1994/08/18 22:36:06 wollman Exp $
65 */
66
67/*
68 * Virtual memory object module.
69 */
70
71#include <sys/param.h>
72#include <sys/systm.h>

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

1600 return 0;
1601 else
1602 return vm_object_page_lookup(object->shadow, offset + object->shadow_offset);
1603 }
1604 return m;
1605}
1606
1607#define DEBUG
65 */
66
67/*
68 * Virtual memory object module.
69 */
70
71#include <sys/param.h>
72#include <sys/systm.h>

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

1600 return 0;
1601 else
1602 return vm_object_page_lookup(object->shadow, offset + object->shadow_offset);
1603 }
1604 return m;
1605}
1606
1607#define DEBUG
1608#if defined(DEBUG) || (NDDB > 0)
1608#if defined(DEBUG) || defined(DDB)
1609/*
1610 * vm_object_print: [ debug ]
1611 */
1612void vm_object_print(object, full)
1613 vm_object_t object;
1614 boolean_t full;
1615{
1616 register vm_page_t p;

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

1647 count++;
1648
1649 printf("(off=0x%x,page=0x%x)", p->offset, VM_PAGE_TO_PHYS(p));
1650 }
1651 if (count != 0)
1652 printf("\n");
1653 indent -= 2;
1654}
1609/*
1610 * vm_object_print: [ debug ]
1611 */
1612void vm_object_print(object, full)
1613 vm_object_t object;
1614 boolean_t full;
1615{
1616 register vm_page_t p;

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

1647 count++;
1648
1649 printf("(off=0x%x,page=0x%x)", p->offset, VM_PAGE_TO_PHYS(p));
1650 }
1651 if (count != 0)
1652 printf("\n");
1653 indent -= 2;
1654}
1655#endif /* defined(DEBUG) || (NDDB > 0) */
1655#endif /* defined(DEBUG) || defined(DDB) */