1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00
Files
u-boot-megous/include
Martin Dorwig 49cad54788 Export redesign
this is an atempt to make the export of functions typesafe.
I replaced the jumptable void ** by a struct (jt_funcs) with function pointers.
The EXPORT_FUNC macro now has 3 fixed parameters and one
variadic parameter
The first is the name of the exported function,
the rest of the parameters are used to format a functionpointer
in the jumptable,

the EXPORT_FUNC macros are expanded three times,
1. to declare the members of the struct
2. to initialize the structmember pointers
3. to call the functions in stubs.c

Signed-off-by: Martin Dorwig <dorwig@tetronik.com>
Acked-by: Simon Glass <sjg@chromium.org>

Signed-off-by: Simon Glass <sjg@chromium.org>
(resending to the list since my tweaks are not quite trivial)
2015-01-29 17:09:57 -07:00
..
2015-01-29 17:09:57 -07:00
2015-01-29 17:09:57 -07:00
2015-01-05 15:13:46 -05:00
2015-01-22 12:34:56 +01:00
2015-01-14 11:35:43 -05:00
2015-01-29 17:09:57 -07:00
2015-01-21 10:25:02 +01:00
2015-01-14 11:37:39 -05:00
2015-01-06 10:10:04 +02:00
2015-01-23 17:24:15 -07:00
2015-01-23 17:24:54 -07:00
2015-01-05 12:08:55 -05:00
2015-01-16 09:32:11 -08:00
2014-12-31 19:10:13 +01:00
2015-01-18 12:31:36 +01:00
2015-01-21 10:25:53 +01:00