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

Comparing SheepShaver/src/macos_util.cpp (file contents):
Revision 1.10 by gbeauche, 2004-12-19T09:01:04Z vs.
Revision 1.13 by cebix, 2010-02-21T09:58:47Z

# Line 1 | Line 1
1   /*
2   *  macos_util.cpp - MacOS definitions/utility functions
3   *
4 < *  SheepShaver (C) 1997-2004 Christian Bauer and Marc Hellwig
4 > *  SheepShaver (C) Christian Bauer and Marc Hellwig
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 163 | Line 163 | void FileDiskLayout(loff_t size, uint8 *
163   *  lib and sym must be Pascal strings!
164   */
165  
166 < uint32 FindLibSymbol(char *lib_str, char *sym_str)
166 > uint32 FindLibSymbol(const char *lib_str, const char *sym_str)
167   {
168          SheepVar32 conn_id = 0;
169          SheepVar32 main_addr = 0;
# Line 192 | Line 192 | uint32 FindLibSymbol(char *lib_str, char
192                          0x3f, 0x3c, 0x00, 0x01,                         // (GetSharedLibrary)
193                          0xaa, 0x5a,                                                     // CFMDispatch
194                          0x30, 0x1f,                                                     // move.w       (a7)+,d0
195 <                        M68K_RTS >> 8, M68K_RTS
195 >                        M68K_RTS >> 8, M68K_RTS & 0xff
196                  };
197                  BUILD_SHEEPSHAVER_PROCEDURE(proc1);
198                  r.a[0] = lib.addr();
# Line 214 | Line 214 | uint32 FindLibSymbol(char *lib_str, char
214                          0x3f, 0x3c, 0x00, 0x05,         // (FindSymbol)
215                          0xaa, 0x5a,                                     // CFMDispatch
216                          0x30, 0x1f,                                     // move.w       (a7)+,d0
217 <                        M68K_RTS >> 8, M68K_RTS
217 >                        M68K_RTS >> 8, M68K_RTS & 0xff
218                  };
219                  BUILD_SHEEPSHAVER_PROCEDURE(proc2);
220                  r.d[0] = conn_id.value();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines