[yocto] [PATCH 0/6][rmc] Major refactoring works
Jianxun Zhang
jianxun.zhang at linux.intel.com
Tue Nov 22 11:35:43 PST 2016
This patch series is based on a previous patch
"rmc: Fix include path and type definitions" submitted
on Nov 15. It includes some large key enhancements inside rmc:
() Simplify two libs into one for each context, Linux or EFI
() Provide APIs for clients. They can use either single API
to perform a query or use two APIs to perform mulitple queries
for a better runtime performance.
() Remove dependency to gnu-efi in EFI build
() No need to tell EFI arch in rmc build anymore
() Remove the obsolete data type and usage for kernel cmdline
() Misc. fixes in Makefiles and source code.
etc...
Jianxun Zhang (6):
consolidate RSMP and RMCL libraries into one
refactoring work (APIs, build dependency, ... etc)
use internal definitions for types in project
use RMC_CFLAGS for internal compiler options.
remove kernel command line usage and blob type
documentation update
Makefile | 41 ++--
Makefile.efi | 61 ++----
README | 40 ++--
inc/rmc_api.h | 158 +++++++++++++
inc/rmc_types.h | 37 +++-
inc/rmc_util.h | 10 +-
inc/rmcl.h | 59 +++--
inc/rsmp.h | 58 ++---
src/lib/api.c | 327 +++++++++++++++++++++++++++
src/lib/common/RULES | 4 +
src/{rmcl => lib/common}/rmcl.c | 74 +++----
src/{rsmp => lib/common}/rsmp.c | 26 +--
src/lib/efi_api.c | 92 ++++++++
src/lib/rmc_efi.h | 71 ++++++
src/rmc.c | 475 ++++++----------------------------------
src/util/util.c | 20 +-
16 files changed, 929 insertions(+), 624 deletions(-)
create mode 100644 inc/rmc_api.h
create mode 100644 src/lib/api.c
create mode 100644 src/lib/common/RULES
rename src/{rmcl => lib/common}/rmcl.c (74%)
rename src/{rsmp => lib/common}/rsmp.c (65%)
create mode 100644 src/lib/efi_api.c
create mode 100644 src/lib/rmc_efi.h
--
2.7.4
More information about the yocto
mailing list