mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[USBOHCI]
- Add alignment check svn path=/branches/usb-bringup-trunk/; revision=55176
This commit is contained in:
@@ -883,6 +883,14 @@ CUSBHardwareDevice::StopController(void)
|
||||
ULONG Control, Reset, Status;
|
||||
ULONG Index, FrameInterval;
|
||||
|
||||
//
|
||||
// alignment check
|
||||
//
|
||||
WRITE_REGISTER_ULONG((PULONG)((PUCHAR)m_Base + OHCI_HCCA_OFFSET, 0xFFFFFFFF);
|
||||
Control = READ_REGISTER_ULONG((PULONG)((PUCHAR)m_Base + OHCI_HCCA_OFFSET));
|
||||
DPRINT1("HcHCCA Alignment %x\n", Control);
|
||||
ASSERT((Control & 0xFFFFFFF0) == 0xFFFFFFF0);
|
||||
|
||||
//
|
||||
// check context
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user