Vladimir 'phcoder' Serbinenko
96c713b69d
Eliminate variable-length types in parameters
2010-01-18 23:37:11 +01:00
Vladimir 'phcoder' Serbinenko
96bdd17579
merge mainline into newreloc
2010-01-18 22:38:25 +01:00
Robert Millan
2cb6be4bc2
2010-01-18 Robert Millan <rmh.grub@aybabtu.com>
...
* loader/i386/efi/linux.c (grub_cmd_linux): Stop pretending we're
ELILO. This is no longer necessary.
2010-01-18 16:08:25 +00:00
Vladimir 'phcoder' Serbinenko
1ef7e2992d
Fix mismerge resulting in ghost multiboot module. Reported by: Grégoire Sutre.
2010-01-18 16:03:57 +01:00
Vladimir 'phcoder' Serbinenko
935842dd56
Always put smap after kern_end for freebsd
2010-01-18 13:32:56 +01:00
Vladimir 'phcoder' Serbinenko
5756bfe137
Fix regression in kfreebsd-i386
2010-01-18 12:45:28 +01:00
Vladimir 'phcoder' Serbinenko
3de254033c
Fix x86_64-efi compilation
2010-01-18 12:01:13 +01:00
Robert Millan
8040619d88
2010-01-18 Robert Millan <rmh.grub@aybabtu.com>
...
* include/grub/i386/linux.h (GRUB_VIDEO_TYPE_TEXT): Rename to ...
(GRUB_VIDEO_LINUX_TYPE_TEXT): ... this. Update all users.
(GRUB_VIDEO_TYPE_VLFB): Rename to ...
(GRUB_VIDEO_LINUX_TYPE_VESA): ... this. Update all users.
(GRUB_VIDEO_TYPE_EFI): Rename to ...
(GRUB_VIDEO_LINUX_TYPE_SIMPLE): ... this. Update all users.
2010-01-18 07:49:50 +00:00
Vladimir 'phcoder' Serbinenko
88d2919b7d
Merge mainline into newreloc
2010-01-17 19:18:46 +01:00
Vladimir 'phcoder' Serbinenko
b0b139075e
2010-01-17 Vladimir Serbinenko <phcoder@gmail.com>
...
Use flag-based instead of hook-based video mode selection and "auto"
keyword.
* include/grub/video.h (grub_video_adapter): Changed 'setup' member.
(grub_video_set_mode): Changed prototype. All users updated.
(grub_video_check_mode_flag): New inline function.
* video/video.c (parse_modespec): New function.
(grub_video_set_mode): Parse flags and keywords.
2010-01-17 17:52:01 +01:00
Vladimir 'phcoder' Serbinenko
d92b0c01d4
Fixed knetbsd misbehaviour when no module is loaded
2010-01-16 12:55:52 +01:00
Vladimir 'phcoder' Serbinenko
ae9eb98c7d
NetBSD module support
2010-01-16 11:47:12 +01:00
Vladimir 'phcoder' Serbinenko
cefe39c94b
Fix knetbsd symbols
2010-01-16 11:06:55 +01:00
Vladimir 'phcoder' Serbinenko
820e8e55fd
Avoid retrieving video info when no video is active
2010-01-16 00:31:24 +01:00
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
Vladimir 'phcoder' Serbinenko
884ade5654
2010-01-15 Vladimir Serbinenko <phcoder@gmail.com>
...
Video multiboot support.
* include/grub/multiboot.h (grub_multiboot_set_accepts_video):
New prototype.
* include/multiboot.h: Resynced with multiboot specification.
* include/multiboot2.h: Likewise.
* loader/i386/multiboot.c (UNSUPPORTED_FLAGS): Support video flags.
(grub_multiboot): Parse MULTIBOOT_VIDEO_MODE fields.
* loader/i386/multiboot_mbi.c (DEFAULT_VIDEO_MODE): New constant.
(HAS_VGA_TEXT): Likewise.
(accepts_video): New variable.
(grub_multiboot_set_accepts_video): New function.
(grub_multiboot_get_mbi_size): Account for video structures.
(set_video_mode): New function.
(retrieve_video_parameters): Likewise.
(grub_multiboot_make_mbi): Fill video fields.
2010-01-15 16:30:57 +01:00
Vladimir 'phcoder' Serbinenko
53fbae94a6
netbsd framebuffer support
2010-01-15 13:40:37 +01:00
Vladimir 'phcoder' Serbinenko
9766dafa74
symtab support for knetbsd
2010-01-15 12:31:06 +01:00
Vladimir 'phcoder' Serbinenko
5fb5182f8a
comX notation support
2010-01-15 11:48:15 +01:00
Vladimir 'phcoder' Serbinenko
2386d586b9
Merge some knetbsdcode into kfreebsd one. Serial supoort for knetbsd
2010-01-15 11:39:05 +01:00
carles
c586fbb206
2001-01-14 Carles Pina i Estany <carles@pina.cat>
...
* loader/i386/pc/chainloader.c: Include `<grub/mm.h>'.
2010-01-14 23:04:49 +00:00
Robert Millan
0a46429a55
2010-01-14 Robert Millan <rmh.grub@aybabtu.com>
...
* include/grub/i386/loader.h (grub_linux16_boot): Renamed to ...
(grub_linux16_real_boot): ... this.
* kern/i386/loader.S: Likewise.
* loader/i386/pc/linux.c: Include `<grub/video.h>' and `<grub/mm.h>'.
(grub_linux16_boot): New function. Switches to text mode and calls
grub_linux16_real_boot().
* loader/i386/bsd.c: Include `<grub/video.h>'.
(grub_freebsd_boot, grub_openbsd_boot, grub_netbsd_boot): Switch to
text mode before calling grub_unix_real_boot().
* loader/i386/multiboot.c: Include `<grub/video.h>'.
(grub_multiboot_boot): Switch to text mode before calling
grub_relocator32_boot().
* loader/i386/pc/chainloader.c: Include `<grub/video.h>'.
(grub_chainloader_boot): Switch to text mode before calling
grub_chainloader_real_boot().
2010-01-14 21:08:31 +00:00
Vladimir 'phcoder' Serbinenko
865a0f8aa7
elf symbols
2010-01-14 19:14:24 +01:00
Vladimir 'phcoder' Serbinenko
6a42fe54db
Add missing #ifdef
2010-01-14 19:12:24 +01:00
Vladimir 'phcoder' Serbinenko
6dc1a8750a
Merge mainline into newreloc
2010-01-14 13:43:34 +01:00
Vladimir 'phcoder' Serbinenko
05847c24e1
Merge mainline into abstractmbi
2010-01-14 12:34:23 +01:00
Vladimir 'phcoder' Serbinenko
8874cbbded
Initial multi-i386 support for *BSD
2010-01-13 21:04:19 +01:00
Vladimir 'phcoder' Serbinenko
c30074e344
Cleanup in bsd loaders
2010-01-13 21:00:46 +01:00
Vladimir 'phcoder' Serbinenko
021f5a2215
Remove leftovers in multiboot.c
2010-01-13 20:56:57 +01:00
Vladimir 'phcoder' Serbinenko
3a87155884
Propagate removing of cpu/multiboot.h
2010-01-13 20:51:00 +01:00
Vladimir 'phcoder' Serbinenko
d3fbca98e1
Fix type problem
2010-01-13 20:50:04 +01:00
Vladimir 'phcoder' Serbinenko
9efe142861
Use linux.c on i386-ieee1275
2010-01-13 17:27:45 +01:00
Vladimir 'phcoder' Serbinenko
8071fb7997
ieee1275 support in linux.c
2010-01-13 17:26:47 +01:00
Vladimir 'phcoder' Serbinenko
a52dadc592
merge mainline into newreloc
2010-01-13 14:12:47 +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
c8142599fc
Merge i386/efi/linux.c into i386/linux.c
2010-01-13 14:03:54 +01:00
Vladimir 'phcoder' Serbinenko
11aadbadfb
fix compilation on coreboot
2010-01-12 23:03:56 +01:00
Vladimir 'phcoder' Serbinenko
e6e7b4ea1f
Remove i386/loader.h
2010-01-12 22:22:36 +01:00
Vladimir 'phcoder' Serbinenko
c911e8791a
Port linux16 to relocator framework
2010-01-12 22:17:26 +01:00
Vladimir 'phcoder' Serbinenko
49a716be3b
Possibility to prefer higher or lower chunks in relocator
2010-01-12 22:14:26 +01:00
Vladimir 'phcoder' Serbinenko
b16ff4662e
Small cleanup
2010-01-12 19:47:02 +01:00
Vladimir 'phcoder' Serbinenko
611f8f0eb9
Remove unused BSD helpers
2010-01-12 17:57:04 +01:00
Vladimir 'phcoder' Serbinenko
10891398fd
2010-01-12 Vladimir Serbinenko <phcoder@gmail.com>
...
* loader/i386/pc/multiboot2.c: Removed stalled file.
2010-01-12 17:56:05 +01:00
Vladimir 'phcoder' Serbinenko
73910decff
Fix various bugs in *bsd. Freebsd64 on relocators
2010-01-12 17:50:11 +01:00
Vladimir 'phcoder' Serbinenko
108408aa39
BSD on relocators
2010-01-11 22:54:40 +01:00
Vladimir 'phcoder' Serbinenko
55b40bc68a
Ported linux to relocator framework
2010-01-11 14:59:01 +01:00
Vladimir 'phcoder' Serbinenko
cb1b2ad7e0
Reenable XNU
2010-01-11 13:43:44 +01:00
Vladimir 'phcoder' Serbinenko
d2601bb7bc
decrease scope of code_size
2010-01-11 11:32:41 +01:00