07-17-2020, 12:33 PM
(This post was last modified: 07-19-2020, 07:35 AM by andrey-iki.)
wish i could call smth for basic debug (to know if function called or not), like SpeakerBeep for ex., but N73 lacks onboard beeper
+ later: acually, there's FixedDelay (requires only imm32 put into ecxbefore call) - quite usable with noticable delays (5s+)
looks like we need to get to CreateBbsEntry:
+ later: acually, there's FixedDelay (requires only imm32 put into ecxbefore call) - quite usable with noticable delays (5s+)
looks like we need to get to CreateBbsEntry:
Code:
USBAPI_Start - invoked via software SMI (system management interrupt), USBRT
USB_StartHostControllers // for(bDriverIndex=0; bDriverIndex<gUsbData->max_hc
USB_EnumerateRootHubPorts // for(Index = 0; Index < gUsbData->bHCInitialized
(func-ptr pfnHCDEnumeratePorts) EHCI_EnumeratePorts // for(bPortNum=1; bPortNum<=fpHCStruc->bNumPorts
USBCheckPortChange
USB_GetHubPortStatus
USB_ResetHubPort
USB_EnableHubPort
USB_DisconnectDevice
USB_DisableHubPort(fpHCStruc, hubAddr, portNum);
USB_DetectNewDevice
USB_MemAlloc
USB_MemFree
SpeakerBeep
USB_GetDescriptor
USB_InitDeviceDataDummy
USBIdentifyAndConfigureDevice
USBCheckNonCompliantDevice
OEMSkipList
USB_ConfigureDevice - sets func-ptr for configuring dev
(func-ptr) USBMassCheckForStorageDevice
CheckDeviceLimit
USB_SmiQueuePut
USBLogError
USB_DisableHubPort
AmiUsbDriverEntryPoint - UHCD module EP
UsbMassInit
UsbMassStart - called by handler set by InstallMultipleProtocolInterfaces in UsbMassInit
InstallUSBMass
UsbInstallLegacyDevice
UnlockShadow
CreateBbsEntry // <- TARGET, ?not reached?
InsertBbsEntryAt
UsbUninstallLegacyDevice
UsbInt13EntryPoint - USBINT13 module EP
UsbInstallLegacyDevice
CreateBbsEntry // <- TARGET, ?not reached?