1551bc2a6Smrj# 2551bc2a6Smrj# CDDL HEADER START 3551bc2a6Smrj# 4551bc2a6Smrj# The contents of this file are subject to the terms of the 5551bc2a6Smrj# Common Development and Distribution License (the "License"). 6551bc2a6Smrj# You may not use this file except in compliance with the License. 7551bc2a6Smrj# 8551bc2a6Smrj# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9551bc2a6Smrj# or http://www.opensolaris.org/os/licensing. 10551bc2a6Smrj# See the License for the specific language governing permissions 11551bc2a6Smrj# and limitations under the License. 12551bc2a6Smrj# 13551bc2a6Smrj# When distributing Covered Code, include this CDDL HEADER in each 14551bc2a6Smrj# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15551bc2a6Smrj# If applicable, add the following below this CDDL HEADER, with the 16551bc2a6Smrj# fields enclosed by brackets "[]" replaced with your own identifying 17551bc2a6Smrj# information: Portions Copyright [yyyy] [name of copyright owner] 18551bc2a6Smrj# 19551bc2a6Smrj# CDDL HEADER END 20551bc2a6Smrj# 21c73799ddSYuri Pankov 22551bc2a6Smrj# 237f0b8309SEdward Pilatowicz# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 24551bc2a6Smrj# Use is subject to license terms. 25551bc2a6Smrj# 26b6b206fcSJohn Levon# Copyright (c) 2018, Joyent, Inc. 27*fe7a23c8SAndy Fiddaman# Copyright 2019 OmniOS Community Edition (OmniOSce) Association. 28551bc2a6Smrj 29eb0cc229SedpROOT_HVM_DIR = $(ROOT_PLAT_DIR)/i86hvm 30551bc2a6SmrjROOT_HVM_MOD_DIR = $(ROOT_HVM_DIR)/kernel 31551bc2a6SmrjROOT_HVM_DRV_DIR_32 = $(ROOT_HVM_MOD_DIR)/drv 32551bc2a6SmrjROOT_HVM_DRV_DIR_64 = $(ROOT_HVM_MOD_DIR)/drv/$(MACH64) 33551bc2a6SmrjROOT_HVM_DRV_DIR = $(ROOT_HVM_DRV_DIR_$(CLASS)) 3406bbe1e0SedpROOT_HVM_MISC_DIR_32 = $(ROOT_HVM_MOD_DIR)/misc 3506bbe1e0SedpROOT_HVM_MISC_DIR_64 = $(ROOT_HVM_MOD_DIR)/misc/$(MACH64) 3606bbe1e0SedpROOT_HVM_MISC_DIR = $(ROOT_HVM_MISC_DIR_$(CLASS)) 37eb0cc229SedpUSR_HVM_DIR = $(USR_PLAT_DIR)/i86hvm 38eb0cc229Sedp 39551bc2a6Smrj# 40eb0cc229Sedp# Define modules. 41551bc2a6Smrj# 42c73799ddSYuri PankovHVM_DRV_KMODS= cmdk rtls xdf xnf xpv xpvd 43c73799ddSYuri PankovHVM_MISC_KMODS= hvm_bootstrap 44c73799ddSYuri PankovHVM_KMODS= $(HVM_DRV_KMODS) $(HVM_MISC_KMODS) 45551bc2a6Smrj 46eb0cc229Sedpinclude $(UTSBASE)/i86pc/i86hvm/Makefile.files 47551bc2a6Smrj# 48eb0cc229Sedp# Include common rules. 49551bc2a6Smrj# 50eb0cc229Sedpinclude $(UTSBASE)/i86pc/Makefile.i86pc 51551bc2a6Smrj 52eb0cc229Sedp# 53eb0cc229Sedp# Indicate that we are building for the i86hvm semi-platform. 54eb0cc229Sedp# Also use Solaris specific code in xen public header files. 55eb0cc229Sedp# 56eb0cc229SedpCPPFLAGS += -DXPV_HVM_DRIVER -D_SOLARIS 57eb0cc229SedpASFLAGS += -DXPV_HVM_DRIVER 58b6b206fcSJohn Levon 59b6b206fcSJohn Levon# needs work 60b6b206fcSJohn LevonSMATCH=off 61