ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/BeOS/main_beos.cpp
(Generate patch)

Comparing SheepShaver/src/BeOS/main_beos.cpp (file contents):
Revision 1.14 by gbeauche, 2004-11-13T14:09:15Z vs.
Revision 1.15 by gbeauche, 2004-11-22T21:22:58Z

# Line 229 | Line 229 | static void *extra_stack = NULL;       // Stac
229   uint32  SheepMem::page_size;            // Size of a native page
230   uintptr SheepMem::zero_page = 0;        // Address of ro page filled in with zeros
231   uintptr SheepMem::base;                         // Address of SheepShaver data
232 < uintptr SheepMem::top;                          // Top of SheepShaver data (stack like storage)
232 > uintptr SheepMem::proc;                         // Bottom address of SheepShave procedures
233 > uintptr SheepMem::data;                         // Top of SheepShaver data (stack like storage)
234   static area_id SheepMemArea;            // SheepShaver data area ID
235  
236  
# Line 2109 | Line 2110 | bool SheepMem::Init(void)
2110                  delete_area(old_sheep_area);
2111  
2112          // Create area for SheepShaver data
2113 <        base = 0x60000000;
2113 >        proc = base = 0x60000000;
2114          SheepMemArea = create_area(SHEEP_AREA_NAME, (void **)&base, B_BASE_ADDRESS, size, B_NO_LOCK, B_READ_AREA | B_WRITE_AREA);
2115          if (SheepMemArea < 0)
2116                  return false;
# Line 2119 | Line 2120 | bool SheepMem::Init(void)
2120          zero_page = const_zero_page;
2121  
2122          D(bug("SheepShaver area %ld at %p\n", SheepMemArea, base));
2123 <        top = base + size;
2123 >        data = base + size;
2124          return true;
2125   }
2126  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines