Feature #8595
sys/ccompile.h: add __aligned and __packed
Added by Toomas Soome over 3 years ago.
Updated over 3 years ago.
Estimated time:
(Total: 0.00 h)
Description
As we have few attributes macroed, lets add some more useful ones:
#define aligned(x) __attribute((aligned(x)))
#define packed __attribute((packed))
- 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