Project

General

Profile

Actions

Feature #8595

closed

sys/ccompile.h: add __aligned and __packed

Added by Toomas Soome about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
system data
Start date:
2017-08-31
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

As we have few attributes macroed, lets add some more useful ones:

#define aligned(x) __attribute((aligned(x)))
#define packed __attribute((packed))


Subtasks 2 (0 open2 closed)

Bug #8596: iwn: remove local __packedClosedToomas Soome2017-08-31

Actions
Bug #8597: grub: use __aligned from ccompile.hClosedToomas Soome2017-08-31

Actions
Actions #1

Updated by Electric Monk about 6 years ago

  • Status changed from In Progress to Closed

git commit 5f82aa32fbc5dc2c59bca6ff315f44a4c4c9ea86

commit  5f82aa32fbc5dc2c59bca6ff315f44a4c4c9ea86
Author: Toomas Soome <tsoome@me.com>
Date:   2017-09-21T16:36:51.000Z

    8595 sys/ccompile.h: add __aligned and __packed
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
    Approved by: Dan McDonald <danmcd@joyent.com>
    8596 iwn: remove local __packed
    Reviewed by: Vitaliy Gusev <gusev.vitaliy@icloud.com>
    Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
    Reviewed by: C Fraire <cfraire@me.com>
    Approved by: Dan McDonald <danmcd@joyent.com>
    8597 grub: use __aligned from ccompile.h
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF