Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80268
b: refs/heads/master
c: 306c142
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Jan 30, 2008
1 parent ff66f4c commit cbaf9bc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 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: e91a3b4353577c7d38b77dd1293fc3d0a173e8e6
refs/heads/master: 306c142f99caef5a30a0d61a39a956c069941b63
4 changes: 1 addition & 3 deletions trunk/arch/x86/mm/ioremap_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <asm/tlbflush.h>
#include <asm/cacheflush.h>
#include <asm/proto.h>
#include <asm/e820.h>

unsigned long __phys_addr(unsigned long x)
{
Expand All @@ -28,9 +29,6 @@ unsigned long __phys_addr(unsigned long x)
}
EXPORT_SYMBOL(__phys_addr);

#define ISA_START_ADDRESS 0xa0000
#define ISA_END_ADDRESS 0x100000

/*
* Fix up the linear direct mapping of the kernel to avoid cache attribute
* conflicts.
Expand Down
3 changes: 3 additions & 0 deletions trunk/include/asm-x86/e820.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ struct e820map {
};
#endif /* __ASSEMBLY__ */

#define ISA_START_ADDRESS 0xa0000
#define ISA_END_ADDRESS 0x100000

#ifdef __KERNEL__
#ifdef CONFIG_X86_32
# include "e820_32.h"
Expand Down
5 changes: 5 additions & 0 deletions trunk/include/asm-x86/e820_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ extern void e820_reserve_resources(struct resource *code_resource,
extern void e820_mark_nosave_regions(void);
extern int e820_any_mapped(unsigned long start, unsigned long end, unsigned type);
extern int e820_all_mapped(unsigned long start, unsigned long end, unsigned type);
extern int e820_any_non_reserved(unsigned long start, unsigned long end);
extern int is_memory_any_valid(unsigned long start, unsigned long end);
extern int e820_all_non_reserved(unsigned long start, unsigned long end);
extern int is_memory_all_valid(unsigned long start, unsigned long end);
extern unsigned long e820_hole_size(unsigned long start, unsigned long end);

extern void e820_setup_gap(void);
Expand All @@ -38,6 +42,7 @@ extern struct e820map e820;

extern unsigned ebda_addr, ebda_size;
extern unsigned long nodemap_addr, nodemap_size;

#endif/*!__ASSEMBLY__*/

#endif/*__E820_HEADER*/

0 comments on commit cbaf9bc

Please sign in to comment.