Vladimir 'phcoder' Serbinenko
|
262355247f
|
merge mainline into newreloc
|
2010-01-16 00:05:33 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
a0b766fc9b
|
2010-01-15 Vladimir Serbinenko <phcoder@gmail.com>
Enable multiboot on non-pc.
* conf/i386-coreboot.rmk, conf/i386-pc.rmk (pkglib_MODULES): Move
multiboot.mod and multiboot2.mod to ...
* conf/i386.rmk (pkglib_MODULES): ... here.
* conf/i386-coreboot.rmk, conf/i386-pc.rmk (multiboot_mod_SOURCES):
Moved to ...
* conf/i386.rmk (multiboot_mod_SOURCES): .. here.
* conf/i386-coreboot.rmk, conf/i386-pc.rmk (multiboot_mod_CFLAGS):
Moved to ...
* conf/i386.rmk (multiboot_mod_CFLAGS): .. here.
* conf/i386-coreboot.rmk, conf/i386-pc.rmk (multiboot_mod_ASFLAGS):
Moved to ...
* conf/i386.rmk (multiboot_mod_ASFLAGS): .. here.
* conf/i386-coreboot.rmk, conf/i386-pc.rmk (multiboot_mod_LDFLAGS):
Moved to ...
* conf/i386.rmk (multiboot_mod_LDFLAGS): .. here.
* conf/x86_64-efi.rmk (pkglib_MODULES): Remove ata.mod and
relocator.mod.
(ata_mod_SOURCES): Removed.
(ata_mod_CFLAGS): Likewise.
(ata_mod_LDFLAGS): Likewise.
(relocator_mod_SOURCES): Removed.
(relocator_mod_CFLAGS): Likewise.
(relocator_mod_ASFLAGS): Likewise.
(relocator_mod_LDFLAGS): Likewise.
Include i386.mk.
* include/grub/x86_64/multiboot.h: New file.
* loader/i386/multiboot.c (grub_multiboot_boot) [GRUB_MACHINE_EFI]:
Terminate EFI.
|
2010-01-15 21:11:51 +01:00 |
|
Colin Watson
|
7d1468e4b6
|
merge from trunk
|
2010-01-14 14:04:44 +00:00 |
|
BVK Chaitanya
|
96f60752d1
|
merge trunk
|
2010-01-14 18:45:19 +05:30 |
|
Vladimir 'phcoder' Serbinenko
|
0c31c22bda
|
Remove leftover aout.mod
|
2010-01-13 21:06:49 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
8874cbbded
|
Initial multi-i386 support for *BSD
|
2010-01-13 21:04:19 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
c34a120a01
|
Move linux.mod to conf/i386.rmk
|
2010-01-13 20:55:34 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
9efe142861
|
Use linux.c on i386-ieee1275
|
2010-01-13 17:27:45 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
d1b3ffe8ce
|
merge efigfx into newreloc
|
2010-01-13 14:12:24 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
4d27140f7f
|
Removed efi linux loader (now it's in i386/linux.c)
|
2010-01-13 14:05:39 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
19eb83d486
|
Include i386.rmk into x86_64-efi.rmk
|
2010-01-13 14:02:32 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
73f6ce4ab2
|
x86_64 support for relocator
|
2010-01-12 23:30:52 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
11aadbadfb
|
fix compilation on coreboot
|
2010-01-12 23:03:56 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
cdab631686
|
Relocator16 support
|
2010-01-12 22:15:50 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
611f8f0eb9
|
Remove unused BSD helpers
|
2010-01-12 17:57:04 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
14933205d1
|
Relocator64 support
|
2010-01-12 17:48:51 +01:00 |
|
BVK Chaitanya
|
4d362fde58
|
build only functional tests on make
|
2010-01-12 15:49:40 +05:30 |
|
BVK Chaitanya
|
528aeaeabb
|
merge trunk
|
2010-01-12 11:02:49 +05:30 |
|
BVK Chaitanya
|
c5431d4029
|
build tests on make, but run on make check
|
2010-01-12 10:16:17 +05:30 |
|
Vladimir 'phcoder' Serbinenko
|
cb1b2ad7e0
|
Reenable XNU
|
2010-01-11 13:43:44 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
5c8e58b0cb
|
merge abstractmbi into newreloc
|
2010-01-11 11:29:52 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
cd0514794a
|
MAnipulate mbi in abstract way
|
2010-01-10 18:58:18 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
14e43c6e02
|
First working newreloc
|
2010-01-10 15:06:17 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
6b60576149
|
merge mainline into newreloc
|
2010-01-10 01:56:47 +01:00 |
|
Robert Millan
|
cdec4d3193
|
2010-01-09 Robert Millan <rmh.grub@aybabtu.com>
Fix grub-emu build.
* conf/any-emu.rmk (grub_emu_SOURCES): Remove `kern/reader.c'.
|
2010-01-10 00:47:19 +00:00 |
|
Vladimir 'phcoder' Serbinenko
|
95c7fc3f55
|
First compileable newreloc
|
2010-01-10 00:30:33 +01:00 |
|
Robert Millan
|
75cc5b682e
|
Merge from trunk
|
2010-01-09 23:22:48 +01:00 |
|
BVK Chaitanya
|
169b1cd2d8
|
added functional tests to make-check
|
2010-01-08 16:35:32 +05:30 |
|
BVK Chaitanya
|
6fc804ffbb
|
unit testing framework
|
2010-01-08 15:19:10 +05:30 |
|
Vladimir 'phcoder' Serbinenko
|
fc054c9cb8
|
Various cleanups
|
2010-01-07 22:18:59 +01:00 |
|
Robert Millan
|
bc8b32b3ec
|
2010-01-07 Robert Millan <rmh.grub@aybabtu.com>
Reset Multiboot 2 support. New loader implements the draft in
/branches/multiboot2 and shares as much code as possible with the
production Multiboot 1 implementation.
* loader/ieee1275/multiboot2.c: Remove file. Update all users.
* loader/multiboot2.c: Likewise.
* loader/i386/multiboot_helper.S: Likewise.
* include/multiboot2.h: Replace with latest version from the draft
in /branches/multiboot2.
* conf/i386-coreboot.rmk (multiboot_mod_SOURCES): Remove
`loader/i386/multiboot_helper.S', `loader/i386/pc/multiboot2.c'
and `loader/multiboot2.c'.
(pkglib_MODULES): Add `multiboot2.mod'.
(multiboot2_mod_SOURCES): New variable.
(multiboot2_mod_LDFLAGS): Likewise.
(multiboot2_mod_CFLAGS): Likewise. Define `GRUB_USE_MULTIBOOT2'.
* conf/i386-pc.rmk: Likewise.
* conf/powerpc-ieee1275.rmk (pkglib_MODULES): Remove `multiboot.mod'.
(multiboot_mod_SOURCES): Remove variable.
(multiboot_mod_LDFLAGS): Likewise.
(multiboot_mod_CFLAGS): Likewise.
* include/grub/multiboot.h [GRUB_USE_MULTIBOOT2]: Include
`<multiboot2.h>' instead of `<multiboot.h>'.
[GRUB_USE_MULTIBOOT2] (MULTIBOOT_BOOTLOADER_MAGIC)
(MULTIBOOT_HEADER_MAGIC): New macros.
* loader/multiboot_loader.c (module_version_status): Remove variable.
(find_multi_boot2_header): Remove function.
(grub_cmd_multiboot_loader): Remove Multiboot 2 / Multiboot 1 selection
logic. Always check for the Multiboot version we're compiling for.
(grub_cmd_module_loader): Likewise.
[GRUB_USE_MULTIBOOT2] (GRUB_MOD_INIT(multiboot)): Register `multiboot2'
command instead of `multiboot'.
|
2010-01-07 21:05:25 +00:00 |
|
Vladimir 'phcoder' Serbinenko
|
607a3701db
|
2010-01-07 Vladimir Serbinenko <phcoder@gmail.com>
Merge crypto branch.
* Makefile.in (pkglib_DATA): Add crypto.lst.
(crypto.lst): New target.
* commands/hashsum.c: New file.
* commands/password.c (check_password): Use grub_crypto_memcmp.
* commands/password_pbkdf2.c: New file.
* commands/xnu_uuid.c: Remove MD5. Use GRUB_MD_MD5.
* conf/any-emu.rmk (grub_emu_SOURCES): Add lib/crypto.c,
normal/crypto.c and lib/libgcrypt-grub/cipher/md5.c.
(grub_emu_CFLAGS): Add -Wno-missing-field-initializers -Wno-error
-I$(srcdir)/lib/libgcrypt_wrap.
* conf/common.rmk (normal_mod_SOURCES): Add normal/crypto.c.
(pkglib_MODULES): Add crypto.mod, hashsum.mod, pbkdf2.mod and
password_pbkdf2.mod.
(crypto_mod_SOURCES): New variable.
(crypto_mod_CFLAGS): Likewise.
(crypto_mod_LDFLAGS): Likewise.
(hashsum_mod_SOURCES): New variable.
(hashsum_mod_CFLAGS): Likewise.
(hashsum_mod_LDFLAGS): Likewise.
(pbkdf2_mod_SOURCES): New variable.
(pbkdf2_mod_CFLAGS): Likewise.
(pbkdf2_mod_LDFLAGS): Likewise.
(password_pbkdf2_mod_SOURCES): New variable.
(password_pbkdf2_mod_CFLAGS): Likewise.
(password_pbkdf2_mod_LDFLAGS): Likewise.
(bin_UTILITIES): Add grub-mkpasswd-pbkdf2.
(grub_mkpasswd_pbkdf2_SOURCES): New variable.
(grub_mkpasswd_pbkdf2_CFLAGS): Likewise.
Include conf/gcry.rmk.
* include/grub/auth.h: Rewritten.
* include/grub/crypto.h: New file.
* include/grub/disk.h (grub_disk_dev_id): Add GRUB_DISK_DEVICE_LUKS_ID.
* include/grub/normal.h (read_crypto_list): New prototype.
* lib/crypto.c: New file.
* lib/libgcrypt_wrap/cipher_wrap.h: Likewise.
* lib/pbkdf2.c: Likewise.
* normal/auth.c (grub_auth_strcmp): Removed.
(grub_iswordseparator): Likewise.
(grub_auth_strword): Likewise.
(is_authenticated): Use grub_strword.
(grub_auth_check_authentication): Use grub_strcmp, grub_password_get
and grub_strword. Pass entered password to authentication callback.
* normal/crypto.c: New file.
* normal/main.c: Call read_crypto_list.
* util/grub-mkpasswd-pbkdf2.c: New file.
* util/import_gcry.py: Generate crypto.lst. Add hash blocklen.
|
2010-01-07 01:13:01 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
519634516f
|
Merge mainline into multiterm
|
2010-01-05 16:27:41 +01:00 |
|
Colin Watson
|
bc11fee9f5
|
merge from trunk
|
2010-01-05 10:53:03 +00:00 |
|
Robert Millan
|
7c30297857
|
2010-01-05 Robert Millan <rmh.grub@aybabtu.com>
Remove grub-mkfloppy. Images produced by grub-mkrescue are valid
floppy images now.
* util/i386/pc/grub-mkfloppy.in: Remove. Update all users.
|
2010-01-05 00:31:07 +00:00 |
|
Vladimir 'phcoder' Serbinenko
|
98ff6a54de
|
2010-01-04 Vladimir Serbinenko <phcoder@gmail.com>
* loader/efi/appleloader.c: Restored. Update all users.
|
2010-01-04 14:53:15 +01:00 |
|
Robert Millan
|
ab0eeb0c33
|
2010-01-03 Robert Millan <rmh.grub@aybabtu.com>
* loader/efi/appleloader.c: Remove. Update all users.
|
2010-01-03 22:15:44 +00:00 |
|
Vladimir 'phcoder' Serbinenko
|
13d1f24696
|
Fix grub-emu compilation
|
2009-12-27 22:36:09 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
9c288be27a
|
2009-12-25 Vladimir Serbinenko <phcoder@gmail.com>
Use search command for preliminar UUID search.
* commands/search.c: Split into ...
* commands/search_wrap.c: ...this
* commands/search.c: ...and this.
* commands/search_file.c: New file.
* commands/search_label.c: New file.
* commands/search_uuid.c: New file.
* conf/any-emu.rmk (grub_emu_SOURCES): Remove commands/search.c.
Add commands/search_wrap.c, commands/search_file.c,
commands/search_label.c and commands/search_uuid.c.
* conf/common.rmk (pkglib_MODULES): Remove fs_uuid.mod and fs_file.mod.
(search_mod_SOURCES): Set to commands/search_wrap.c.
(pkglib_MODULES): Add search_fs_file.mod, search_fs_uuid.mod and
search_label.mod.
(search_fs_file_mod_SOURCES): New variable.
(search_fs_file_mod_CFLAGS): Likewise.
(search_fs_file_mod_LDFLAGS): Likewise.
(search_label_mod_SOURCES): Likewise.
(search_label_mod_CFLAGS): Likewise.
(search_label_mod_LDFLAGS): Likewise.
(search_fs_uuid_mod_SOURCES): New variable.
(search_fs_uuid_mod_CFLAGS): Likewise.
(search_fs_uuid_mod_LDFLAGS): Likewise.
(fs_file_mod_SOURCES): Removed.
(fs_file_mod_CFLAGS): Likewise.
(fs_file_mod_LDFLAGS): Likewise.
(fs_uuid_mod_SOURCES): Removed.
(fs_uuid_mod_CFLAGS): Likewise.
(fs_uuid_mod_LDFLAGS): Likewise.
* conf/sparc64-ieee1275.rmk (grub_install_SOURCES):
Set to util/grub-install.in.
* disk/fs_file.c: Removed.
* disk/fs_uuid.c: Likewise.
* include/grub/search.h: New file.
* util/grub-install.in: Handle sparc64.
Create and use load.cfg.
* util/sparc64/ieee1275/grub-install.in: Removed.
|
2009-12-25 23:06:52 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
bf2ebfbe02
|
Lost hunk
|
2009-12-25 03:36:42 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
e48625a306
|
merge crypto into multiout
|
2009-12-24 00:38:41 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
f4c623e170
|
Work on multi-out terminal
|
2009-12-24 00:37:11 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
a2e77ce455
|
merge mainline into crypto
|
2009-12-23 20:34:26 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
a7a095c71a
|
hashsum support
|
2009-12-23 20:31:12 +01:00 |
|
Felix Zielcke
|
a2c1332b70
|
2009-12-23 Felix Zielcke <fzielcke@z-51.de>
* commands/i386/pc/drivemap.c: Remove all trailing whitespace.
* commands/lspci.c: Likewise.
* commands/probe.c: Likewise.
* commands/xnu_uuid.c: Likewise.
* conf/i386-coreboot.rmk: Likewise.
* conf/i386-efi.rmk: Likewise.
* conf/i386-ieee1275.rmk: Likewise.
* conf/i386-pc.rmk: Likewise.
* conf/powerpc-ieee1275.rmk: Likewise.
* conf/sparc64-ieee1275.rmk: Likewise.
* conf/x86_64-efi.rmk: Likewise.
* fs/i386/pc/pxe.c: Likewise.
* gettext/gettext.c: Likewise.
* include/grub/efi/graphics_output.h: Likewise.
* include/grub/i386/pc/memory.h: Likewise.
* kern/env.c: Likewise.
* kern/i386/qemu/startup.S: Likewise.
* lib/i386/pc/biosnum.c: Likewise.
* lib/i386/relocator.c: Likewise.
* lib/i386/relocator_asm.S: Likewise.
* lib/relocator.c: Likewise.
* loader/i386/bsd.c: Likewise.
* loader/i386/multiboot.c: Likewise.
* loader/i386/pc/chainloader.c: Likewise.
* loader/i386/xnu.c: Likewise.
* loader/xnu.c: Likewise.
* normal/main.c: Likewise.
* normal/menu_text.c: Likewise.
* util/getroot.c: Likewise.
* util/grub-mkconfig_lib.in: Likewise.
* util/grub.d/00_header.in: Likewise.
* util/i386/pc/grub-mkimage.c: Likewise.
* util/mkisofs/eltorito.c: Likewise.
* util/mkisofs/exclude.h: Likewise.
* util/mkisofs/hash.c: Likewise.
* util/mkisofs/iso9660.h: Likewise.
* util/mkisofs/joliet.c: Likewise.
* util/mkisofs/mkisofs.c: Likewise.
* util/mkisofs/mkisofs.h: Likewise.
* util/mkisofs/multi.c: Likewise.
* util/mkisofs/name.c: Likewise.
* util/mkisofs/rock.c: Likewise.
* util/mkisofs/tree.c: Likewise.
* util/mkisofs/write.c: Likewise.
* video/efi_gop.c: Likewise.
|
2009-12-23 17:41:32 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
7316783f35
|
Crypto module autoloading
|
2009-12-23 17:33:35 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
ba136b293a
|
merge mainline into crypto
|
2009-12-22 14:28:39 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
2a2869b584
|
merge mainline into efigfx
|
2009-12-22 13:34:01 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
7ea73643f5
|
merge mtrunk into xnu
|
2009-12-18 03:57:32 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
b044bf0351
|
use video subsystem on EFI
|
2009-12-16 19:04:58 +01:00 |
|