removed setting of _drvbits (does not work anyway)

This commit is contained in:
Markus Fröschle
2013-05-02 05:24:16 +00:00
parent d789ac6a8c
commit 79d2f079aa

View File

@@ -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;
}