Implement page fault for lazy loading executables, w/ G
This commit is contained in:
10
tests/devices/src/lib/packed.h
Normal file
10
tests/devices/src/lib/packed.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef __LIB_PACKED_H
|
||||
#define __LIB_PACKED_H
|
||||
|
||||
/* The "packed" attribute, when applied to a structure, prevents
|
||||
GCC from inserting padding bytes between or after structure
|
||||
members. It must be specified at the time of the structure's
|
||||
definition, normally just after the closing brace. */
|
||||
#define PACKED __attribute__ ((packed))
|
||||
|
||||
#endif /* lib/packed.h */
|
||||
Reference in New Issue
Block a user