Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/vchiq/dist/interface/compat Remove stuff no...



details:   https://anonhg.NetBSD.org/src/rev/ba4da8ed27fc
branches:  trunk
changeset: 366470:ba4da8ed27fc
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Aug 28 09:25:21 2018 +0000

description:
Remove stuff now in sys/external/bsd/common

diffstat:

 sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h |  26 -----------------
 1 files changed, 0 insertions(+), 26 deletions(-)

diffs (36 lines):

diff -r fe9725f774fa -r ba4da8ed27fc sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h
--- a/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h   Tue Aug 28 09:10:28 2018 +0000
+++ b/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h   Tue Aug 28 09:25:21 2018 +0000
@@ -216,32 +216,6 @@
 
 #define vchiq_static_assert(cond) CTASSERT(cond)
 
-#define KERN_EMERG     "<0>"   /* system is unusable                   */
-#define KERN_ALERT     "<1>"   /* action must be taken immediately     */
-#define KERN_CRIT      "<2>"   /* critical conditions                  */
-#define KERN_ERR       "<3>"   /* error conditions                     */
-#define KERN_WARNING   "<4>"   /* warning conditions                   */
-#define KERN_NOTICE    "<5>"   /* normal but significant condition     */
-#define KERN_INFO      "<6>"   /* informational                        */
-#define KERN_DEBUG     "<7>"   /* debug-level messages                 */
-#define KERN_CONT      ""
-
-#define printk(fmt, args...)           printf(fmt, ##args)
-#define vprintk(fmt, args)             vprintf(fmt, args)
-
-/*
- * Malloc API
- */
-#define GFP_KERNEL     0
-#define GFP_ATOMIC     0
-
-MALLOC_DECLARE(M_VCHI);
-
-#define kmalloc(size, flags)   malloc((size), M_VCHI, M_NOWAIT | M_ZERO)
-#define kcalloc(n, size, flags)        malloc((n) * (size), M_VCHI, M_NOWAIT | M_ZERO)
-#define kzalloc(a, b)          kcalloc(1, (a), (b))
-#define kfree(p)               do { if (p) free(p, M_VCHI); } while (0)
-
 /*
  * Kernel module API
  */



Home | Main Index | Thread Index | Old Index