Changeset 3e828ea in mainline for boot/generic


Ignore:
Timestamp:
2019-09-23T12:49:29Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9be2358
Parents:
9259d20 (diff), 1a4ec93f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiri Svoboda <jiri@…> (2019-09-22 12:49:07)
git-committer:
Jiri Svoboda <jiri@…> (2019-09-23 12:49:29)
Message:

Merge changes from master, especially Meson build

Location:
boot/generic
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • boot/generic/include/align.h

    r9259d20 r3e828ea  
    4949#define ALIGN_UP(s, a)  (((s) + ((a) - 1)) & ~((a) - 1))
    5050
     51/** Check alignment.
     52 *
     53 * @param s Address or size to be checked for alignment.
     54 * @param a Size of alignment, must be a power of 2.
     55 */
     56#define IS_ALIGNED(s, a)  (ALIGN_UP((s), (a)) == (s))
     57
    5158#endif
    5259
  • boot/generic/src/version.c

    r9259d20 r3e828ea  
    3232
    3333static const char *project = "HelenOS bootloader";
    34 static const char *copyright = STRING(COPYRIGHT);
    35 static const char *release = STRING(RELEASE);
    36 static const char *name = STRING(NAME);
     34static const char *copyright = STRING(HELENOS_COPYRIGHT);
     35static const char *release = STRING(HELENOS_RELEASE);
     36static const char *name = STRING(HELENOS_CODENAME);
    3737static const char *arch = STRING(KARCH);
    3838
Note: See TracChangeset for help on using the changeset viewer.