On Mon, Sep 10, 2018 at 2:41 PM Chao Fan <fanc.fnst@xxxxxxxxxxxxxx> wrote: > > Imitate the ACPI code of parsing ACPI tables to dig and read ACPI > tables. Why? > Since some operations are not needed here, What operations? > functions are simplified. Functions will be used to dig SRAT tables to get > information of memory, so that KASLR can the memory in immovable node. So do you want to parse SRAT only or do something in addition to that? > And also, these functions won't influence the initialization of > ACPI after start_kernel().