projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't write to inferior_ptid in gnu-nat.c
[deliverable/binutils-gdb.git]
/
sim
/
m68hc11
/
dv-nvram.c
diff --git
a/sim/m68hc11/dv-nvram.c
b/sim/m68hc11/dv-nvram.c
index 2a82641b7934ee4e6506d21d91e115f65acfca93..705c1203716612aaf4377be87b6b974644665468 100644
(file)
--- a/
sim/m68hc11/dv-nvram.c
+++ b/
sim/m68hc11/dv-nvram.c
@@
-1,5
+1,5
@@
/* dv-nvram.c -- Generic driver for a non volatile ram (battery saved)
/* dv-nvram.c -- Generic driver for a non volatile ram (battery saved)
- Copyright (C) 1999
, 2000, 2007, 2008, 2009
Free Software Foundation, Inc.
+ Copyright (C) 1999
-2020
Free Software Foundation, Inc.
Written by Stephane Carrez (stcarrez@worldnet.fr)
(From a driver model Contributed by Cygnus Solutions.)
Written by Stephane Carrez (stcarrez@worldnet.fr)
(From a driver model Contributed by Cygnus Solutions.)
@@
-186,7
+186,7
@@
attach_nvram_regs (struct hw *me, struct nvram *controller)
case NVRAM_SAVE_MODIFIED:
case NVRAM_SAVE_ALL:
case NVRAM_SAVE_MODIFIED:
case NVRAM_SAVE_ALL:
- controller->data =
(char*)
hw_malloc (me, attach_size);
+ controller->data = hw_malloc (me, attach_size);
if (controller->data == 0)
hw_abort (me, "Not enough memory, try to use the mode 'map'");
if (controller->data == 0)
hw_abort (me, "Not enough memory, try to use the mode 'map'");
This page took
0.025083 seconds
and
4
git commands to generate.