1 /* 2 * Copyright (c) 2022 The Khronos Group Inc. 3 * Copyright (c) 2022 Valve Corporation 4 * Copyright (c) 2022 LunarG, Inc. 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 * 18 * Author: Jon Ashburn <jon@lunarg.com> 19 * Author: Courtney Goeltzenleuchter <courtney@LunarG.com> 20 * Author: Mark Young <marky@lunarg.com> 21 * Author: Lenny Komow <lenny@lunarg.com> 22 * Author: Charles Giessen <charles@lunarg.com> 23 */ 24 25 #pragma once 26 27 #include "loader_common.h" 28 29 void loader_init_dispatch_dev_ext(struct loader_instance *inst, struct loader_device *dev); 30 void *loader_dev_ext_gpa_tramp(struct loader_instance *inst, const char *funcName); 31 void *loader_dev_ext_gpa_term(struct loader_instance *inst, const char *funcName); 32 33 void *loader_phys_dev_ext_gpa_tramp(struct loader_instance *inst, const char *funcName); 34 void *loader_phys_dev_ext_gpa_term(struct loader_instance *inst, const char *funcName); 35 36 void loader_free_dev_ext_table(struct loader_instance *inst); 37 void loader_free_phys_dev_ext_table(struct loader_instance *inst); 38