summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-08-03 16:02:24 +0800
committerBernard Xiong <[email protected]>2015-08-03 16:02:24 +0800
commitabd19b8dd7fac0235c28c5c5e84bc5779d4d0991 (patch)
treefb23b696a4da0f8f4477f82560bdb54b4fd8ac08 /include
parentdb73a31ec8269d26d1e61bc6d7889495d23d7d99 (diff)
[Kernel] More better support for module.
Diffstat (limited to 'include')
-rw-r--r--include/rtdef.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 7127b68802..daa35a1d25 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -892,7 +892,8 @@ enum
RTGRAPHIC_PIXEL_FORMAT_BGR565 = RTGRAPHIC_PIXEL_FORMAT_RGB565P,
RTGRAPHIC_PIXEL_FORMAT_RGB666,
RTGRAPHIC_PIXEL_FORMAT_RGB888,
- RTGRAPHIC_PIXEL_FORMAT_ARGB888
+ RTGRAPHIC_PIXEL_FORMAT_ARGB888,
+ RTGRAPHIC_PIXEL_FORMAT_ABGR888,
};
/**
@@ -965,6 +966,8 @@ struct rt_module
{
struct rt_object parent; /**< inherit from object */
+ rt_uint32_t vstart_addr; /**< VMA base address for the
+ first LOAD segment. */
rt_uint8_t *module_space; /**< module memory space */
void *module_entry; /**< the entry address of module */