kernel: don't use typedef for enums or non-opaque structs
This commit is contained in:
@@ -58,13 +58,13 @@ int ml_init(uintptr_t arg)
|
||||
acpi_scan_cpu_topology();
|
||||
init_per_cpu_areas();
|
||||
|
||||
cpu_data_t *this_cpu = get_this_cpu();
|
||||
struct cpu_data *this_cpu = get_this_cpu();
|
||||
this_cpu->c_flags = CPU_ONLINE;
|
||||
this_cpu->c_id = this_cpu();
|
||||
g_bootstrap_cpu.c_data = this_cpu;
|
||||
put_cpu(this_cpu);
|
||||
|
||||
vm_zone_descriptor_t vm_zones[] = {
|
||||
struct vm_zone_descriptor vm_zones[] = {
|
||||
{ .zd_id = VM_ZONE_DMA, .zd_node = 0, .zd_name = "dma", .zd_base = 0x00, .zd_limit = 0xffffff },
|
||||
{ .zd_id = VM_ZONE_NORMAL, .zd_node = 0, .zd_name = "normal", .zd_base = 0x1000000, .zd_limit = UINTPTR_MAX },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user