Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
soc:2009:lynusvaz:journal:week9 [2009/07/24 10:50]
lynusvaz
soc:2009:lynusvaz:journal:week9 [2009/07/28 11:28] (current)
lynusvaz
Line 16: Line 16:
         void *ptr;         void *ptr;
         int count;         int count;
-};+  ​};
   #define VAR_STACK( name ) _##name   #define VAR_STACK( name ) _##name
   #define INIT_STACK( name ) { VAR_STACK ( name ), -1 }   #define INIT_STACK( name ) { VAR_STACK ( name ), -1 }
Line 25: Line 25:
   STACK ( my_stack, int, 10);   STACK ( my_stack, int, 10);
 becomes: becomes:
-  typeof ( int ) _my_stack;+  typeof ( int ) _my_stack[10];
   struct gen_stack my_stack = { _my_stack, -1 };;   struct gen_stack my_stack = { _my_stack, -1 };;
 This means that a gen_stack can be passed as a single entity to functions. Also, am using a struct string to store the complete command. This allows me to reduce the size of the system() function slightly. This means that a gen_stack can be passed as a single entity to functions. Also, am using a struct string to store the complete command. This allows me to reduce the size of the system() function slightly.
Line 32: Line 32:
    ​954  ​     0       0     954     3ba bin/​parse.o    ​954  ​     0       0     954     3ba bin/​parse.o
 Sent in the modifications to etherboot-developers today. Sent in the modifications to etherboot-developers today.
 +
 +July 25: Had the weekly meeting today. Things to do for next week: documentation of scripting changes, and sending in the next patch, which is the arithmetic parser. Decided to also start on writing an autoboot script, which will implement the current autoboot procedure, in a script. This could serve as a useful example. Now, an interesting part of the autoboot process is the PXE menu. There are some DHCP settings that need to be checked for that.
 +
 +July 26: Prepared the arithmetic parser for the next patch: [[http://​git.etherboot.org/?​p=people/​lynusvaz/​gpxe.git;​a=commit;​h=dd8fa1717762bf43213ac082355254b0de337833|Arithmetic parser]] Also reading up on the PXE menu.

Navigation

* [[:start|Home]] * [[:about|About our Project]] * [[:download|Download]] * [[:screenshots|Screenshots]] * Documentation * [[:howtos|HowTo Guides]] * [[:appnotes|Application Notes]] * [[:faq:|FAQs]] * [[:doc|General Doc]] * [[:talks|Videos, Talks, and Papers]] * [[:hardwareissues|Hardware Issues]] * [[:mailinglists|Mailing lists]] * [[http://support.etherboot.org/|Bugtracker]] * [[:contributing|Contributing]] * [[:editing_permission|Wiki Edit Permission]] * [[:wiki:syntax|Wiki Syntax]] * [[:contact|Contact]] * [[:relatedlinks|Related Links]] * [[:commerciallinks|Commercial Links]] * [[:acknowledgements|Acknowledgements]] * [[:logos|Logo Art]]

QR Code
QR Code soc:2009:lynusvaz:journal:week9 (generated for current page)