src/cpu: Capitalize ROM and RAM
Change-Id: I103167a0c39627bcd2ca1d0d4288eb5df02a6cd2 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/15935 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
committed by
Martin Roth
parent
9071670a84
commit
585d1a0e7d
@@ -80,7 +80,7 @@ cache_as_ram_setup:
|
||||
movl $0xc00000e3, 0x18(%edi)
|
||||
movl %eax, 0x1c(%edi)
|
||||
|
||||
# load rom based identity mapped page tables
|
||||
# load ROM based identity mapped page tables
|
||||
mov %ecx, %eax
|
||||
mov %eax, %cr3
|
||||
|
||||
|
@@ -166,7 +166,7 @@ void post_cache_as_ram(void)
|
||||
|
||||
void cache_as_ram_new_stack (void)
|
||||
{
|
||||
print_car_debug("Disabling cache as ram now\n");
|
||||
print_car_debug("Disabling cache as RAM now\n");
|
||||
disable_cache_as_ram_bsp();
|
||||
|
||||
disable_cache();
|
||||
|
@@ -171,7 +171,7 @@ done_cache_as_ram_main:
|
||||
pop %esi
|
||||
pop %edi
|
||||
|
||||
/* Clear the cache out to ram */
|
||||
/* Clear the cache out to RAM */
|
||||
wbinvd
|
||||
/* re-enable the cache */
|
||||
movl %cr0, %eax
|
||||
|
@@ -198,7 +198,7 @@ done_cache_as_ram_main:
|
||||
pop %esi
|
||||
pop %edi
|
||||
|
||||
/* Clear the cache out to ram */
|
||||
/* Clear the cache out to RAM */
|
||||
wbinvd
|
||||
/* re-enable the cache */
|
||||
movl %cr0, %eax
|
||||
|
@@ -81,7 +81,7 @@ cache_as_ram_setup:
|
||||
movl $0xc00000e3, 0x18(%edi)
|
||||
movl %eax, 0x1c(%edi)
|
||||
|
||||
# load rom based identity mapped page tables
|
||||
# load ROM based identity mapped page tables
|
||||
mov %ecx, %eax
|
||||
mov %eax, %cr3
|
||||
|
||||
|
Reference in New Issue
Block a user