Removed REAL_FRAGMENT and REAL_CALL, and left just REAL_EXEC (which is
authorMichael Brown <mcb30@etherboot.org>
Wed, 24 May 2006 09:14:44 +0000 (09:14 +0000)
committerMichael Brown <mcb30@etherboot.org>
Wed, 24 May 2006 09:14:44 +0000 (09:14 +0000)
commit3b525385af9287588d22e41c72ecda4432856f05
treebad79f2015035d2b3ab90adcc2ad10b064b05d41
parent77a65075a676d15daf81ad18b984090bbb76d838
Removed REAL_FRAGMENT and REAL_CALL, and left just REAL_EXEC (which is
the only one we actually use).  This allows REAL_EXEC fragments to
contain proper references to constraints (e.g. "%w0"), rather than having
to force the use of specific registers.

Note that the "num_constraints" parameter is now completely obsolete, and
that we can probably reduce the syntax to something like
  __asm__ __volatile__ ( REAL_CODE ( "asm statements" )
                         : output constraints
                         : input constraints
                         : clobber );
which would look much more natural, and avoid the need to always specify
a clobber list.

Add userptr_t to libkir.h, to allow it to at least compile.
src/arch/i386/include/libkir.h
src/arch/i386/include/librm.h