1 |
786 |
skrzyp |
// #========================================================================
|
2 |
|
|
// #
|
3 |
|
|
// # if_buffers.S
|
4 |
|
|
// #
|
5 |
|
|
// # Declare a chunk of 4Kbyte aligned memory for use by bus-mastering
|
6 |
|
|
// # PCI ethernet device.
|
7 |
|
|
// #
|
8 |
|
|
// #========================================================================
|
9 |
|
|
// ####ECOSGPLCOPYRIGHTBEGIN####
|
10 |
|
|
// -------------------------------------------
|
11 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
12 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
13 |
|
|
//
|
14 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
15 |
|
|
// the terms of the GNU General Public License as published by the Free
|
16 |
|
|
// Software Foundation; either version 2 or (at your option) any later
|
17 |
|
|
// version.
|
18 |
|
|
//
|
19 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT
|
20 |
|
|
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
21 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
22 |
|
|
// for more details.
|
23 |
|
|
//
|
24 |
|
|
// You should have received a copy of the GNU General Public License
|
25 |
|
|
// along with eCos; if not, write to the Free Software Foundation, Inc.,
|
26 |
|
|
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
27 |
|
|
//
|
28 |
|
|
// As a special exception, if other files instantiate templates or use
|
29 |
|
|
// macros or inline functions from this file, or you compile this file
|
30 |
|
|
// and link it with other works to produce a work based on this file,
|
31 |
|
|
// this file does not by itself cause the resulting work to be covered by
|
32 |
|
|
// the GNU General Public License. However the source code for this file
|
33 |
|
|
// must still be made available in accordance with section (3) of the GNU
|
34 |
|
|
// General Public License v2.
|
35 |
|
|
//
|
36 |
|
|
// This exception does not invalidate any other reasons why a work based
|
37 |
|
|
// on this file might be covered by the GNU General Public License.
|
38 |
|
|
// -------------------------------------------
|
39 |
|
|
// ####ECOSGPLCOPYRIGHTEND####
|
40 |
|
|
// #========================================================================
|
41 |
|
|
// ######DESCRIPTIONBEGIN####
|
42 |
|
|
// #
|
43 |
|
|
// # Author(s): msalter
|
44 |
|
|
// # Contributors: msalter
|
45 |
|
|
// # Date: 2000-11-03
|
46 |
|
|
// # Purpose:
|
47 |
|
|
// # Description: This file defines a chunk of 2Kbyte aligned memory for use
|
48 |
|
|
// # by bus-mastering PCI ethernet device.
|
49 |
|
|
// #
|
50 |
|
|
// #####DESCRIPTIONEND####
|
51 |
|
|
// #
|
52 |
|
|
// #========================================================================
|
53 |
|
|
|
54 |
|
|
#include "saa9730.h"
|
55 |
|
|
|
56 |
|
|
.bss
|
57 |
|
|
.p2align(11)
|
58 |
|
|
.globl cyg_io_atlas_2kbuffers
|
59 |
|
|
cyg_io_atlas_2kbuffers:
|
60 |
|
|
.rept (SAA9730_RXPKTS_PER_BUFFER + SAA9730_TXPKTS_PER_BUFFER) \
|
61 |
|
|
* SAA9730_BUFFERS * SAA9730_PACKET_SIZE
|
62 |
|
|
.byte 0
|
63 |
|
|
.endr
|