aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/wpan.mk
Commit message (Expand)AuthorAgeFilesLines
* kernel: wpan: mrf24j40 depends on regmap-spiFelix Fietkau2016-01-251-1/+1
* package: kernel: update dependencies for 4.4Jonas Gorski2015-12-021-1/+3
* kernel: fix dependecy of kmod-ieee802154_6lowpanHauke Mehrtens2015-07-171-1/+1
* kernel: wpan: at86rf230 depends on regmap-spiJonas Gorski2015-07-161-1/+1
* kernel: modules: activate wpan on kernel 4.1Hauke Mehrtens2015-07-081-4/+4
* kernel: move wpan to separate menuJohn Crispin2015-07-071-1/+1
* wpan: remove duplicate DEPENDSJohn Crispin2015-04-211-2/+1
* wpan: rework bluetooth / wpan and 6lowpan dependenciesJohn Crispin2015-04-211-3/+5
* wpan: remove duplicate DEPENDSLuka Perkov2015-04-131-1/+0
* modules: more wpan fixesJohn Crispin2015-04-101-23/+7
* modules: add missing wpan fakehard driverJohn Crispin2015-04-101-1/+17
* kernel: fix kmod-ieee802154_6lowpan config symbolJonas Gorski2015-04-101-1/+1
* kernel: adds wpan related packagesJohn Crispin2015-04-101-0/+122
background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#ifndef _XEN_SYMBOLS_H
#define _XEN_SYMBOLS_H

#include <xen/config.h>
#include <xen/types.h>

#define KSYM_NAME_LEN 127

/* Lookup an address. */
const char *symbols_lookup(unsigned long addr,
                           unsigned long *symbolsize,
                           unsigned long *offset,
                           char *namebuf);

/* Replace "%s" in format with address, if found */
void __print_symbol(const char *fmt, unsigned long address);

/* This macro allows us to keep printk typechecking */
static void __check_printsym_format(const char *fmt, ...)
    __attribute__((format(printf,1,2)));
    static inline void __check_printsym_format(const char *fmt, ...)
{
}

/* ia64 and ppc64 use function descriptors, which contain the real address */
#if defined(CONFIG_IA64) || defined(CONFIG_PPC64)
#define print_fn_descriptor_symbol(fmt, addr)		\
do {						\
	unsigned long *__faddr = (unsigned long*) addr;		\
	print_symbol(fmt, __faddr[0]);		\
} while (0)
#else
#define print_fn_descriptor_symbol(fmt, addr) print_symbol(fmt, addr)
#endif

#define print_symbol(fmt, addr)			\
do {						\
	__check_printsym_format(fmt, "");	\
	__print_symbol(fmt, addr);		\
} while(0)

#endif /*_XEN_SYMBOLS_H*/