- One more code sync up, change the startup code.
This commit is contained in:
parent
3c6821c4fa
commit
a3c4d998ee
18 changed files with 190 additions and 217 deletions
|
|
@ -163,6 +163,21 @@ struct cmos_defaults {
|
|||
uint8_t default_set[CMOS_IMAGE_BUFFER_SIZE]; /* default settings */
|
||||
};
|
||||
|
||||
#define LB_TAG_OPTION_CHECKSUM 204
|
||||
struct cmos_checksum {
|
||||
uint32_t tag;
|
||||
uint32_t size;
|
||||
/* In practice everything is byte aligned, but things are measured
|
||||
* in bits to be consistent.
|
||||
*/
|
||||
uint32_t range_start; /* First bit that is checksummed (byte aligned) */
|
||||
uint32_t range_end; /* Last bit that is checksummed (byte aligned) */
|
||||
uint32_t location; /* First bit of the checksum (byte aligned) */
|
||||
uint32_t type; /* Checksum algorithm that is used */
|
||||
#define CHECKSUM_NONE 0
|
||||
#define CHECKSUM_PCBIOS 1
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif /* LINUXBIOS_TABLES_H */
|
||||
|
|
|
|||
|
|
@ -6,11 +6,11 @@ struct mem_range;
|
|||
#include <cpu/k7/cpufixup.h>
|
||||
#include <cpu/p6/cpufixup.h>
|
||||
|
||||
#ifdef CPU_FIXUP
|
||||
#if CPU_FIXUP == 1
|
||||
# if defined(k7)
|
||||
# define cpufixup(mem) k7_cpufixup(mem)
|
||||
# elif defined(i786)
|
||||
# define cpufixup(mem) p6_cpufixup(mem)
|
||||
# define cpufixup(mem) i786_cpufixup(mem)
|
||||
# elif defined(i686)
|
||||
# define cpufixup(mem) p6_cpufixup(mem)
|
||||
# endif
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
#ifndef CPU_P6_CPUFIXUP_H
|
||||
#define CPU_P6_CPUFIXUP_H
|
||||
|
||||
#ifdef UPDATE_MICROCODE
|
||||
#define CPU_FIXUP
|
||||
#if UPDATE_MICROCODE == 1
|
||||
#define CPU_FIXUP 1
|
||||
#endif
|
||||
|
||||
void p6_cpufixup(struct mem_range *mem);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue