Signed-off-by: Kevin O'Connor ke...@koconnor.net
---
src/boot.c | 5 +
src/kbd.c| 2 +-
src/stacks.c | 10 ++
src/stacks.h | 1 +
src/util.h | 3 ---
5 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/src/boot.c b/src/boot.c
index 9be8b2a..5837ad0 100644
---
Signed-off-by: Kevin O'Connor ke...@koconnor.net
---
scripts/layoutrom.py | 5 -
1 file changed, 5 deletions(-)
diff --git a/scripts/layoutrom.py b/scripts/layoutrom.py
index b325406..28e7d0c 100755
--- a/scripts/layoutrom.py
+++ b/scripts/layoutrom.py
@@ -343,11 +343,6 @@ def
This series updates the build (and layoutrom.py in particular) to be
more flexible in section layouts. Prior to this series, only code
compiled in the 16bit mode pass could be placed at a fixed address in
the f-segment. After this change, the build can more easily place
sections from any compile
Extract out the logic that visits all reachable sections into new
function findReachable().
Signed-off-by: Kevin O'Connor ke...@koconnor.net
---
scripts/layoutrom.py | 117 ++-
1 file changed, 60 insertions(+), 57 deletions(-)
diff --git
Eliminate the per-section 'keep' variable - the list of sections that
will be emitted is sufficient to track that state.
Signed-off-by: Kevin O'Connor ke...@koconnor.net
---
scripts/layoutrom.py | 40 +++-
1 file changed, 15 insertions(+), 25 deletions(-)
Set an appropriate elf entry point (entry_elf, entry_csm,
reset_vector) for each type of build (coreboot, csm, qemu). Use that
entry point when determining which sections to keep.
Also, remove the '.export.' mechanism to keep a section in the final
binary - it is no longer used.
This allows the
Push findInit() into main() and unify the category setting code.
Signed-off-by: Kevin O'Connor ke...@koconnor.net
---
scripts/layoutrom.py | 46 ++
1 file changed, 18 insertions(+), 28 deletions(-)
diff --git a/scripts/layoutrom.py
Signed-off-by: Kevin O'Connor ke...@koconnor.net
---
scripts/layoutrom.py | 32 +---
1 file changed, 13 insertions(+), 19 deletions(-)
diff --git a/scripts/layoutrom.py b/scripts/layoutrom.py
index a935b3d..3eca823 100755
--- a/scripts/layoutrom.py
+++
Signed-off-by: Kevin O'Connor ke...@koconnor.net
---
Makefile | 2 +-
scripts/layoutrom.py | 52
2 files changed, 21 insertions(+), 33 deletions(-)
diff --git a/Makefile b/Makefile
index d788ffe..e095601 100644
--- a/Makefile
+++
The 'category' really determines the memory location while the
'fileid' determines which link stage the section is in. So, use
'fileid' when writing the linker scripts.
Signed-off-by: Kevin O'Connor ke...@koconnor.net
---
scripts/layoutrom.py | 49
A number of fields were exported from the layout info that weren't
used. Don't bother exporting them.
Signed-off-by: Kevin O'Connor ke...@koconnor.net
---
scripts/layoutrom.py | 130 ++-
1 file changed, 67 insertions(+), 63 deletions(-)
diff
Update the layoutrom.py build script so that fixed address sections
can come from the 32bit compiled C code. Update the C code so that
all VAR16FIXED variables instead use the new VARFSEGFIXED which is
defined in 32bit mode.
Signed-off-by: Kevin O'Connor ke...@koconnor.net
---
Makefile
Kevin,
Our intent at this time was to just get it out for others to see/use.
I'll try attaching the files.
Thanks,
Dave
On Tue, Jun 10, 2014 at 6:19 PM, Kevin O'Connor ke...@koconnor.net wrote:
On Thu, Jun 05, 2014 at 10:36:07AM -0600, Dave Frodin wrote:
Paul,
I'm resending the patch,
13 matches
Mail list logo