equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 #ifndef OS_CPU_LINUX_X86_ZPHYSICALMEMORYBACKING_LINUX_X86_HPP |
24 #ifndef OS_CPU_LINUX_X86_GC_Z_ZPHYSICALMEMORYBACKING_LINUX_X86_HPP |
25 #define OS_CPU_LINUX_X86_ZPHYSICALMEMORYBACKING_LINUX_X86_HPP |
25 #define OS_CPU_LINUX_X86_GC_Z_ZPHYSICALMEMORYBACKING_LINUX_X86_HPP |
26 |
26 |
27 #include "gc/z/zBackingFile_linux_x86.hpp" |
27 #include "gc/z/zBackingFile_linux_x86.hpp" |
28 #include "gc/z/zMemory.hpp" |
28 #include "gc/z/zMemory.hpp" |
29 |
29 |
30 class ZErrno; |
30 class ZErrno; |
60 void map(ZPhysicalMemory pmem, uintptr_t offset) const; |
60 void map(ZPhysicalMemory pmem, uintptr_t offset) const; |
61 void unmap(ZPhysicalMemory pmem, uintptr_t offset) const; |
61 void unmap(ZPhysicalMemory pmem, uintptr_t offset) const; |
62 void flip(ZPhysicalMemory pmem, uintptr_t offset) const; |
62 void flip(ZPhysicalMemory pmem, uintptr_t offset) const; |
63 }; |
63 }; |
64 |
64 |
65 #endif // OS_CPU_LINUX_X86_ZPHYSICALMEMORYBACKING_LINUX_X86_HPP |
65 #endif // OS_CPU_LINUX_X86_GC_Z_ZPHYSICALMEMORYBACKING_LINUX_X86_HPP |