src/arch: Capitalize CPU and ACPI
Change-Id: I37dfa853c3dbe93a52f6c37941b17717e22f6430 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16277 Reviewed-by: Omar Pakker Tested-by: build bot (Jenkins)
This commit is contained in:
parent
f772f9c6d2
commit
2078e75b00
@ -74,7 +74,7 @@ ENDPROC(cpu_get_exception_stack)
|
|||||||
* any rmodules.
|
* any rmodules.
|
||||||
*/
|
*/
|
||||||
ENTRY(arm64_c_environment)
|
ENTRY(arm64_c_environment)
|
||||||
/* Set the exception stack for the cpu. */
|
/* Set the exception stack for the CPU. */
|
||||||
bl cpu_get_exception_stack
|
bl cpu_get_exception_stack
|
||||||
msr SPSel, #1
|
msr SPSel, #1
|
||||||
isb
|
isb
|
||||||
@ -84,7 +84,7 @@ ENTRY(arm64_c_environment)
|
|||||||
msr SPSel, #0
|
msr SPSel, #0
|
||||||
isb
|
isb
|
||||||
|
|
||||||
/* Set the non-exception stack for the cpu. */
|
/* Set the non-exception stack for the CPU. */
|
||||||
bl cpu_get_stack
|
bl cpu_get_stack
|
||||||
mov sp, x0
|
mov sp, x0
|
||||||
|
|
||||||
|
@ -657,7 +657,7 @@ void acpigen_write_TSD_package(u32 domain, u32 numprocs, PSD_coord coordtype)
|
|||||||
void acpigen_write_mem32fixed(int readwrite, u32 base, u32 size)
|
void acpigen_write_mem32fixed(int readwrite, u32 base, u32 size)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* acpi 4.0 section 6.4.3.4: 32-Bit Fixed Memory Range Descriptor
|
* ACPI 4.0 section 6.4.3.4: 32-Bit Fixed Memory Range Descriptor
|
||||||
* Byte 0:
|
* Byte 0:
|
||||||
* Bit7 : 1 => big item
|
* Bit7 : 1 => big item
|
||||||
* Bit6-0: 0000110 (0x6) => 32-bit fixed memory
|
* Bit6-0: 0000110 (0x6) => 32-bit fixed memory
|
||||||
@ -688,7 +688,7 @@ void acpigen_write_register(acpi_addr_t *addr)
|
|||||||
void acpigen_write_irq(u16 mask)
|
void acpigen_write_irq(u16 mask)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* acpi 3.0b section 6.4.2.1: IRQ Descriptor
|
* ACPI 3.0b section 6.4.2.1: IRQ Descriptor
|
||||||
* Byte 0:
|
* Byte 0:
|
||||||
* Bit7 : 0 => small item
|
* Bit7 : 0 => small item
|
||||||
* Bit6-3: 0100 (0x4) => IRQ port descriptor
|
* Bit6-3: 0100 (0x4) => IRQ port descriptor
|
||||||
@ -702,7 +702,7 @@ void acpigen_write_irq(u16 mask)
|
|||||||
void acpigen_write_io16(u16 min, u16 max, u8 align, u8 len, u8 decode16)
|
void acpigen_write_io16(u16 min, u16 max, u8 align, u8 len, u8 decode16)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* acpi 4.0 section 6.4.2.6: I/O Port Descriptor
|
* ACPI 4.0 section 6.4.2.6: I/O Port Descriptor
|
||||||
* Byte 0:
|
* Byte 0:
|
||||||
* Bit7 : 0 => small item
|
* Bit7 : 0 => small item
|
||||||
* Bit6-3: 1000 (0x8) => I/O port descriptor
|
* Bit6-3: 1000 (0x8) => I/O port descriptor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user