Giter Club home page Giter Club logo

c_section_playground's Introduction

C section playground

A playground using to have fun with c section
YEEEEEEEEE!

Directories

initcall/ -> initcalls using section

kernel_initcall/ -> the kernel initcall system

tests/    -> store temporary testing files

Build

cd kernel_initcall
make
# or
make dump

./test.out

early, 0xe01420
        fn addr : 0xe01420 + (-920) = 0xe01088
        0xe01088, test_early_init, i'm calling ...


0, pure, 0xe01424
        fn addr : 0xe01424 + (-882) = 0xe010b2
        0xe010b2, test_pure_init, i'm calling ...


1, core, 0xe01428
        fn addr : 0xe01428 + (-844) = 0xe010dc
        0xe010dc, test_core_init, i'm calling ...


2, postcore, 0xe0142c
        fn addr : 0xe0142c + (-806) = 0xe01106
        0xe01106, test_postcore_init, i'm calling ...


3, arch, 0xe01430
        fn addr : 0xe01430 + (-768) = 0xe01130
        0xe01130, test_arch_init,  i'm calling ...


4, subsys, 0xe01434
        fn addr : 0xe01434 + (-730) = 0xe0115a
        0xe0115a, test_subsys_init,  i'm calling ...


5, fs, 0xe01438
        fn addr : 0xe01438 + (-692) = 0xe01184
        0xe01184, test_fs_init,  i'm calling ...


6, device, 0xe0143c
        fn addr : 0xe0143c + (-654) = 0xe011ae
        0xe011ae, test_device_init,  i'm calling ...

        fn addr : 0xe01440 + (-616) = 0xe011d8
        0xe011d8, test_module_init, i'm calling ...


7, late, 0xe01444
        fn addr : 0xe01444 + (-578) = 0xe01202
        0xe01202, test_late_init, i'm calling ...

c_section_playground's People

Contributors

iotahydrae avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.