Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173061
b: refs/heads/master
c: 65f116f
h: refs/heads/master
i:
  173059: a16c260
v: v3
  • Loading branch information
H. Peter Anvin committed Nov 24, 2009
1 parent 1075c28 commit fcd6032
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 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: 8a27138924f64d2f30c1022f909f74480046bc3f
refs/heads/master: 65f116f5f16dc3371fce24fb24bc4843b5380ba5
19 changes: 12 additions & 7 deletions trunk/arch/x86/include/asm/e820.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ struct e820map {
struct e820entry map[E820_X_MAX];
};

#define ISA_START_ADDRESS 0xa0000
#define ISA_END_ADDRESS 0x100000

#define BIOS_BEGIN 0x000a0000
#define BIOS_END 0x00100000

#ifdef __KERNEL__
/* see comment in arch/x86/kernel/e820.c */
extern struct e820map e820;
Expand Down Expand Up @@ -126,15 +132,14 @@ extern void e820_reserve_resources(void);
extern void e820_reserve_resources_late(void);
extern void setup_memory_map(void);
extern char *default_machine_specific_memory_setup(void);
#endif /* __KERNEL__ */
#endif /* __ASSEMBLY__ */

#define ISA_START_ADDRESS 0xa0000
#define ISA_END_ADDRESS 0x100000
#define is_ISA_range(s, e) ((s) >= ISA_START_ADDRESS && (e) < ISA_END_ADDRESS)
static inline bool is_ISA_range(u64 s, u64 e)
{
return s >= ISA_START_ADDRESS && e < ISA_END_ADDRESS;
}

#define BIOS_BEGIN 0x000a0000
#define BIOS_END 0x00100000
#endif /* __KERNEL__ */
#endif /* __ASSEMBLY__ */

#ifdef __KERNEL__
#include <linux/ioport.h>
Expand Down

0 comments on commit fcd6032

Please sign in to comment.