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.10 by cebix, 2004-01-12T15:37:19Z vs.
Revision 1.11 by gbeauche, 2004-02-24T11:12:52Z

# Line 220 | Line 220 | system_info SysInfo;   // System informati
220  
221   static void *sig_stack = NULL;          // Stack for signal handlers
222   static void *extra_stack = NULL;        // Stack for SIGSEGV inside interrupt handler
223 + uint32  SheepMem::page_size;            // Size of a native page
224   uintptr SheepMem::zero_page = 0;        // Address of ro page filled in with zeros
225   uintptr SheepMem::base;                         // Address of SheepShaver data
226   uintptr SheepMem::top;                          // Top of SheepShaver data (stack like storage)
# Line 726 | Line 727 | void SheepShaver::Quit(void)
727  
728   void SheepShaver::init_rom(void)
729   {
730 +        // Size of a native page
731 +        page_size = B_PAGE_SIZE;
732 +
733          // Create area for ROM
734          void *rom_addr = (void *)ROM_BASE;
735          rom_area = create_area(ROM_AREA_NAME, &rom_addr, B_EXACT_ADDRESS, ROM_AREA_SIZE, B_NO_LOCK, B_READ_AREA | B_WRITE_AREA);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines