Commit Graph

6285 Commits

Author SHA1 Message Date
Ronald G. Minnich bcdce3cfc7 fixing trees.
Greg help me, I've screwed up the tree, things are in there more than once, dammit!

screwup in partobj.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@937 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-07-10 12:38:39 +00:00
Eric Biederman 66fe2227df - Moved 2 of the test cases into tests for failure
- Reworked the transformation into ssa form and now I catch all unitialized
  variable uses.
- Several more test cases
- Bumped the version to 0.34
- Verified that -O2 the scc_transform now works.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@934 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-07-04 15:14:04 +00:00
Eric Biederman 830c9886ea - Minor fixes for handling structure constants and array values that are not sdecls
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@933 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-07-04 00:27:33 +00:00
Eric Biederman 678d816f26 - Allow for a larger rhs on phi variables
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@932 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-07-03 03:59:38 +00:00
Eric Biederman 530b5193e4 - Massive set of cleanups/fixes for romcc. Lots of corner cases now work
properly.  And a few long standing bugs have been rooted out and removed.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@931 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-07-01 10:05:30 +00:00
Eric Biederman 57fa1b8279 - Code to enable and disable use of the sse and mmx registers
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@930 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-07-01 06:51:27 +00:00
Ronald G. Minnich c22ea4f00d all: now depends on linuxbios.rom
payload.block is going away


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@929 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-30 17:29:31 +00:00
Ronald G. Minnich 6a3a3e5c98 placeholder crap for sio
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@928 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-30 17:23:35 +00:00
Ronald G. Minnich 776fce9449 now builds with *0* tweaks.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@927 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-30 17:07:13 +00:00
Ronald G. Minnich b5391cc4b9 TAGS are back!
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@926 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-30 17:04:35 +00:00
Eric Biederman d1ea53995c - Update romcc so that it more successfully spills registers to the xmm registers
- Add several more test cases.
- Bump the version number to .32


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@919 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-28 06:49:45 +00:00
Ronald G. Minnich db59928fd9 OK, now builds fallback for arima/hdama!
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@917 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-26 04:05:37 +00:00
Greg Watson 4f22177aa5 Simple printing of options. Will make this better.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@916 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-25 15:27:41 +00:00
Eric Biederman 584997b528 - Set the default compiler back to gcc ooops
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@915 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-25 11:34:59 +00:00
Eric Biederman 3a51f3bc5e - Error on function prototypes
- Fix a last couple of structure related bugs


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@914 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-25 10:38:10 +00:00
Ronald G. Minnich 0f28460efb more fixes but it appears that options are not picking up the right values.
I set USE_FALLBACK_IMAGE to 1 in the top-level Config, but when it is tested
in arima/hdama/Config.lb, it is acting as though it is zero.

Also added a print command so it is easier to trace 'if' behavior.

Usage:
print "string"


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@913 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-25 03:20:22 +00:00
Ronald G. Minnich ed27a5e547 needed rules for DRIVER
more fixes to various Config.lb

one last problem and we're there


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@911 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-24 22:51:16 +00:00
Ronald G. Minnich cb18b80e38 Just two undefined's left.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@910 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-24 22:17:51 +00:00
Ronald G. Minnich e15dfc1d9f update to thing to make them work ... still not there though.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@909 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-24 19:51:38 +00:00
Ronald G. Minnich 1807c37418 Fixes to various config files.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@908 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-24 19:44:00 +00:00
Ronald G. Minnich dabc15feec fixed paths for GENERATED
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@907 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-24 19:37:05 +00:00
Ronald G. Minnich 6d22c85326 update .lb
we need to get rid of yappsrt.pyc


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@906 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-24 18:39:11 +00:00
Greg Watson cd5382651f ifs now have elses
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@905 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-24 17:37:02 +00:00
Greg Watson 2366020f23 if statement for options
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@904 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-24 17:26:45 +00:00
Greg Watson 51305ee6cc For new config.g
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@903 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-24 16:07:07 +00:00
Eric Biederman 03b59864df - A few more fixes to get pointers to structures working correctly.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@901 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-24 14:27:37 +00:00
Ronald G. Minnich 432cc66984 arima updates
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@900 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-24 14:04:03 +00:00
Eric Biederman 0044307756 - Fix handling of structures stored in memory
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@899 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-24 12:34:45 +00:00
Ronald G. Minnich 9c8a06a379 hdama mainboard and target.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@898 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-24 03:45:36 +00:00
Ronald G. Minnich c55613345e add a hint for users about why:
Config.lb:0: Error: Option USE_FALLBACK_IMAGE Undefined.
might happen (i.e. missing 'use' command)


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@897 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-24 03:39:34 +00:00
Ronald G. Minnich 7254a89c88 oops, greg already did SMBUS, didn't notice.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@896 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-24 03:36:37 +00:00
Ronald G. Minnich a7b3cfff27 added SMBUS stuff.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@895 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-24 03:30:48 +00:00
Ronald G. Minnich 39b8077ad5 Simply typo in 'target' if directory does not exist
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@894 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-24 03:12:14 +00:00
Ronald G. Minnich 7edf2ca6ff fix non-portable syntax.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@893 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-24 03:08:57 +00:00
Greg Watson 06a927dd68 Syntax fixes.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@892 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-23 23:52:15 +00:00
Greg Watson 826def7e1d New option stuff.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@891 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-23 16:54:12 +00:00
Greg Watson 9cf8c2efdd _RAMBASE used by linuxbios_c.ld
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@890 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-23 05:00:08 +00:00
Greg Watson 5808bac568 Sandpoint configuration file.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@889 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-23 01:02:54 +00:00
Greg Watson 4890a666a9 Global options file
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@888 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-23 01:01:17 +00:00
Ronald G. Minnich a946e4a596 tool for building roms, to eliminate icky shell scripts.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@887 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-20 16:46:48 +00:00
Eric Biederman 153ea3548f - Implement goto support
- Register allocator bug fixes.
  * coalesce_live_ranges now also updates the interference graph of live instructions
  * resolve_tangle now avoids copies to phi
  * correct_tangles is now called in a loop so that all tangles get fixed
- Bug the version of romcc to 0.30


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@886 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-20 14:43:20 +00:00
Eric Biederman f7a0ba84dc - Update the romcc version.
- Add an additional consistency check to romcc and fix the more obvious problems it has uncovered
  With this update there are no known silent failures in romcc.
- Update the memory initialization code to setup all 3 of the memory sizing registers properly
- In auto.c test our dynamic maximum amount of ram.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@885 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-19 15:14:52 +00:00
Eric Biederman 9dbd460776 - Remove bogus #if CONFIG_SMP test
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@884 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-19 03:34:54 +00:00
Eric Biederman d3283ec05f - A new test case for romcc
- Minor romcc fixes
- In smbus_wail_until_done a romcc glitch with || in romcc where it likes
  to run out of registers.  Use | to be explicit that I don't need the short
  circuiting behavior.
- Remove unused #defines from coherent_ht.c
- Update the test in auto.c to 512M
- Add definition of log2 to romcc_io.h
- Implement SPD memory sizing in raminit.c
- Reduce the number of memory devices back 2 to for the SOLO board.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@883 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-18 11:03:18 +00:00
Ronald G. Minnich 99acb49cf7 added config and other test files.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@882 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-17 16:51:06 +00:00
Ronald G. Minnich 667393676b new config file testing the update stuff.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@881 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-17 16:48:07 +00:00
Eric Biederman 8d9c123812 - Minor mod to reset16.inc to work with newer binutils hopefully this works with older ones...
- Update apic.h to include the APIC_TASK_PRI register definition
- Update mptable.c to have a reasonable board OEM and productid
- Additional testfiles for romcc.
- Split out auto.c and early failover.c moving their generic bits elsewere
- Enable cache of the rom
- Fixes to amd8111_lpc.c so that we successfully setup virtual wire mode on the ioapic


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@880 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-17 08:42:17 +00:00
Eric Biederman f96a810f11 - Reduce the algorithmic complexity of parts of the register allocator
so the worst case runtime of romcc is much more predictable


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@879 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-16 16:57:34 +00:00
Ronald G. Minnich d3e377a520 new config tool
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@878 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-14 15:07:02 +00:00
Greg Watson f7092040fd More FB2 stuff
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@877 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2003-06-13 22:07:53 +00:00