Project

General

Profile

Feature #8595

sys/ccompile.h: add __aligned and __packed

Added by Toomas Soome over 3 years ago. Updated over 3 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:

Description

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

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


Subtasks

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

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

Actions
#1

Updated by Electric Monk over 3 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>

Also available in: Atom PDF