avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [patch #5245] User mode IO access in WIN32 wiyhout giveio.


From: Joerg Wunsch
Subject: [avrdude-dev] [patch #5245] User mode IO access in WIN32 wiyhout giveio.sys
Date: Fri, 1 Sep 2006 23:04:04 +0200
User-agent: Mozilla/5.0 Galeon/1.2.6 (X11; FreeBSD i386; U;) Gecko/0

Follow-up Comment #3, patch #5245 (project avrdude):

Tried that on a Win2K system using MinGW today.

The suggested procedure didn't work.  enable_user_mode_io()
bailed out with an error in the last function call (the
indirect one), so the attempt to access the IO ports caused
an exception.

The inline asm needs to be written differently for GCC:

asm("movl $0x378, %edx" "\n\t"
    "inb  %dx, %al");

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5245>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]