RTEMS 7.0-rc1
Loading...
Searching...
No Matches
Macros | Functions
residual.c File Reference

Function used to parse residual data. More...

#include <string.h>
#include <bsp/residual.h>
#include <libcpu/io.h>
#include <libcpu/byteorder.h>

Macros

#define Dev   res->Devices[i].DeviceId
 

Functions

PPC_DEVICEresidual_find_device (RESIDUAL *res, unsigned long BusMask, unsigned char *DevID, int BaseType, int SubType, int Interface, int n)
 
PnP_TAG_PACKETPnP_find_packet (unsigned char *p, unsigned packet_tag, int n)
 
PnP_TAG_PACKETPnP_find_small_vendor_packet (unsigned char *p, unsigned packet_type, int n)
 
PnP_TAG_PACKETPnP_find_large_vendor_packet (unsigned char *p, unsigned packet_type, int n)
 

Detailed Description

Function used to parse residual data.

This code is heavily inspired by the public specification of STREAM V2 that can be found at: