Removed unused resource macros

svn-id: r38869
This commit is contained in:
Jordi Vilalta Prat 2009-02-24 22:51:19 +00:00
parent 1dff55f901
commit 936e807ef3

View File

@ -164,13 +164,6 @@ byte *kernel_dereference_bulk_pointer(EngineState *s, reg_t pointer, int entries
** reg_t dereferenciation also assures alignedness of data.
*/
/******************** Resource Macros ********************/
/* Returns the composite resource ID: */
#define RESOURCE_ID(type, number) (number) | ((type) << 11)
#define RESOURCE_NUMBER(resid) ((resid) & 0x7ff)
#define RESOURCE_TYPE(resid) ((resid) >> 11)
int kernel_oops(EngineState *s, const char *file, int line, const char *reason);
/* Halts script execution and informs the user about an internal kernel error or failed assertion
** Parameters: (EngineState *) s: The state to use