[rtems-libbsd commit] Add bootverbose

Joel Sherrill joel at rtems.org
Tue Mar 27 14:19:40 UTC 2012


Module:    rtems-libbsd
Branch:    master
Commit:    c9765067401e5bd98be79a8ca9db3007f984736c
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=c9765067401e5bd98be79a8ca9db3007f984736c

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Tue Mar 27 09:21:04 2012 -0500

Add bootverbose

---

 freebsd/kern/init_main.c                     |    3 +++
 rtemsbsd/freebsd/machine/rtems-bsd-symbols.h |    2 ++
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/freebsd/kern/init_main.c b/freebsd/kern/init_main.c
index 4b308fc..292e00a 100644
--- a/freebsd/kern/init_main.c
+++ b/freebsd/kern/init_main.c
@@ -110,7 +110,10 @@ struct	proc *initproc;
 
 int	boothowto = 0;		/* initialized so that it can be patched */
 SYSCTL_INT(_debug, OID_AUTO, boothowto, CTLFLAG_RD, &boothowto, 0, "");
+#endif /* __rtems__ */
+
 int	bootverbose;
+#ifndef __rtems__
 SYSCTL_INT(_debug, OID_AUTO, bootverbose, CTLFLAG_RW, &bootverbose, 0, "");
 
 /*
diff --git a/rtemsbsd/freebsd/machine/rtems-bsd-symbols.h b/rtemsbsd/freebsd/machine/rtems-bsd-symbols.h
index 3696b97..1eaf3c0 100644
--- a/rtemsbsd/freebsd/machine/rtems-bsd-symbols.h
+++ b/rtemsbsd/freebsd/machine/rtems-bsd-symbols.h
@@ -23,6 +23,8 @@
 #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_SYMBOLS_H_
 #define _RTEMS_BSD_MACHINE_RTEMS_BSD_SYMBOLS_H_
 
+#define bootverbose _bsd_bootverbose
+#define bus_activate_resource _bsd_bus_activate_resource
 #define bus_activate_resource _bsd_bus_activate_resource
 #define bus_activate_resource_desc _bsd_bus_activate_resource_desc
 #define bus_activate_resource_method_default _bsd_bus_activate_resource_method_default




More information about the vc mailing list