blob: 4ca027b9e219093cca845b146e1c50c03954689f [file] [log] [blame]
Lingfeng Yange38d15c2018-09-24 16:24:01 -07001// Copyright (C) 2018 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14#include "goldfish_dma.h"
15
Lingfeng Yange38d15c2018-09-24 16:24:01 -070016int goldfish_dma_create_region(uint32_t sz, struct goldfish_dma_context* res) {
17 return 0;
18}
19
20void* goldfish_dma_map(struct goldfish_dma_context* cxt) {
21 return 0;
22}
23
24int goldfish_dma_unmap(struct goldfish_dma_context* cxt) {
25 return 0;
26}
27
28void goldfish_dma_write(struct goldfish_dma_context* cxt,
29 const void* to_write,
30 uint32_t sz) {
31}
32
33void goldfish_dma_free(goldfish_dma_context* cxt) {
34}
35
Roman Kiryanovbe1c0c22018-10-02 18:07:14 -070036uint64_t goldfish_dma_guest_paddr(const struct goldfish_dma_context* cxt) {
Lingfeng Yange38d15c2018-09-24 16:24:01 -070037 return 0;
38}
39