Print this page
8956 Implement KPTI
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86xpv/Makefile.files
          +++ new/usr/src/uts/i86xpv/Makefile.files
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  
  22   22  #
  23   23  # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24  #
       25 +# Copyright 2018 Joyent, Inc.
       26 +#
  25   27  
  26   28  #       This Makefile defines file modules in the directory uts/i86xpv
  27   29  #       and its children. These are the source files which are i86xpv
  28   30  #       "implementation architecture" dependent.
  29   31  #
  30   32  
  31   33  #
  32   34  #       object lists
  33   35  #
  34   36  CORE_OBJS +=                    \
↓ open down ↓ 23 lines elided ↑ open up ↑
  58   60          hat_kdi.o               \
  59   61          hment.o                 \
  60   62          hold_page.o             \
  61   63          hrtimers.o              \
  62   64          htable.o                \
  63   65          i86_mmu.o               \
  64   66          ibft.o                  \
  65   67          instr_size.o            \
  66   68          intr.o                  \
  67   69          kboot_mmu.o             \
  68      -        kdi_subr.o              \
  69   70          kdi_idt.o               \
  70   71          kdi_idthdl.o            \
  71   72          kdi_asm.o               \
  72   73          lgrpplat.o              \
  73   74          mach_kdi.o              \
  74   75          mach_sysconfig.o        \
  75   76          machdep.o               \
  76   77          mem_config_stubs.o      \
  77   78          memnode.o               \
  78   79          microcode.o             \
↓ open down ↓ 74 lines elided ↑ open up ↑
 153  154  SPECIAL_OBJS_32 +=              \
 154  155          locore.o                \
 155  156          fast_trap_asm.o         \
 156  157          interrupt.o             \
 157  158          syscall_asm.o
 158  159  
 159  160  SPECIAL_OBJS_64 +=              \
 160  161          locore.o                \
 161  162          fast_trap_asm.o         \
 162  163          interrupt.o             \
 163      -        syscall_asm_amd64.o
      164 +        syscall_asm_amd64.o     \
      165 +        kpti_trampolines.o
 164  166  
 165  167  SPECIAL_OBJS += $(SPECIAL_OBJS_$(CLASS))
 166  168  
 167  169  #
 168  170  # object files used to boot into full kernel
 169  171  #
 170  172  DBOOT_OBJS_32 = muldiv.o
 171  173  
 172  174  DBOOT_OBJS_64 =
 173  175  
↓ open down ↓ 71 lines elided ↑ open up ↑
 245  247          interrupt.o             \
 246  248          lock_prim.o             \
 247  249          locore.o                \
 248  250          panic_asm.o             \
 249  251          sseblk.o                \
 250  252          swtch.o                 \
 251  253          syscall_asm.o           \
 252  254          syscall_asm_amd64.o
 253  255  
 254  256  $(KDI_ASSYM_DEPS:%=$(OBJS_DIR)/%):      $(DSF_DIR)/$(OBJS_DIR)/kdi_assym.h
 255      -
 256      -ASSYM_DEPS += kdi_asm.o
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX