Add Microblaze support
Categories
(NSPR :: NSPR, enhancement)
Tracking
(Not tracked)
People
(Reporter: giulio.benetti, Assigned: giulio.benetti)
Details
Attachments
(1 file, 2 obsolete files)
2.57 KB,
patch
|
KaiE
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36
Assignee | ||
Comment 1•5 years ago
|
||
Comment 2•5 years ago
|
||
Hello Guilio, you've filed three bugs, this one, bug 1578364 and bug 1578360.
It seems the size definitions are identical for all architectures. Are these platforms related to each other? How about combining them into a single definition block?
#elif defined(__nios2__) || defined(__nds32__) || defined(__microblaze__)
#if defined(__microblaze__) && defined(__BIG_ENDIAN__)
#define IS_BIG_ENDIAN 1
#undef IS_LITTLE_ENDIAN
#else
#define IS_LITTLE_ENDIAN 1
#undef IS_BIG_ENDIAN
#endif
#define PR_BYTES_PER_BYTE 1
...
#endif
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
(In reply to Kai Engert (:kaie:) from comment #2)
Hello Guilio, you've filed three bugs, this one, bug 1578364 and bug 1578360.
It seems the size definitions are identical for all architectures. Are these platforms related to each other? How about combining them into a single definition block?
You're totally right. I'm going to rework all 3 patches the way you've showed me below.
Thank you for reviewing,
best regards.
Giulio Benetti
#elif defined(__nios2__) || defined(__nds32__) || defined(__microblaze__) #if defined(__microblaze__) && defined(__BIG_ENDIAN__) #define IS_BIG_ENDIAN 1 #undef IS_LITTLE_ENDIAN #else #define IS_LITTLE_ENDIAN 1 #undef IS_BIG_ENDIAN #endif #define PR_BYTES_PER_BYTE 1 ... #endif
Assignee | ||
Comment 4•5 years ago
|
||
Assignee | ||
Comment 5•5 years ago
|
||
Kindly ping.
Comment 7•5 years ago
|
||
Comment on attachment 9091877 [details] [diff] [review] 0002-Bug-1578363-Add-Microblaze-support.patch The attached patch doesn't apply. It looks like some kind of incremental patch. It doesn't even apply on top of the earlier patch in this bug. Please provide a new, single patch, that includes all the pieces that you're suggesting for addition.
Assignee | ||
Comment 8•5 years ago
|
||
(In reply to Kai Engert (:kaie:) from comment #7)
Comment on attachment 9091877 [details] [diff] [review]
0002-Bug-1578363-Add-Microblaze-support.patchThe attached patch doesn't apply. It looks like some kind of incremental
patch.
It doesn't even apply on top of the earlier patch in this bug.Please provide a new, single patch, that includes all the pieces that you're
suggesting for addition.
You're right, sorry for that, I re-post patch starting from master branch of nspr.
Assignee | ||
Comment 9•5 years ago
|
||
(In reply to Giulio Benetti from comment #8)
(In reply to Kai Engert (:kaie:) from comment #7)
Comment on attachment 9091877 [details] [diff] [review]
0002-Bug-1578363-Add-Microblaze-support.patchThe attached patch doesn't apply. It looks like some kind of incremental
patch.
It doesn't even apply on top of the earlier patch in this bug.Please provide a new, single patch, that includes all the pieces that you're
suggesting for addition.You're right, sorry for that, I re-post patch starting from master branch of nspr.
Now I've understood what happened. I wanted to submit 3 incremental patches with 3 different bugs.
Anyway now I attach a unique patch.
Assignee | ||
Comment 10•5 years ago
|
||
Here is cumulative patch to support:
- Nios II
- Nds32
- Microblaze
Kind regards
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Description
•