modular c for system development

13

Upload: others

Post on 18-Mar-2022

3 views

Category:

Documents


0 download

TRANSCRIPT

Introduction – Modular C for

System Development

� Motivation For My Research

� Work

Overview

� Give you an intuitive feel for the problem.� Give you an intuitive feel for the problem.

� Give you an intuitive feel for my idea to fix the problem.

� Make you foam at the mouth with eagerness to read my paper.

Example – Mainframe Storage

Device

Example – Focus on FICON

Interface

FibreChannel

LayerLayer

SB Layer

Hardware Interface

Command Processor Interface

Example – Continued

protos.h shared.h local.h

even_more_fc.cmore_fc.cfc.cint_hand.c sb.c

A Better Approach

FICON Library

A Better Approach

hw_intfc.h fc_intfc.h fc.h sb.h

fc.c sb.chw.c

The Slide To Remember

(a.k.a My Key Idea)Library

<module>_intfc.h <module>.h

<module>.canother_Mod.cexternal_mod.c

Related Work � CMod – A tool written to enforce a modular

programming style in the C programming language

� Saurabh Srivastava, Michael Hicks, and Jeffrey S. Foster

� Modular C – How to Write Reusable and Maintainable � Modular C – How to Write Reusable and Maintainable Code using the C Language

� Robert Strandh

� An Approach to Modular Programming In C

� Sergio A. Velastin

The Next Step

� Modify the CMod project to follow my rules of modularity.

The Slide To Remember

(a.k.a My Key Idea)Library

<module>_intfc.h <module>.h

<module>.canother_Mod.cexternal_mod.c

Christopher A. LynchChristopher A. Lynch

[email protected]