commit | fdf4afc85fe0462569e2dae475662fed1088ab1c | [log] [tgz] |
---|---|---|
author | Wedson Almeida Filho <wedsonaf@google.com> | Thu Jul 19 15:45:21 2018 +0100 |
committer | Wedson Almeida Filho <wedsonaf@google.com> | Fri Jul 20 00:10:45 2018 +0100 |
tree | 22d0e0c2fc0792dd4b9ecb3c555641728d2ff598 | |
parent | 8c4e475532e7e09719b21f6bc2ea4f62b8c7b2c1 [diff] [blame] |
Move fdt handling logic out of main.c. This is in preparation for having archs/platforms that don't use FDT.
diff --git a/inc/cpu.h b/inc/cpu.h index 58df21d..30433ad 100644 --- a/inc/cpu.h +++ b/inc/cpu.h
@@ -17,11 +17,11 @@ /* TODO: Update alignment such that cpus are in different cache lines. */ struct cpu { - struct vcpu *current; - /* CPU identifier. Doesn't have to be contiguous. */ size_t id; + struct vcpu *current; + /* Pointer to bottom of the stack. */ void *stack_bottom;