Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
6da97790
Commit
6da97790
authored
Jun 17, 2003
by
Miles Bader
Committed by
Linus Torvalds
Jun 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Add __raw_ read/write ops to v850 io.h
parent
99782bcc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
include/asm-v850/io.h
include/asm-v850/io.h
+9
-2
No files found.
include/asm-v850/io.h
View file @
6da97790
/*
/*
* include/asm-v850/io.h -- Misc I/O operations
* include/asm-v850/io.h -- Misc I/O operations
*
*
* Copyright (C) 2001,02
NEC
Corporation
* Copyright (C) 2001,02
,03 NEC Electronics
Corporation
* Copyright (C) 2001,02 Miles Bader <miles@gnu.org>
* Copyright (C) 2001,02
,03
Miles Bader <miles@gnu.org>
*
*
* This file is subject to the terms and conditions of the GNU General
* This file is subject to the terms and conditions of the GNU General
* Public License. See the file COPYING in the main directory of this
* Public License. See the file COPYING in the main directory of this
...
@@ -30,6 +30,13 @@
...
@@ -30,6 +30,13 @@
#define writel(b, addr) \
#define writel(b, addr) \
(void)((*(volatile unsigned int *) (addr)) = (b))
(void)((*(volatile unsigned int *) (addr)) = (b))
#define __raw_readb readb
#define __raw_readw readw
#define __raw_readl readl
#define __raw_writeb writeb
#define __raw_writew writew
#define __raw_writel writel
#define inb(addr) readb (addr)
#define inb(addr) readb (addr)
#define inw(addr) readw (addr)
#define inw(addr) readw (addr)
#define inl(addr) readl (addr)
#define inl(addr) readl (addr)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment