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

Comparing SheepShaver/src/name_registry.cpp (file contents):
Revision 1.14 by gbeauche, 2004-11-22T22:16:09Z vs.
Revision 1.16 by gbeauche, 2005-01-30T21:13:23Z

# Line 131 | Line 131 | void DoPatchNameRegistry(void)
131                          case 80:        // 860
132                                  str = "PowerPC,860";
133                                  break;
134 +                        case 12:        // 7400, 7410, 7450, 7455, 7457
135 +                        case 0x800c:
136 +                        case 0x8000:
137 +                        case 0x8001:
138 +                        case 0x8002:
139 +                                str = "PowerPC,G4";
140 +                                break;
141                          default:
142                                  str = "PowerPC,???";
143                                  break;
# Line 343 | Line 350 | void DoPatchNameRegistry(void)
350   void PatchNameRegistry(void)
351   {
352          // Find RegistryCStrEntryCreate() and RegistryPropertyCreate() TVECTs
353 <        rcec_tvect = (uint32)FindLibSymbol("\017NameRegistryLib", "\027RegistryCStrEntryCreate");
353 >        rcec_tvect = FindLibSymbol("\017NameRegistryLib", "\027RegistryCStrEntryCreate");
354          D(bug("RegistryCStrEntryCreate TVECT at %08x\n", rcec_tvect));
355 <        rpc_tvect = (uint32)FindLibSymbol("\017NameRegistryLib", "\026RegistryPropertyCreate");
355 >        rpc_tvect = FindLibSymbol("\017NameRegistryLib", "\026RegistryPropertyCreate");
356          D(bug("RegistryPropertyCreate TVECT at %08x\n", rpc_tvect));
357          if (rcec_tvect == 0 || rpc_tvect == 0) {
358                  ErrorAlert(GetString(STR_NO_NAME_REGISTRY_ERR));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines