|
|
|
@ -1,9 +1,9 @@ |
|
|
|
|
/*
|
|
|
|
|
* Memory arbiter functions. Allocates bandwith through the |
|
|
|
|
* Memory arbiter functions. Allocates bandwidth through the |
|
|
|
|
* arbiter and sets up arbiter breakpoints. |
|
|
|
|
* |
|
|
|
|
* The algorithm first assigns slots to the clients that has specified |
|
|
|
|
* bandwith (e.g. ethernet) and then the remaining slots are divided |
|
|
|
|
* bandwidth (e.g. ethernet) and then the remaining slots are divided |
|
|
|
|
* on all the active clients. |
|
|
|
|
* |
|
|
|
|
* Copyright (c) 2004, 2005 Axis Communications AB. |
|
|
|
@ -133,8 +133,8 @@ static void crisv32_arbiter_init(void) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int crisv32_arbiter_allocate_bandwith(int client, int region, |
|
|
|
|
unsigned long bandwidth) |
|
|
|
|
int crisv32_arbiter_allocate_bandwidth(int client, int region, |
|
|
|
|
unsigned long bandwidth) |
|
|
|
|
{ |
|
|
|
|
int i; |
|
|
|
|
int total_assigned = 0; |
|
|
|
|