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
a0eb8972
Commit
a0eb8972
authored
May 13, 2003
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Convert more structure initialisers to C99 syntax.
parent
70ba5e7c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
15 deletions
+13
-15
include/asm-arm/mach/arch.h
include/asm-arm/mach/arch.h
+13
-15
No files found.
include/asm-arm/mach/arch.h
View file @
a0eb8972
...
...
@@ -54,39 +54,37 @@ struct machine_desc {
#define MACHINE_START(_type,_name) \
const struct machine_desc __mach_desc_##_type \
__attribute__((__section__(".arch.info"))) = { \
nr:
MACH_TYPE_##_type, \
name:
_name,
.nr =
MACH_TYPE_##_type, \
.name =
_name,
#define MAINTAINER(n)
#define BOOT_MEM(_pram,_pio,_vio) \
phys_ram: _pram,
\
phys_io: _pio,
\
io_pg_offst:
((_vio)>>18)&0xfffc,
.phys_ram = _pram,
\
.phys_io = _pio,
\
.io_pg_offst =
((_vio)>>18)&0xfffc,
#define BOOT_PARAMS(_params) \
param_offset:
_params,
.param_offset =
_params,
#define VIDEO(_start,_end) \
video_start: _start,
\
video_end:
_end,
.video_start = _start,
\
.video_end =
_end,
#define DISABLE_PARPORT(_n) \
reserve_lp##_n: 1,
#define BROKEN_HLT
/* unused */
.reserve_lp##_n = 1,
#define SOFT_REBOOT \
soft_reboot:
1,
.soft_reboot =
1,
#define FIXUP(_func) \
fixup:
_func,
.fixup =
_func,
#define MAPIO(_func) \
map_io:
_func,
.map_io =
_func,
#define INITIRQ(_func) \
init_irq:
_func,
.init_irq =
_func,
#define MACHINE_END \
};
...
...
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