YhLu YhLu@tyan.com writes:
Eric,
Thanks for the advice. I will try to add the SMP support in the northbridge/amd/amdk8 at first.
OK.
There are few levels of this.
Coherent Hypertransport setup.
Mapping resources to their location in the coherent HT domain.
Memory Initialization on secondary cpus.
Starting up the secondary cpus.
Stefan Reinauer is currently working on Coherent Hypertransport initialization. And there is a hardcoded version of it in northbridge/amd/amdk8/coherent_ht.c
Ron is currently working on getting the new Config language going and probably in the week or two we will switch over to that.
While not writing memory initialization code I am busily getting the kinks out of romcc. I think I have just squashed the last of the bugs in register allocator. I thought I was there earlier but a few extra ones cropped up after I rewrote the algorithms so they ran in a reasonable amount of time.
And since the reasons for my original hesitation are no longer valid I have implemented goto support in romcc. I think I am only short enumeration constants, macros with arguments, and switch statements to have a full implementation of C. Admittedly there are some things I cannot support like non const static variables. And I still have to fix the limits on variables, currently I don't limit chars and shorts when stored in larger integers to just the low bits of the register.
Eric