Commit 4862a794 authored by Bjorn Astrom's avatar Bjorn Astrom
Browse files

Move ethernet and USB buffers out of frame buffer

parent d61315e4
......@@ -28,12 +28,12 @@ int ethernet_get_backlog();
// FIXME allocate this memory properly
#define TX_BD_LIST_START_ADDRESS 0x03100000
#define RX_BD_LIST_START_ADDRESS 0x03108000
#define TX_FRAME_ADDRESS 0x03110000
#define RX_FRAME_ADDRESS 0x03120000
#define RX_BACKLOG_ADDRESS 0x03200000 // 32 * 2048 space (64 kB)
#define USB_BLOCK_STORAGE_ADDRESS 0x04000000 // FIXME move all of these to a memory table header file
#define TX_BD_LIST_START_ADDRESS 0x0FD00000
#define RX_BD_LIST_START_ADDRESS 0x0FD08000
#define TX_FRAME_ADDRESS 0x0FD10000
#define RX_FRAME_ADDRESS 0x0FD20000
#define RX_BACKLOG_ADDRESS 0x0FE00000 // 32 * 2048 space (64 kB)
#define USB_BLOCK_STORAGE_ADDRESS 0x0FE10000 // FIXME move all of these to a memory table header file
#define RX_FRAME_PAD 4
#define FRAME_SIZE 2048
......
......@@ -36,11 +36,11 @@
`define Z3_RAM_SIZE 32'h10000000 // 256MB for Zorro 3
`define ARM_MEMORY_START 32'h001f0000
`define VIDEOCAP_ADDR 32'h01000000 // ARM_MEMORY_START+0xe0_0000
`define TX_FRAME_ADDRESS 32'h03110000
`define RX_FRAME_ADDRESS 32'h03120000
`define RX_BACKLOG_ADDRESS 32'h03200000
`define TX_FRAME_ADDRESS 32'h0fd10000
`define RX_FRAME_ADDRESS 32'h0fd20000
`define RX_BACKLOG_ADDRESS 32'h0fe00000
`define FRAME_SIZE 24'h2048
`define USB_BLOCK_STORAGE_ADDRESS 32'h04000000
`define USB_BLOCK_STORAGE_ADDRESS 32'h0fe10000
`define C_M00_AXI_TARGET_SLAVE_BASE_ADDR 32'h10000000
`define C_M00_AXI_ID_WIDTH 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment