From: Gwenole B. <gb...@di...> - 2003-12-04 17:10:46
|
Hi, I am about to commit many fixes to make SheepShaver run on 64-bit platforms, especially AMD64. I introduced a new thunking system so that code & data could be shared with MacOS. The trick is to also make sure SheepShaver globals are 32-bit addressable. I also updated BeOS/PPC bits but I have no such system to test, so please someone with it check. <hint> ;-) I tried to keep changes minimal, so I introduced new objects to deal with shared data with MacOS. The storage is stack-like and are meant to be used as temp local data. Basically: - SheepVar: reserve a certain amount of memory - SheepVar32: an uint32 value in big endian format - SheepString: a copy of the string to 32-bit addressable data - SheepArray<>: an array with size specified from template arg The latter is purely for optimization purposes on 32-bit arches Bye, Gwenole. |