- Support for a LinuxBIOS version number (start at 1.0.0)
- Support for remember our compile time environment - Simple and always correct version of compute_ip_checksum - Improve message strings in crt0.base - Initial support for > 2G ram. - Sizeram now returns a list of valid ranges of ram - pci resource allocation now starts at 0xC0000000 - Update sizeram for every northbridge - Misc cleanups.
This commit is contained in:
parent
9deed69cdd
commit
e803bc7bd4
63 changed files with 1370 additions and 912 deletions
|
|
@ -1,19 +1,21 @@
|
|||
#ifndef CPU_CPUFIXUP_H
|
||||
#define CPU_CPUFIXUP_H
|
||||
|
||||
struct mem_range;
|
||||
|
||||
#include <cpu/k7/cpufixup.h>
|
||||
#include <cpu/p6/cpufixup.h>
|
||||
|
||||
#ifdef CPU_FIXUP
|
||||
# if defined(k7)
|
||||
# define cpufixup(totalram) k7_cpufixup(totalram)
|
||||
# define cpufixup(mem) k7_cpufixup(mem)
|
||||
# elif defined(i786)
|
||||
# define cpufixup(totalram) p6_cpufixup(totalram)
|
||||
# define cpufixup(mem) p6_cpufixup(mem)
|
||||
# elif defined(i686)
|
||||
# define cpufixup(totalram) p6_cpufixup(totalram)
|
||||
# define cpufixup(mem) p6_cpufixup(mem)
|
||||
# endif
|
||||
#else
|
||||
# define cpufixup(totalram) do {} while(0)
|
||||
# define cpufixup(mem) do {} while(0)
|
||||
#endif
|
||||
|
||||
#endif /* CPU_CPUFIXUP_H */
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef CPU_K7_CPUFIXUP_H
|
||||
#define CPU_K7_CPUFIXUP_H
|
||||
|
||||
void k7_cpufixup(unsigned long totalram);
|
||||
void k7_cpufixup(struct mem_range *mem);
|
||||
|
||||
#endif /* CPU_K7_CPUFIXUP_H */
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@
|
|||
#define CPU_FIXUP
|
||||
#endif
|
||||
|
||||
void p6_cpufixup(unsigned long totalram);
|
||||
void p6_cpufixup(struct mem_range *mem);
|
||||
|
||||
#endif /* CPU_P6_CPUFIXUP_H */
|
||||
|
|
|
|||
|
|
@ -35,7 +35,8 @@
|
|||
|
||||
void set_var_mtrr(unsigned int reg, unsigned long base, unsigned long size, unsigned char type);
|
||||
#if defined(INTEL_PPRO_MTRR)
|
||||
void setup_mtrrs(unsigned long ramsizeK);
|
||||
struct mem_range;
|
||||
void setup_mtrrs(struct mem_range *mem);
|
||||
#endif
|
||||
|
||||
#endif /* ASSEMBLY */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue