Skip to contentSkip to conversation

Missing symbols in pSOS emulation

PATCH Applied [email protected] 2 participants 2 messages Mar 28, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Missing symbols in pSOS emulation

Hello list,

This patch fixes build errors of Xenomai/SOLO pSOS emulation due to missing symbols.

Regards,
-jserv

psos/pt.c +2 -0
index 4e42a76..69d41dd 100644
@@ -44,6 +44,8 @@ pt->bitmap[((n) / (sizeof(u_long) * 8))]
 #define pt_bitmap_tstbit(pt,n) \
 (pt_bitmap_pos(pt,n) & pt_block_pos(n))
 
+struct hash_table psos_pt_table;
+
 static struct psos_pt *get_pt_from_id(u_long ptid, int *err_r)
 {
        struct psos_pt *pt = (struct psos_pt *)ptid;
psos/rn.c +2 -0
index efe9e27..62529c2 100644
@@ -29,6 +29,8 @@
 
 #define rn_magic       0x8181efef
 
+struct hash_table psos_rn_table;
+
 static struct psos_rn *get_rn_from_id(u_long rnid, int *err_r)
 {
        struct psos_rn *rn = (struct psos_rn *)rn;
#1 lore raw
Quoted 27 lines · [email protected] wrote:

Hello list,

This patch fixes build errors of Xenomai/SOLO pSOS emulation due to missing symbols.

Regards,

(quoted diff) +0 -1
-jserv
psos/pt.c +2 -0
index 4e42a76..69d41dd 100644
@@ -44,6 +44,8 @@ pt->bitmap[((n) / (sizeof(u_long) * 8))]
 #define pt_bitmap_tstbit(pt,n) \
 (pt_bitmap_pos(pt,n) & pt_block_pos(n))
 
+struct hash_table psos_pt_table;
+
 static struct psos_pt *get_pt_from_id(u_long ptid, int *err_r)
 {
        struct psos_pt *pt = (struct psos_pt *)ptid;
psos/rn.c +0 -0
index efe9e27..62529c2 100644

psos/rn.c line 36

Quoted 8 lines
psos/rn.c +2 -0
@@ -29,6 +29,8 @@
 
 #define rn_magic       0x8181efef
 
+struct hash_table psos_rn_table;
+
 static struct psos_rn *get_rn_from_id(u_long rnid, int *err_r)
 {
        struct psos_rn *rn = (struct psos_rn *)rn;

Merged, thanks.

Signature · 1 line
Philippe.