Changeset dabaa83 in mainline for boot/arch/mips32/include


Ignore:
Timestamp:
2019-06-05T06:37:17Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f3f4149
Parents:
77918b0
Message:

Add boot arguments support for Malta

This commit makes it possible to pass console configuration via proper
boot arguemnts instead of having a hardcoded value in the kernel.

Location:
boot/arch/mips32/include/arch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/mips32/include/arch/main.h

    r77918b0 rdabaa83  
    3030#define BOOT_mips32_MAIN_H_
    3131
    32 extern void bootstrap(void);
     32extern void bootstrap(int, char **);
    3333
    3434#endif
  • boot/arch/mips32/include/arch/types.h

    r77918b0 rdabaa83  
    3535#define CPUMAP_MAX_RECORDS         32
    3636#define BOOTINFO_TASK_NAME_BUFLEN  32
     37#define BOOTINFO_BOOTARGS_BUFLEN   256
    3738
    3839typedef struct {
     
    5657        uint32_t cpumap;
    5758        taskmap_t taskmap;
     59        char bootargs[BOOTINFO_BOOTARGS_BUFLEN];
    5860} bootinfo_t;
    5961
Note: See TracChangeset for help on using the changeset viewer.