|
Help me understand iPXE code
|
|
2013-05-15, 11:24
Post: #1
|
|||
|
|||
|
Help me understand iPXE code
In main.c, it calls initialize() and startup(). Inside each of these functions, it loops through table that contains the registered functions and calls them:
Code: void startup ( void ) {I don't know where the registered functions are. STARTUP_FNS: Code: #define STARTUP_FNS __table ( struct startup_fn, "startup_fns" )__table: Code: #define __table( type, name ) ( type, name )__table is the end of what I can look into. The comment says that it "Declare a linker table". But how can it get the functions? Please help. I really want to understand. Thanks. |
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
Help me understand iPXE code - Rickert - 2013-05-15 11:24
RE: Help me understand iPXE code - mcb30 - 2013-05-15, 23:45
RE: Help me understand iPXE code - Rickert - 2013-05-16, 08:34
RE: Help me understand iPXE code - mcb30 - 2013-05-16, 10:09
RE: Help me understand iPXE code - Rickert - 2013-05-17, 08:33
RE: Help me understand iPXE code - mcb30 - 2013-05-20, 07:00
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



