• Martin Dorwig's avatar
    Export redesign · 49cad547
    Martin Dorwig authored
    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: 's avatarMartin Dorwig <dorwig@tetronik.com>
    Acked-by: 's avatarSimon Glass <sjg@chromium.org>
    Signed-off-by: 's avatarSimon Glass <sjg@chromium.org>
    (resending to the list since my tweaks are not quite trivial)
    49cad547
Name
Last commit
Last update
..
spl Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
aboot.c Loading commit data...
autoboot.c Loading commit data...
bedbug.c Loading commit data...
board_f.c Loading commit data...
board_info.c Loading commit data...
board_r.c Loading commit data...
bootm.c Loading commit data...
bootm_os.c Loading commit data...
bootretry.c Loading commit data...
bootstage.c Loading commit data...
bouncebuf.c Loading commit data...
cli.c Loading commit data...
cli_hush.c Loading commit data...
cli_readline.c Loading commit data...
cli_simple.c Loading commit data...
cmd_aes.c Loading commit data...
cmd_ambapp.c Loading commit data...
cmd_bdinfo.c Loading commit data...
cmd_bedbug.c Loading commit data...
cmd_blob.c Loading commit data...
cmd_bmp.c Loading commit data...
cmd_boot.c Loading commit data...
cmd_bootldr.c Loading commit data...
cmd_bootm.c Loading commit data...
cmd_bootmenu.c Loading commit data...
cmd_bootstage.c Loading commit data...
cmd_cache.c Loading commit data...
cmd_cbfs.c Loading commit data...
cmd_clk.c Loading commit data...
cmd_console.c Loading commit data...
cmd_cplbinfo.c Loading commit data...
cmd_cramfs.c Loading commit data...
cmd_dataflash_mmc_mux.c Loading commit data...
cmd_date.c Loading commit data...
cmd_dcr.c Loading commit data...
cmd_demo.c Loading commit data...
cmd_dfu.c Loading commit data...
cmd_diag.c Loading commit data...
cmd_disk.c Loading commit data...
cmd_display.c Loading commit data...
cmd_dtt.c Loading commit data...
cmd_echo.c Loading commit data...
cmd_eeprom.c Loading commit data...
cmd_elf.c Loading commit data...
cmd_exit.c Loading commit data...
cmd_ext2.c Loading commit data...
cmd_ext4.c Loading commit data...
cmd_fastboot.c Loading commit data...
cmd_fat.c Loading commit data...
cmd_fdc.c Loading commit data...
cmd_fdt.c Loading commit data...
cmd_fitupd.c Loading commit data...
cmd_flash.c Loading commit data...
cmd_fpga.c Loading commit data...
cmd_fpgad.c Loading commit data...
cmd_fs.c Loading commit data...
cmd_fs_uuid.c Loading commit data...
cmd_fuse.c Loading commit data...
cmd_gettime.c Loading commit data...
cmd_gpio.c Loading commit data...
cmd_gpt.c Loading commit data...
cmd_hash.c Loading commit data...
cmd_help.c Loading commit data...
cmd_i2c.c Loading commit data...
cmd_ide.c Loading commit data...
cmd_immap.c Loading commit data...
cmd_ini.c Loading commit data...
cmd_io.c Loading commit data...
cmd_iotrace.c Loading commit data...
cmd_irq.c Loading commit data...
cmd_itest.c Loading commit data...
cmd_jffs2.c Loading commit data...
cmd_ldrinfo.c Loading commit data...
cmd_led.c Loading commit data...
cmd_license.c Loading commit data...
cmd_load.c Loading commit data...
cmd_log.c Loading commit data...
cmd_lzmadec.c Loading commit data...
cmd_mac.c Loading commit data...
cmd_md5sum.c Loading commit data...
cmd_mdio.c Loading commit data...
cmd_mem.c Loading commit data...
cmd_mfsl.c Loading commit data...
cmd_mii.c Loading commit data...
cmd_misc.c Loading commit data...
cmd_mmc.c Loading commit data...
cmd_mmc_spi.c Loading commit data...
cmd_mp.c Loading commit data...
cmd_mtdparts.c Loading commit data...
cmd_nand.c Loading commit data...
cmd_net.c Loading commit data...
cmd_nvedit.c Loading commit data...
cmd_onenand.c Loading commit data...
cmd_otp.c Loading commit data...
cmd_part.c Loading commit data...
cmd_pci.c Loading commit data...
cmd_pcmcia.c Loading commit data...
cmd_portio.c Loading commit data...
cmd_pxe.c Loading commit data...
cmd_read.c Loading commit data...
cmd_reginfo.c Loading commit data...
cmd_reiser.c Loading commit data...
cmd_sandbox.c Loading commit data...
cmd_sata.c Loading commit data...
cmd_scsi.c Loading commit data...
cmd_setexpr.c Loading commit data...
cmd_sf.c Loading commit data...
cmd_sha1sum.c Loading commit data...
cmd_softswitch.c Loading commit data...
cmd_sound.c Loading commit data...
cmd_source.c Loading commit data...
cmd_spi.c Loading commit data...
cmd_spibootldr.c Loading commit data...
cmd_spl.c Loading commit data...
cmd_strings.c Loading commit data...
cmd_terminal.c Loading commit data...
cmd_test.c Loading commit data...
cmd_thordown.c Loading commit data...
cmd_time.c Loading commit data...
cmd_tpm.c Loading commit data...
cmd_trace.c Loading commit data...
cmd_tsi148.c Loading commit data...
cmd_ubi.c Loading commit data...
cmd_ubifs.c Loading commit data...
cmd_universe.c Loading commit data...
cmd_unzip.c Loading commit data...
cmd_usb.c Loading commit data...
cmd_usb_mass_storage.c Loading commit data...
cmd_version.c Loading commit data...
cmd_ximg.c Loading commit data...
cmd_yaffs2.c Loading commit data...
cmd_zfs.c Loading commit data...
cmd_zip.c Loading commit data...
command.c Loading commit data...
console.c Loading commit data...
cros_ec.c Loading commit data...
ddr_spd.c Loading commit data...
dlmalloc.c Loading commit data...
dlmalloc.src Loading commit data...
edid.c Loading commit data...
env_attr.c Loading commit data...
env_callback.c Loading commit data...
env_common.c Loading commit data...
env_dataflash.c Loading commit data...
env_eeprom.c Loading commit data...
env_embedded.c Loading commit data...
env_fat.c Loading commit data...
env_flags.c Loading commit data...
env_flash.c Loading commit data...
env_mmc.c Loading commit data...
env_nand.c Loading commit data...
env_nowhere.c Loading commit data...
env_nvram.c Loading commit data...
env_onenand.c Loading commit data...
env_remote.c Loading commit data...
env_sf.c Loading commit data...
env_ubi.c Loading commit data...
exports.c Loading commit data...
fb_mmc.c Loading commit data...
fdt_support.c Loading commit data...
flash.c Loading commit data...
hash.c Loading commit data...
hwconfig.c Loading commit data...
image-android.c Loading commit data...
image-fdt.c Loading commit data...
image-fit.c Loading commit data...
image-sig.c Loading commit data...
image.c Loading commit data...
iomux.c Loading commit data...
iotrace.c Loading commit data...
kallsyms.c Loading commit data...
kgdb.c Loading commit data...
kgdb_stubs.c Loading commit data...
lcd.c Loading commit data...
lcd_console.c Loading commit data...
lynxkdi.c Loading commit data...
main.c Loading commit data...
malloc_simple.c Loading commit data...
memsize.c Loading commit data...
menu.c Loading commit data...
miiphyutil.c Loading commit data...
modem.c Loading commit data...
s_record.c Loading commit data...
splash.c Loading commit data...
stdio.c Loading commit data...
system_map.c Loading commit data...
update.c Loading commit data...
usb.c Loading commit data...
usb_hub.c Loading commit data...
usb_kbd.c Loading commit data...
usb_storage.c Loading commit data...
xyzModem.c Loading commit data...