ECE497 Listings for Embedded Linux Primer Chapter 7

From eLinux.org
Revision as of 07:21, 25 March 2010 by Yoder (talk | contribs) (Added Listing 7-1)
Jump to: navigation, search


Number Page Caption Listing
7-1 7-4 Simple C Function With Local Variable
int setup_memory_controller(board_info_t *p)
    {
    unsigned int *dram_controller_register = p->dc_reg;
...
7-2 7-4 Linker Command Script-Reset Vector Placement .../board/omap3/beagle/u-boot.lds
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
OUTPUT_ARCH(arm)
ENTRY(_start)
SECTIONS
{
	. = 0x00000000;

	. = ALIGN(4);
	.text	:
	{
		cpu/arm_cortexa8/start.o	(.text)
		*(.text)
	}
}