From d59760c920baa04719693df9c553bbf65b55b30b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Thu, 2 May 2013 05:24:16 +0000 Subject: [PATCH] removed setting of _drvbits (does not work anyway) --- BaS_gcc/sources/xhdi_sd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/BaS_gcc/sources/xhdi_sd.c b/BaS_gcc/sources/xhdi_sd.c index f1a17be..6c8cf72 100644 --- a/BaS_gcc/sources/xhdi_sd.c +++ b/BaS_gcc/sources/xhdi_sd.c @@ -34,7 +34,6 @@ static xhdi_call_fun old_vector = NULL; __attribute__((__interrupt__)) xhdi_call_fun xhdi_sd_install(xhdi_call_fun ov) { old_vector = ov; - uint32_t *_drvbits = (uint32_t *) 0x4c2; /* THIS does not work: return (xhdi_call_fun) &xhdi_call; */ __asm__ __volatile__ ( @@ -44,8 +43,6 @@ __attribute__((__interrupt__)) xhdi_call_fun xhdi_sd_install(xhdi_call_fun ov) : [xhdi_call]"g"(xhdi_call) : "d1","memory"); - *_drvbits |= (1 << ('S' - 'A')); - return (xhdi_call_fun) xhdi_call; }