Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

More PowerMac changes



I forgot to copy part of the DDB goop, and I got tired of the page size
warning.

Still need to make the boot program load symbols.


*** machdep.c~  Sat Feb 21 19:27:18 1998
--- machdep.c   Tue Feb 24 03:39:26 1998
***************
*** 107,110 ****
--- 107,114 ----
        extern tlbdlmiss, tlbdlmsize;
        extern tlbdsmiss, tlbdsmsize;
+ #ifdef DDB
+       extern ddblow, ddbsize; 
+       extern void *startsym, *endsym;
+ #endif
  #if NIPKDB > 0
        extern ipkdblow, ipkdbsize;
***************
*** 195,205 ****
                        bcopy(&tlbdsmiss, (void *)EXC_DSMISS, 
(size_t)&tlbdsmsize);
                        break;
! #if NIPKDB > 0
                case EXC_PGM:
                case EXC_TRC:
                case EXC_BPT:
                        bcopy(&ipkdblow, (void *)exc, (size_t)&ipkdbsize);
-                       break;
  #endif
                }
  
--- 199,213 ----
                        bcopy(&tlbdsmiss, (void *)EXC_DSMISS, 
(size_t)&tlbdsmsize);
                        break;
! #if defined(DDB) || NIPKDB > 0
                case EXC_PGM:
                case EXC_TRC:
                case EXC_BPT:
+ #if defined(DDB)
+                       bcopy(&ddblow, (void *)exc, (size_t)&ddbsize);
+ #else
                        bcopy(&ipkdblow, (void *)exc, (size_t)&ipkdbsize);
  #endif
+                       break;
+ #endif /* DDB || NIPKDB > 0 */
                }
  
***************
*** 239,242 ****
--- 247,253 ----
        }                       
  
+ #ifdef DDB
+       /* ddb_init(startsym, endsym); */
+ #endif          
  #if NIPKDB > 0
        /*
***************
*** 248,251 ****
--- 259,267 ----
  #endif
  
+       /*              
+        * Set the page size.
+        */             
+       vm_set_page_size();
+                 
        /*
         * Initialize pmap module.



Home | Main Index | Thread Index | Old Index