------- Comment #2 from rguenth at gcc dot gnu dot org 2006-04-25 12:49 ------- This is probably a problem with the inline asm constraints. Try removing the __asm__("r0") from the __res variable. Also try simplifying the testcase by storing the result of BIOS_ContainerUsage(1) to memory rather than calling printf.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27308