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

Comparing SheepShaver/src/kpx_cpu/sheepshaver_glue.cpp (file contents):
Revision 1.63 by gbeauche, 2005-06-30T09:09:59Z vs.
Revision 1.65 by gbeauche, 2005-07-03T22:02:01Z

# Line 915 | Line 915 | void emul_ppc(uint32 entry)
915  
916   void TriggerInterrupt(void)
917   {
918 +        idle_resume();
919   #if 0
920    WriteMacInt32(0x16a, ReadMacInt32(0x16a) + 1);
921   #else
# Line 1038 | Line 1039 | void sheepshaver_cpu::execute_native_op(
1039          case NATIVE_VIDEO_DO_DRIVER_IO:
1040                  gpr(3) = (int32)(int16)VideoDoDriverIO(gpr(3), gpr(4), gpr(5), gpr(6), gpr(7));
1041                  break;
1042 +        case NATIVE_ETHER_AO_GET_HWADDR:
1043 +                AO_get_ethernet_address(gpr(3));
1044 +                break;
1045 +        case NATIVE_ETHER_AO_ADD_MULTI:
1046 +                AO_enable_multicast(gpr(3));
1047 +                break;
1048 +        case NATIVE_ETHER_AO_DEL_MULTI:
1049 +                AO_disable_multicast(gpr(3));
1050 +                break;
1051 +        case NATIVE_ETHER_AO_SEND_PACKET:
1052 +                AO_transmit_packet(gpr(3));
1053 +                break;
1054          case NATIVE_ETHER_IRQ:
1055                  EtherIRQ();
1056                  break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines