Vladimir Serbinenko
b0227ce4b9
fdt: relax align requirement
2016-02-21 19:28:23 +01:00
Vladimir Serbinenko
869a0bc476
coreboot
2016-02-21 18:44:55 +01:00
Vladimir Serbinenko
f9ee0c3e5d
Simplify reloc
2016-02-21 18:44:18 +01:00
Vladimir Serbinenko
78e9b82d2c
coreboot memory before _start
2016-02-21 18:41:39 +01:00
Vladimir Serbinenko
86139504b7
pl050
2016-02-21 01:53:44 +01:00
Vladimir Serbinenko
35c1d629f9
fdtbus
2016-02-21 01:53:07 +01:00
Vladimir Serbinenko
bacb8f911f
coreboot
2016-02-21 00:05:38 +01:00
Vladimir Serbinenko
fbda565356
fdt
2016-02-21 00:05:21 +01:00
Vladimir Serbinenko
598185f806
fdtbus
2016-02-21 00:04:18 +01:00
Vladimir Serbinenko
ca2fd6c93f
ps2 split
2016-02-20 18:45:42 +01:00
Vladimir Serbinenko
a29fb4722c
coreboot
2016-02-20 16:26:23 +01:00
Vladimir Serbinenko
7562f4ab53
bus fdt improvements
2016-02-20 16:25:39 +01:00
Vladimir Serbinenko
c7d0aa5450
fdtbus
2016-02-20 14:30:43 +01:00
Vladimir Serbinenko
99291427d2
fdtlib
2016-02-20 14:28:37 +01:00
Vladimir Serbinenko
6ffee98e1b
Useless fdt.lst
2016-02-20 14:22:34 +01:00
Vladimir Serbinenko
a6649f5b8e
FDT lib improvements
2016-02-20 12:30:06 +01:00
Vladimir Serbinenko
c3c14cffef
refresh before abort
2016-02-20 09:12:15 +01:00
Vladimir Serbinenko
84939af253
generic timer safeguard
2016-02-20 09:12:02 +01:00
Vladimir Serbinenko
2c3a054f4f
WIP
2016-02-19 12:41:50 +01:00
Vladimir Serbinenko
b8eda96422
rename
2016-02-19 12:17:56 +01:00
Vladimir Serbinenko
a4f7d77f7d
fs
2016-02-19 04:48:50 +01:00
Vladimir Serbinenko
5099975ace
fd
2016-02-19 04:48:17 +01:00
Vladimir Serbinenko
2f98d7648e
Move cbfb
2016-02-19 04:47:02 +01:00
Vladimir Serbinenko
018e382144
decouple
2016-02-19 04:31:59 +01:00
Vladimir Serbinenko
46569db585
arm-uboot: Make self-relocatable to allow loading at any address
2016-02-19 03:22:10 +01:00
Vladimir Serbinenko
59ec05bcf8
mm: Avoid integer overflow.
2016-02-17 18:09:44 +01:00
Vladimir Serbinenko
5cae910665
Fix warnings when compiling with -O3
2016-02-17 17:56:41 +01:00
Vladimir Serbinenko
25492a0f04
Add wbinvd around bios call.
...
Via C3 has problems with cache coherency when transitioning between the modes,
so flush it around bios calls.
2016-02-14 08:34:10 +01:00
Eric Snowberg
080a20861c
OBP available region contains grub. Start at grub_phys_end.
...
This prevents a problem where grub was being overwritten since
grub_phys_start does not start at a zero offset within the memory
map.
2016-02-12 23:16:03 +01:00
Toomas Soome
ce01054ec3
lz4: Fix pointer overflow
2016-02-12 17:26:32 +01:00
Daniel Kiper
eba6db6323
relocator: Fix integer underflow.
2016-02-12 16:07:57 +01:00
Vladimir Serbinenko
4598cafa7d
arm64: Use cpu timer for timekeeping.
2016-02-12 12:43:02 +01:00
Vladimir Serbinenko
22aa31bcc3
xnu: Supply random seed.
...
Now we're able to load kernels up to El Capitan.
2016-02-12 12:40:10 +01:00
Vladimir Serbinenko
e72de13b9e
Add RNG module.
2016-02-12 12:39:38 +01:00
Vladimir Serbinenko
342d6edb97
yylex: use grub_fatal for exit.
...
lexer calls yylex_fatal on fatal internal errors. yylex_fatal itself is
declared as noreturn and calls exit. Returning from noreturn function has
unpredictable consequences.
2016-02-12 12:34:54 +01:00
Vladimir Serbinenko
e5c9300191
printf: Fix and test %% behaviour in presence of subsequenbt args.
2016-02-12 12:33:41 +01:00
Vladimir Serbinenko
d9a3bfead8
Split pmtimer wait and tsc measurement from pmtimer tsc calibration.
2016-02-12 11:40:51 +01:00
Vladimir Serbinenko
1933d37371
Make grub_cpu_is_tsc_supported generally available.
2016-02-12 11:38:51 +01:00
Vladimir Serbinenko
b29638222e
Make grub_acpi_find_fadt accessible generically
2016-02-12 11:35:48 +01:00
Vladimir Serbinenko
281baeecd3
Fix emu compilation error on arm.
2016-02-12 09:10:08 +01:00
Vladimir Serbinenko
df4df4d887
xnu: Include relocated EFI in heap size.
2016-02-11 12:30:45 +01:00
Vladimir Serbinenko
2d425ffdd5
xnu: supply ramsize to the kernel.
...
Without this info recent kernels crash as they allocate no heap.
2016-02-11 11:58:28 +01:00
Andrei Borzenkov
67dba97e45
support modules without symbol table
...
all_video module does not have any code or data and exists solely for
.moddeps section to pull in dependencies. This makes all symbols unneeded.
While in current binutils (last released version as of this commit is 2.26)
``strip --strip-unneeded'' unintentionally adds section symbols for each
existing section, this behavior was considered a bug and changed in commit
14f2c699ddca1e2f706342dffc59a6c7e23e844c to completely strip symbol table
in this case.
Older binutils (verified with 2.17) and some other toolchains (at least
elftoolchain r3223M), both used in FreeBSD, remove symbol table in all_video
as well.
Relax run-time check and do not return error for modules without symbol table.
Add additional checks to module verifier to make sure such modules
a) have non-empty .moddeps section. Without either externally visible symbols
or .moddeps modules are completely useless and should not be built.
b) do not have any relocations.
Closes: 46986
v2: add run-time check for empty symbol table if relocations are present as
suggested by Vladimir.
2016-02-03 20:34:55 +03:00
Vladimir Serbinenko
605eecc985
arm64: Add support for relocations needed for linaro gcc
2016-01-22 19:09:37 +01:00
Vladimir Serbinenko
b6a03dfd32
efiemu: Fix compilation failure
2016-01-22 14:10:30 +01:00
Robert Elliott
ae3b83a4d4
efiemu: Handle persistent RAM and unknown possible future additions.
2016-01-22 13:32:30 +01:00
Michael Chang
64e2d139fe
Restore terminal settings on grub-emu exit.
2016-01-22 11:05:32 +01:00
Vladimir Serbinenko
0edd750e50
xen_boot: Remove obsolete module type distinctions.
2016-01-22 10:18:47 +01:00
Vladimir Serbinenko
cc2ed41039
arm: Ignore qemu clock bug
2016-01-22 10:12:43 +01:00
Vladimir Serbinenko
7c6c2ad42c
i386-ieee1275: Increase maximum heap size to accomodate highres graphi tests
2016-01-22 10:12:43 +01:00