Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163703
b: refs/heads/master
c: 816c25e
h: refs/heads/master
i:
  163701: 5452950
  163699: 47fccf8
  163695: 76ffb46
v: v3
  • Loading branch information
Thomas Gleixner committed Aug 27, 2009
1 parent 7173f64 commit ced39af
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8fee697d990c54976c8dc167270633299e2515d2
refs/heads/master: 816c25e7d4fb6fd40022a376e8b7f45b1edf5a89
2 changes: 2 additions & 0 deletions trunk/arch/x86/include/asm/x86_init.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
* @probe_roms: probe BIOS roms
* @reserve_resources: reserve the standard resources for the
* platform
* @reserve_ebda_region: reserve the extended bios data area
*
*/
struct x86_init_resources {
void (*probe_roms)(void);
void (*reserve_resources)(void);
void (*reserve_ebda_region)(void);
};

/**
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/head32.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <asm/setup.h>
#include <asm/sections.h>
#include <asm/e820.h>
#include <asm/bios_ebda.h>
#include <asm/page.h>
#include <asm/trampoline.h>

void __init i386_start_kernel(void)
Expand All @@ -33,7 +33,7 @@ void __init i386_start_kernel(void)
x86_init.resources.probe_roms = probe_roms;
x86_init.resources.reserve_resources = i386_reserve_resources;

reserve_ebda_region();
x86_init.resources.reserve_ebda_region();

/*
* At this point everything still needed from the boot loader
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/x86/kernel/head64.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include <asm/sections.h>
#include <asm/kdebug.h>
#include <asm/e820.h>
#include <asm/bios_ebda.h>
#include <asm/trampoline.h>

static void __init zap_identity_mappings(void)
Expand Down Expand Up @@ -112,7 +111,7 @@ void __init x86_64_start_reservations(char *real_mode_data)
}
#endif

reserve_ebda_region();
x86_init.resources.reserve_ebda_region();

/*
* At this point everything still needed from the boot loader
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/x86/kernel/x86_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/
#include <linux/init.h>

#include <asm/bios_ebda.h>
#include <asm/setup.h>

void __cpuinit x86_init_noop(void) { }
Expand All @@ -18,5 +19,6 @@ struct __initdata x86_init_ops x86_init = {
.resources = {
.probe_roms = x86_init_noop,
.reserve_resources = reserve_standard_io_resources,
.reserve_ebda_region = reserve_ebda_region,
},
};

0 comments on commit ced39af

Please sign in to comment.