Print this page
9210 remove KMDB branch debugging support
9211 ::crregs could do with cr2/cr3 support
9209 ::ttrace should be able to filter by thread
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>


   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #


  25 
  26 PROMSRCS += \
  27         prom_env.c \
  28         prom_getchar.c \
  29         prom_init.c \
  30         prom_printf.c \
  31         prom_putchar.c
  32 
  33 KMDBSRCS += \
  34         kaif.c \
  35         kmdb_dpi_isadep.c \
  36         kmdb_fault_isadep.c \
  37         kmdb_kdi_isadep.c \
  38         kmdb_promif_isadep.c \
  39         kvm_cpu_amd.c \
  40         kvm_cpu_p4.c \
  41         kvm_isadep.c
  42 
  43 KMDBML += \
  44         kmdb_asmutil.s \
  45         kmdb_setcontext.s
  46 
  47 KCTLSRCS += \
  48         kctl_isadep.c
  49 
  50 CTXOFFUSERS = \
  51         kmdb_setcontext.o
  52 
  53 CPPFLAGS += -DDIS_TEXT
  54 
  55 $(CTXOFFUSERS) $(CTXOFFUSERS:%.o=%.ln): kmdb_context_off.h
  56 
  57 kaif_activate.o kaif_activate.ln := CPPFLAGS += -D_MACHDEP -D_KMEMUSER
  58 
  59 STANDLIBS += \
  60         ../libstandctf/libstandctf.so \


   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 #
  25 # Copyright 2018 Joyent, Inc.
  26 #
  27 
  28 PROMSRCS += \
  29         prom_env.c \
  30         prom_getchar.c \
  31         prom_init.c \
  32         prom_printf.c \
  33         prom_putchar.c
  34 
  35 KMDBSRCS += \
  36         kaif.c \
  37         kmdb_dpi_isadep.c \
  38         kmdb_fault_isadep.c \
  39         kmdb_kdi_isadep.c \
  40         kmdb_promif_isadep.c \


  41         kvm_isadep.c
  42 
  43 KMDBML += \
  44         kmdb_asmutil.s \
  45         kmdb_setcontext.s
  46 
  47 KCTLSRCS += \
  48         kctl_isadep.c
  49 
  50 CTXOFFUSERS = \
  51         kmdb_setcontext.o
  52 
  53 CPPFLAGS += -DDIS_TEXT
  54 
  55 $(CTXOFFUSERS) $(CTXOFFUSERS:%.o=%.ln): kmdb_context_off.h
  56 
  57 kaif_activate.o kaif_activate.ln := CPPFLAGS += -D_MACHDEP -D_KMEMUSER
  58 
  59 STANDLIBS += \
  60         ../libstandctf/libstandctf.so \