summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/uts/i86pc/Makefile.files2
-rw-r--r--usr/src/uts/i86pc/Makefile.rules5
-rw-r--r--usr/src/uts/i86pc/promif/prom_panic.c (renamed from usr/src/uts/intel/promif/prom_panic.c)0
-rw-r--r--usr/src/uts/i86pc/promif/prom_reboot.c (renamed from usr/src/uts/intel/promif/prom_reboot.c)2
-rw-r--r--usr/src/uts/i86xpv/Makefile.files3
-rw-r--r--usr/src/uts/i86xpv/Makefile.rules4
-rw-r--r--usr/src/uts/intel/Makefile.files2
7 files changed, 14 insertions, 4 deletions
diff --git a/usr/src/uts/i86pc/Makefile.files b/usr/src/uts/i86pc/Makefile.files
index 064cda8548..11f6af52ee 100644
--- a/usr/src/uts/i86pc/Makefile.files
+++ b/usr/src/uts/i86pc/Makefile.files
@@ -113,6 +113,8 @@ CORE_OBJS += \
pci_orion.o \
pmem.o \
ppage.o \
+ prom_panic.o \
+ prom_reboot.o \
pwrnow.o \
speedstep.o \
ssp.o \
diff --git a/usr/src/uts/i86pc/Makefile.rules b/usr/src/uts/i86pc/Makefile.rules
index 9fe73c00f5..af57055292 100644
--- a/usr/src/uts/i86pc/Makefile.rules
+++ b/usr/src/uts/i86pc/Makefile.rules
@@ -24,6 +24,7 @@
# Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
# Copyright 2019 Joyent, Inc.
# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
+# Copyright 2022 Oxide Computer Company
#
# This Makefile defines the build rules for the directory uts/i86pc
@@ -173,6 +174,10 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/i86pc/os/cpupm/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)
+$(OBJS_DIR)/%.o: $(UTSBASE)/i86pc/promif/%.c
+ $(COMPILE.c) -o $@ $<
+ $(CTFCONVERT_O)
+
$(OBJS_DIR)/%.o: $(UTSBASE)/i86pc/boot/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)
diff --git a/usr/src/uts/intel/promif/prom_panic.c b/usr/src/uts/i86pc/promif/prom_panic.c
index 181d13bead..181d13bead 100644
--- a/usr/src/uts/intel/promif/prom_panic.c
+++ b/usr/src/uts/i86pc/promif/prom_panic.c
diff --git a/usr/src/uts/intel/promif/prom_reboot.c b/usr/src/uts/i86pc/promif/prom_reboot.c
index be7de23a23..be651c2783 100644
--- a/usr/src/uts/intel/promif/prom_reboot.c
+++ b/usr/src/uts/i86pc/promif/prom_reboot.c
@@ -24,8 +24,6 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/promif.h>
#include <sys/promimpl.h>
#include <sys/bootsvcs.h>
diff --git a/usr/src/uts/i86xpv/Makefile.files b/usr/src/uts/i86xpv/Makefile.files
index 5c9acfabed..40d22b6029 100644
--- a/usr/src/uts/i86xpv/Makefile.files
+++ b/usr/src/uts/i86xpv/Makefile.files
@@ -23,6 +23,7 @@
# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
#
# Copyright 2019 Joyent, Inc.
+# Copyright 2022 Oxide Computer Company
#
# This Makefile defines file modules in the directory uts/i86xpv
@@ -95,6 +96,8 @@ CORE_OBJS += \
pci_orion.o \
pmem.o \
ppage.o \
+ prom_reboot.o \
+ prom_panic.o \
startup.o \
ssp.o \
xpv_timestamp.o \
diff --git a/usr/src/uts/i86xpv/Makefile.rules b/usr/src/uts/i86xpv/Makefile.rules
index dfabbd6897..85d91a3a87 100644
--- a/usr/src/uts/i86xpv/Makefile.rules
+++ b/usr/src/uts/i86xpv/Makefile.rules
@@ -90,6 +90,10 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/i86xpv/vm/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)
+$(OBJS_DIR)/%.o: $(UTSBASE)/i86pc/promif/%.c
+ $(COMPILE.c) -o $@ $<
+ $(CTFCONVERT_O)
+
$(OBJS_DIR)/%.o: $(UTSBASE)/i86xpv/boot/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)
diff --git a/usr/src/uts/intel/Makefile.files b/usr/src/uts/intel/Makefile.files
index 4336f77a23..20d5e89ec9 100644
--- a/usr/src/uts/intel/Makefile.files
+++ b/usr/src/uts/intel/Makefile.files
@@ -74,7 +74,6 @@ GENUNIX_OBJS += \
lwp_private.o \
prom_enter.o \
prom_exit.o \
- prom_panic.o \
sendsig.o \
syscall.o
@@ -91,7 +90,6 @@ GENUNIX_OBJS += \
prom_printf.o \
prom_prop.o \
prom_putchar.o \
- prom_reboot.o \
prom_version.o
#