[U-Boot] [RESPIN PATCH v2 11/15] x86: Add MultiProcessor (MP) table APIs

Simon Glass sjg at chromium.org
Wed Jun 24 03:45:28 CEST 2015


On 22 June 2015 at 22:18, Bin Meng <bmeng.cn at gmail.com> wrote:
> The MP table provides a way for the operating system to support
> for symmetric multiprocessing as well as symmetric I/O interrupt
> handling with the local APIC and I/O APIC. We provide a bunch of
> APIs for U-Boot to write the floating table, configuration table
> header as well as base and extended table entries.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>
> ---
>
> Changes in v2:
> - Avoid using u16 and u8 in parameters
> - Create a helper routine of strncpy that pads with spaces
>
>  arch/x86/include/asm/mpspec.h | 434 ++++++++++++++++++++++++++++++++++++++++++
>  arch/x86/include/asm/tables.h |  14 ++
>  arch/x86/lib/Makefile         |   1 +
>  arch/x86/lib/mpspec.c         | 225 ++++++++++++++++++++++
>  arch/x86/lib/tables.c         |  14 ++
>  5 files changed, 688 insertions(+)
>  create mode 100644 arch/x86/include/asm/mpspec.h
>  create mode 100644 arch/x86/lib/mpspec.c

Nice!

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list