SuperH Interfaces Guide(1).pdf
(
273 KB
)
Pobierz
SuperH Interfaces Guide
Paul Mundt
lethal@linux-sh.org
SuperH Interfaces Guide
by Paul Mundt
Copyright © 2008 Paul Mundt
Copyright © 2008 Renesas Technology Corp.
This documentation is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
For more details see the file COPYING in the source distribution of Linux.
Table of Contents
1. Memory Management ...........................................................................................................................1
1.1. SH-4 ............................................................................................................................................1
1.1.1. Store Queue API.............................................................................................................1
1.2. SH-5 ............................................................................................................................................3
1.2.1. TLB Interfaces................................................................................................................3
2. Clock Framework Extensions.............................................................................................................10
clk_set_rate_ex.................................................................................................................................10
3. Machine Specific Interfaces ................................................................................................................11
3.1. mach-dreamcast ........................................................................................................................11
aica_rtc_gettimeofday ............................................................................................................11
aica_rtc_settimeofday.............................................................................................................11
3.2. mach-x3proto ............................................................................................................................12
ilsel_enable .............................................................................................................................12
ilsel_enable_fixed ...................................................................................................................13
ilsel_disable ............................................................................................................................14
4. Busses ....................................................................................................................................................15
4.1. SuperHyway..............................................................................................................................15
superhyway_add_device.........................................................................................................15
superhyway_register_driver....................................................................................................16
superhyway_unregister_driver................................................................................................16
4.2. Maple ........................................................................................................................................17
maple_driver_register .............................................................................................................17
maple_driver_unregister .........................................................................................................18
maple_getcond_callback ........................................................................................................19
maple_add_packet ..................................................................................................................19
maple_add_packet_sleeps ......................................................................................................20
iii
Chapter 1. Memory Management
1.1. SH-4
1.1.1. Store Queue API
sq_flush_range
LINUX
Kernel Hackers ManualApril 2009
Name
sq_flush_range
— Flush (prefetch) a specific SQ range
Synopsis
void
sq_flush_range
(unsigned long
start,
unsigned int
len);
Arguments
start
the store queue address to start flushing from
len
the length to flush
Description
Flushes the store queue cache from
start
to
start
+
len
in a linear fashion.
1
Chapter 1. Memory Management
sq_remap
LINUX
Kernel Hackers ManualApril 2009
Name
sq_remap
— Map a physical address through the Store Queues
Synopsis
unsigned long
sq_remap
(unsigned long
phys,
unsigned int
size,
const char *
name,
unsigned long
flags);
Arguments
phys
Physical address of mapping.
size
Length of mapping.
name
User invoking mapping.
flags
Protection flags.
Description
Remaps the physical address
phys
through the next available store queue address of
size
length.
name
is logged at boot time as well as through the sysfs interface.
sq_unmap
LINUX
2
Plik z chomika:
musli_com
Inne pliki z tego folderu:
3A(1).pdf
(343 KB)
A Closer Look At Ethical Hacking And Hackers(1).pdf
(83 KB)
A Practical Fault Attack on Square and Multiply(1).pdf
(366 KB)
A Primer on Scientific Programming with Python (2009)(1).pdf
(6983 KB)
A+(2).zip
(9992 KB)
Inne foldery tego chomika:
CloudStack
distribution
dsp
electronics
LPI
Zgłoś jeśli
naruszono regulamin