Author: imp
Date: Thu Oct 12 15:16:27 2017
New Revision: 324559
URL: https://svnweb.freebsd.org/changeset/base/324559

Log:
  Move panic back into libsa. It's documented in libstand(3) to belong
  there.
  
  Sponsored by: Netflix

Added:
  head/sys/boot/libsa/panic.c   (contents, props changed)
     - copied, changed from r324558, head/sys/boot/common/panic.c
Deleted:
  head/sys/boot/common/panic.c
Modified:
  head/sys/boot/common/Makefile.inc
  head/sys/boot/libsa/Makefile

Modified: head/sys/boot/common/Makefile.inc
==============================================================================
--- head/sys/boot/common/Makefile.inc   Thu Oct 12 15:16:22 2017        
(r324558)
+++ head/sys/boot/common/Makefile.inc   Thu Oct 12 15:16:27 2017        
(r324559)
@@ -4,7 +4,7 @@
 
 SRCS+= boot.c commands.c console.c devopen.c interp.c 
 SRCS+= interp_backslash.c interp_parse.c ls.c misc.c 
-SRCS+= module.c panic.c
+SRCS+= module.c
 
 .if ${MACHINE} == "i386" || ${MACHINE_CPUARCH} == "amd64"
 SRCS+= load_elf32.c load_elf32_obj.c reloc_elf32.c

Modified: head/sys/boot/libsa/Makefile
==============================================================================
--- head/sys/boot/libsa/Makefile        Thu Oct 12 15:16:22 2017        
(r324558)
+++ head/sys/boot/libsa/Makefile        Thu Oct 12 15:16:27 2017        
(r324559)
@@ -25,8 +25,8 @@ CFLAGS+= -I${SASRC}
 
 # standalone components and stuff we have modified locally
 SRCS+= gzguts.h zutil.h __main.c assert.c bcd.c environment.c getopt.c gets.c \
-       globals.c pager.c printf.c strdup.c strerror.c strtol.c strtoul.c 
random.c \
-       sbrk.c twiddle.c zalloc.c zalloc_malloc.c
+       globals.c pager.c panic.c printf.c strdup.c strerror.c strtol.c 
strtoul.c \
+       random.c sbrk.c twiddle.c zalloc.c zalloc_malloc.c
 
 # private (pruned) versions of libc string functions
 SRCS+= strcasecmp.c

Copied and modified: head/sys/boot/libsa/panic.c (from r324558, 
head/sys/boot/common/panic.c)
==============================================================================
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to