ebda: add mpc_cpu struct
ebda: add mpc_cpu struct

For now, we hardcoded the number of processors to 2.
now, the dmesg was as below:

[    0.031692][    T0] Intel MultiProcessor Specification v1.4
[    0.033641][    T0]   mpc: 9fc40-9fc94
[    0.034256][    T0] MPTABLE: OEM ID:
[    0.034863][    T0] MPTABLE: Product ID:
[    0.035496][    T0] MPTABLE: APIC at: 0xFEE00000
[    0.036239][    T0] mapped APIC to ffffffffff5fd000 (        fee00000)
[    0.037321][    T0] MPTABLE: count:44, mpc->length:84
[    0.038128][    T0] MPTABLE: acpi_lapic:0
[    0.038781][    T0] MPTABLE: processor found.
[    0.039497][    T0] Processor #0 (Bootup-CPU)
[    0.040918][    T0] MPTABLE: processor found.
[    0.041626][    T0] Processor #1
[    0.042806][    T0] APIC: NR_CPUS/possible_cpus limit of 1 reached. Processor 1/0x1 ignored.
[    0.044148][    T0] BIOS bug, no explicit IRQ entries, using default mptable. (tell your hw vendor)
[    0.045552][    T0] Bus #0 is ISA

we need to enable CONFIG_SMP.

$ cat linux.config | grep CONFIG_SMP

Signed-off-by: Nobuhiro MIKI <788ebd396d3abdc7bc39cc11ea545b3667467628@bobuhiro11.net>

bobuhiro11/gokvm,bobuhiro11/gokvm