X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=test_src%2Fdump-asm.S;h=9c8aeef82a6f32a7f6a1f32e9af7d2d6f740bd80;hb=e9e07569721b9e005d6b602e26a03e930e796577;hp=f38b48ae9fc2f5f267cec4f83a21b87e42de8329;hpb=52ec168ece9d61bd9cb652235dfe8faee6232a11;p=avr-crypto-lib.git diff --git a/test_src/dump-asm.S b/test_src/dump-asm.S index f38b48a..9c8aeef 100644 --- a/test_src/dump-asm.S +++ b/test_src/dump-asm.S @@ -1,7 +1,7 @@ /* dump-asm.S */ /* This file is part of the AVR-Huffman. - Copyright (C) 2009 Daniel Otte (daniel.otte@rub.de) + Copyright (C) 2006-2015 Daniel Otte (bg@nerilex.org) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -43,7 +43,7 @@ charisinstr_P: ret /******************************************************************************/ -/* void dump_chars(uint8_t* buffer, uint8_t len) +/* void dump_chars(uint8_t *buffer, uint8_t len) * param buffer: r24:r25 * param len: r22 */ @@ -130,7 +130,7 @@ print_aligned: ret /*****************************************************************************/ - /* void dump(char* s) + /* void dump(char *s) * param s: r24:r25 */ @@ -354,7 +354,7 @@ suffix: .byte 0 /******************************************************************************/ -/* void pgm_read_block(void* buffer, uint32_t addr, uint8_t length) +/* void pgm_read_block(void *buffer, uint32_t addr, uint8_t length) * param buffer: r24:r25 * param addr: r20:r23 * param length: r18 @@ -390,7 +390,7 @@ pgm_read_block: #endif /******************************************************************************/ -/* void ram_read_block(void* buffer, uint32_t addr, uint8_t length) +/* void ram_read_block(void *buffer, uint32_t addr, uint8_t length) * param buffer: r24:r25 * param addr: r20:r23 * param length: r18 @@ -410,11 +410,15 @@ ram_read_block: ret /******************************************************************************/ -/* void ee_read_block(void* buffer, uint32_t addr, uint8_t length) +/* void ee_read_block(void *buffer, uint32_t addr, uint8_t length) * param buffer: r24:r25 * param addr: r20:r23 * param length: r18 */ +#ifdef EEWE +# define EEPE EEWE +#endif + .global ee_read_block ee_read_block: movw r26, r24