public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25e3e52
)
devmdv: add mdv_csum
author
Alan Cox
<alan@linux.intel.com>
Thu, 9 Apr 2015 09:17:21 +0000
(10:17 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Thu, 9 Apr 2015 09:17:21 +0000
(10:17 +0100)
Just need to build the tree so I can get a map file. The code to actual
compute the csum needs adding for write.
Kernel/platform-zx128/devmdv.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-zx128/devmdv.c
b/Kernel/platform-zx128/devmdv.c
index
8b0f5de
..
e772bbf
100644
(file)
--- a/
Kernel/platform-zx128/devmdv.c
+++ b/
Kernel/platform-zx128/devmdv.c
@@
-17,11
+17,12
@@
static unsigned char mdvmap[MAX_MDV][256];
static uint8_t mdv_valid;
/* Used by the asm helpers */
-uint8_t mdv_sector;
uint8_t *mdv_buf;
uint8_t mdv_hdr_buf[15];
+uint8_t mdv_sector;
uint16_t mdv_len;
uint8_t mdv_page;
+uint8_t mdv_csum;
static uint8_t mdv_tick;
static uint8_t mdv_minor;