VirtualBox

source: vbox/trunk/src/VBox/Runtime/r0drv/darwin/memobj-r0drv-darwin.cpp@ 207

Last change on this file since 207 was 207, checked in by vboxsync, 18 years ago

cleaning up some header stuff.

  • Property svn:keywords set to Id
File size: 2.9 KB
Line 
1/* $Id: memobj-r0drv-darwin.cpp 207 2007-01-21 10:42:48Z vboxsync $ */
2/** @file
3 * InnoTek Portable Runtime - Ring-0 Memory Objects, Darwin.
4 */
5
6/*
7 * Copyright (C) 2006 InnoTek Systemberatung GmbH
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License as published by the Free Software Foundation,
13 * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
14 * distribution. VirtualBox OSE is distributed in the hope that it will
15 * be useful, but WITHOUT ANY WARRANTY of any kind.
16 *
17 * If you received this file as part of a commercial VirtualBox
18 * distribution, then only the terms of your commercial VirtualBox
19 * license agreement apply instead of the previous paragraph.
20 */
21
22
23/*******************************************************************************
24* Header Files *
25*******************************************************************************/
26#include "the-darwin-kernel.h"
27
28#include <iprt/memobj.h>
29#include <iprt/alloc.h>
30#include <iprt/assert.h>
31#include <iprt/log.h>
32#include <iprt/param.h>
33#include <iprt/string.h>
34#include "internal/memobj.h"
35
36
37
38int rtR0MemObjNativeFree(RTR0MEMOBJ pMem)
39{
40 return VERR_NOT_IMPLEMENTED;
41}
42
43
44int rtR0MemObjNativeAllocPage(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, bool fExecutable)
45{
46 return VERR_NOT_IMPLEMENTED;
47}
48
49
50int rtR0MemObjNativeAllocLow(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, bool fExecutable)
51{
52 return VERR_NOT_IMPLEMENTED;
53}
54
55
56int rtR0MemObjNativeAllocCont(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, bool fExecutable)
57{
58 return VERR_NOT_IMPLEMENTED;
59}
60
61
62int rtR0MemObjNativeLockUser(PPRTR0MEMOBJINTERNAL ppMem, void *pv, size_t cb)
63{
64 return VERR_NOT_IMPLEMENTED;
65}
66
67
68int rtR0MemObjNativeLockKernel(PPRTR0MEMOBJINTERNAL ppMem, void *pv, size_t cb)
69{
70 return VERR_NOT_IMPLEMENTED;
71}
72
73
74int rtR0MemObjNativeAllocPhys(PPRTR0MEMOBJINTERNAL ppMem, size_t cb, RTHCPHYS PhysHighest)
75{
76 return VERR_NOT_IMPLEMENTED;
77}
78
79
80int rtR0MemObjNativeEnterPhys(PPRTR0MEMOBJINTERNAL ppMem, RTHCPHYS Phys, size_t cb)
81{
82 return VERR_NOT_IMPLEMENTED;
83}
84
85
86int rtR0MemObjNativeReserveKernel(PPRTR0MEMOBJINTERNAL ppMem, void *pvFixed, size_t cb, size_t uAlignment)
87{
88 return VERR_NOT_IMPLEMENTED;
89}
90
91
92int rtR0MemObjNativeReserveUser(PPRTR0MEMOBJINTERNAL ppMem, void *pvFixed, size_t cb, size_t uAlignment)
93{
94 return VERR_NOT_IMPLEMENTED;
95}
96
97
98int rtR0MemObjNativeMapKernel(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, void *pvFixed, size_t uAlignment, unsigned fProt)
99{
100 return VERR_NOT_IMPLEMENTED;
101}
102
103
104int rtR0MemObjNativeMapUser(PPRTR0MEMOBJINTERNAL ppMem, RTR0MEMOBJ pMemToMap, void *pvFixed, size_t uAlignment, unsigned fProt)
105{
106 return VERR_NOT_IMPLEMENTED;
107}
108
109
110RTHCPHYS rtR0MemObjNativeGetPagePhysAddr(RTR0MEMOBJ pMem, unsigned iPage)
111{
112 return NIL_RTHCPHYS;
113}
114
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette