2008-08-06 Robert Millan <rmh@aybabtu.com>
* conf/i386-coreboot.rmk (kernel_elf_ASFLAGS): New variable. * kern/i386/tsc.c: Include `<grub/i386/pit.h>'.
This commit is contained in:
parent
2b99f12345
commit
057bc4acaf
4 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-08-06 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
|
* conf/i386-coreboot.rmk (kernel_elf_ASFLAGS): New variable.
|
||||||
|
* kern/i386/tsc.c: Include `<grub/i386/pit.h>'.
|
||||||
|
|
||||||
2008-08-06 Bean <bean123ch@gmail.com>
|
2008-08-06 Bean <bean123ch@gmail.com>
|
||||||
|
|
||||||
* fs/i386/pc/pxe.c (grub_pxe_data): New member block_size.
|
* fs/i386/pc/pxe.c (grub_pxe_data): New member block_size.
|
||||||
|
|
|
@ -150,6 +150,7 @@ kernel_elf_HEADERS = arg.h boot.h cache.h device.h disk.h dl.h elf.h elfload.h \
|
||||||
machine/boot.h machine/console.h machine/init.h \
|
machine/boot.h machine/console.h machine/init.h \
|
||||||
machine/memory.h machine/loader.h
|
machine/memory.h machine/loader.h
|
||||||
kernel_elf_CFLAGS = $(COMMON_CFLAGS)
|
kernel_elf_CFLAGS = $(COMMON_CFLAGS)
|
||||||
|
kernel_elf_ASFLAGS = $(COMMON_ASFLAGS)
|
||||||
kernel_elf_LDFLAGS = $(COMMON_LDFLAGS) -Wl,-N,-S,-Ttext,0x8200,-Bstatic
|
kernel_elf_LDFLAGS = $(COMMON_LDFLAGS) -Wl,-N,-S,-Ttext,0x8200,-Bstatic
|
||||||
|
|
||||||
MOSTLYCLEANFILES += symlist.c kernel_syms.lst
|
MOSTLYCLEANFILES += symlist.c kernel_syms.lst
|
||||||
|
|
|
@ -31,6 +31,7 @@ kernel_elf_HEADERS = arg.h boot.h cache.h device.h disk.h dl.h elf.h elfload.h \
|
||||||
machine/boot.h machine/console.h machine/init.h \
|
machine/boot.h machine/console.h machine/init.h \
|
||||||
machine/memory.h machine/loader.h
|
machine/memory.h machine/loader.h
|
||||||
kernel_elf_CFLAGS = $(COMMON_CFLAGS)
|
kernel_elf_CFLAGS = $(COMMON_CFLAGS)
|
||||||
|
kernel_elf_ASFLAGS = $(COMMON_ASFLAGS)
|
||||||
kernel_elf_LDFLAGS = $(COMMON_LDFLAGS) -Wl,-N,-S,-Ttext,0x8200,-Bstatic
|
kernel_elf_LDFLAGS = $(COMMON_LDFLAGS) -Wl,-N,-S,-Ttext,0x8200,-Bstatic
|
||||||
|
|
||||||
MOSTLYCLEANFILES += symlist.c kernel_syms.lst
|
MOSTLYCLEANFILES += symlist.c kernel_syms.lst
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
#include <grub/time.h>
|
#include <grub/time.h>
|
||||||
#include <grub/misc.h>
|
#include <grub/misc.h>
|
||||||
#include <grub/i386/tsc.h>
|
#include <grub/i386/tsc.h>
|
||||||
|
#include <grub/i386/pit.h>
|
||||||
|
|
||||||
/* This defines the value TSC had at the epoch (that is, when we calibrated it). */
|
/* This defines the value TSC had at the epoch (that is, when we calibrated it). */
|
||||||
static grub_uint64_t tsc_boot_time;
|
static grub_uint64_t tsc_boot_time;
|
||||||
|
|
Loading…
Reference in a new issue