浏览代码

let user choose PERIODIC_LIST_SIZE

main
Frank 8 年前
父节点
当前提交
52ad568b07
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      ehci.cpp

+ 4
- 0
ehci.cpp 查看文件

// slowest rate we can poll interrupt endpoints. Each entry uses // slowest rate we can poll interrupt endpoints. Each entry uses
// 12 bytes (4 for a pointer, 8 for bandwidth management). // 12 bytes (4 for a pointer, 8 for bandwidth management).
// Supported values: 8, 16, 32, 64, 128, 256, 512, 1024 // Supported values: 8, 16, 32, 64, 128, 256, 512, 1024
#if defined(USBHS_PERIODIC_LIST_SIZE)
#define PERIODIC_LIST_SIZE (USBHS_PERIODIC_LIST_SIZE)
#else
#define PERIODIC_LIST_SIZE 32 #define PERIODIC_LIST_SIZE 32
#endif


// The EHCI periodic schedule, used for interrupt pipes/endpoints // The EHCI periodic schedule, used for interrupt pipes/endpoints
static uint32_t periodictable[PERIODIC_LIST_SIZE] __attribute__ ((aligned(4096), used)); static uint32_t periodictable[PERIODIC_LIST_SIZE] __attribute__ ((aligned(4096), used));

正在加载...
取消
保存