Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
99779cfb
Commit
99779cfb
authored
Jan 14, 2005
by
Siddharth Aggarwal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sticking to Mike's convention for shd_modinfo
parent
ff96cb1a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
os/shd/shd.c
os/shd/shd.c
+2
-2
os/shd/shdconfig.c
os/shd/shdconfig.c
+1
-1
os/shd/shdvar.h
os/shd/shdvar.h
+2
-2
No files found.
os/shd/shd.c
View file @
99779cfb
...
...
@@ -1411,7 +1411,7 @@ shdioctl(dev, cmd, data, flag, p)
struct
shd_ioctl
*
shio
=
(
struct
shd_ioctl
*
)
data
;
struct
shd_readbuf
*
shread
;
struct
shddevice
shd
;
struct
shd_mod
*
shmod
;
struct
shd_mod
info
*
shmod
;
struct
vnode
*
vp
;
/*#ifdef SHDDEBUG
...
...
@@ -1428,7 +1428,7 @@ shdioctl(dev, cmd, data, flag, p)
switch
(
cmd
)
{
case
SHDGETMODBLOCKS
:
shmod
=
(
struct
shd_mod
*
)
data
;
shmod
=
(
struct
shd_mod
info
*
)
data
;
shmod
->
retsiz
=
get_mod_blocks
(
shmod
->
command
,
shmod
->
buf
,
shmod
->
bufsiz
);
break
;
case
SHDREADBLOCK
:
...
...
os/shd/shdconfig.c
View file @
99779cfb
...
...
@@ -252,7 +252,7 @@ do_single(argc, argv, action, flags)
if
(
strcmp
(
cp
,
"-gm"
)
==
0
)
{
long
buf
[
512
];
struct
shd_mod
mod
;
struct
shd_mod
info
mod
;
mod
.
command
=
1
;
/* To initialize iterator */
mod
.
buf
=
buf
;
mod
.
bufsiz
=
512
;
...
...
os/shd/shdvar.h
View file @
99779cfb
...
...
@@ -29,7 +29,7 @@ struct shd_ioctl {
long
delete_end
;
};
struct
shd_mod
{
struct
shd_mod
info
{
int
command
;
long
*
buf
;
long
bufsiz
;
...
...
@@ -141,5 +141,5 @@ struct shd_softc {
#define SHDDELETECHECKPOINTS _IOWR('S', 26, struct shd_ioctl)
#define SHDREADBLOCK _IOWR('S', 27, struct shd_readbuf)
#define SHDSETREBOOTVERSION _IOWR('S', 28, struct shd_ioctl)
#define SHDGETMODBLOCKS _IOWR('S', 29, struct shd_mod)
#define SHDGETMODBLOCKS _IOWR('S', 29, struct shd_mod
info
)
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