Annotation of wikisrc/projects/project/xen-boot-cleanup.mdwn, revision 1.1

1.1     ! reed        1: [[!template id=project
        !             2: 
        !             3: title="Boot path cleanup to remove #ifdef XEN clutter"
        !             4: 
        !             5: contact="""
        !             6: [port-xen](mailto:port-xen@NetBSD.org)
        !             7: """
        !             8: 
        !             9: mentors="""
        !            10: [Cherry G. Mathew](mailto:cherry@NetBSD.org)
        !            11: """
        !            12: 
        !            13: category="kernel"
        !            14: difficulty="hard"
        !            15: duration="37 hours"
        !            16: 
        !            17: description="""
        !            18: Abstract: 
        !            19: 
        !            20: The NetBSD boot path contains conditional compiled code for XEN. In
        !            21: the interests of moving towards unified pvops kernels, the code can be
        !            22: modified to be conditionally executed at runtime.
        !            23: 
        !            24: Deliverables: 
        !            25: 
        !            26: * Removal of #ifdef conditional code from all source files.
        !            27: * New minor internal API definitions, where required, to encapsulate
        !            28:   platform specific conditional execution.
        !            29: * Performance comparison figures for before and after.
        !            30: * Clear up the API clutter to make way for pvops.
        !            31: 
        !            32: Note: Header files are exempt from #ifdef removal requirement.
        !            33: 
        !            34: Implementation: 
        !            35: 
        !            36: The number of changes required are estimated as follows:
        !            37: 
        !            38:     drone.sorcerer> pwd
        !            39:     /home/sorcerer/src/sys
        !            40:     drone.sorcerer> find . -type f -name '*.[cSs]' -exec grep -H "^#if.* *\\bXEN\\b" '{}' \; | wc -l
        !            41:          222
        !            42:     drone.sorcerer>
        !            43: 
        !            44: The effort required in this task is likely to be highly variable,
        !            45: depending on the case. In some cases, minor API design may be required.
        !            46: 
        !            47: Most of the changes are likely to be mechanical.
        !            48: """
        !            49: 
        !            50: ]]
        !            51: 

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb