Hello,
I'm new to the list. Maybee this is a stupid question, anyway:
I've made a new projekt called up3. Acording to the documents I 've made
a simple conf-file called up3.conf. The configuration with the python
file looked good. After that I called make. A few symbols were missing.
I discovered that macros that are defined in thte file
$(FREEBIOS)/src/include/intel.h are strangly expanded. The macro
PCI_WRITE_CONF_BYTE is a list of assembler instructions that must be
separated by newline char (\n). When this macro is used the substitution
deletes all the newline chars. Only the first instruction is valid the
rest is considered as comment.
Example:
Intel.h:
----
#define PCI_WRITE_CONF_BYTE \
inst1 ; \
inst2 ; \
inst3 ; \
inst4 ; \
..
crt0.S
-----
assemblerInst1 ;
PCI_WRITE_CONF_BYTE ; Macro
assemblerInst2 ;
..
The following shell commang is made by the generated makefile
gcc -E crt0.S > crt0.s
crt0.s
------
assemblerInst1 ;
instr1 ; inst2 ; instr3 ; ...
assemblerInst2 ;
Is there a bug in the freebios-package or is some more configuration
needed...
Please help.
TIA
Matthias