|
|
@ -8,13 +8,15 @@ |
|
|
|
#ifndef _U_BOOT_I386_H_ |
|
|
|
#ifndef _U_BOOT_I386_H_ |
|
|
|
#define _U_BOOT_I386_H_ 1 |
|
|
|
#define _U_BOOT_I386_H_ 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct global_data; |
|
|
|
|
|
|
|
|
|
|
|
extern char gdt_rom[]; |
|
|
|
extern char gdt_rom[]; |
|
|
|
|
|
|
|
|
|
|
|
/* cpu/.../cpu.c */ |
|
|
|
/* cpu/.../cpu.c */ |
|
|
|
int arch_cpu_init(void); |
|
|
|
int arch_cpu_init(void); |
|
|
|
int x86_cpu_init_f(void); |
|
|
|
int x86_cpu_init_f(void); |
|
|
|
int cpu_init_f(void); |
|
|
|
int cpu_init_f(void); |
|
|
|
void setup_gdt(gd_t *id, u64 *gdt_addr); |
|
|
|
void setup_gdt(struct global_data *id, u64 *gdt_addr); |
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Setup FSP execution environment GDT to use the one we used in |
|
|
|
* Setup FSP execution environment GDT to use the one we used in |
|
|
|
* arch/x86/cpu/start16.S and reload the segment registers. |
|
|
|
* arch/x86/cpu/start16.S and reload the segment registers. |
|
|
|