summaryrefslogtreecommitdiffstats
path: root/src/include/shared.h
diff options
context:
space:
mode:
authorMichael Brown2005-05-02 18:21:52 +0200
committerMichael Brown2005-05-02 18:21:52 +0200
commit60b82eb5cdfeea33cddc7740a3eb30d41d4192a4 (patch)
tree34883b316032f86d1b200d0ae7680aa3e3156307 /src/include/shared.h
parentCorrect symbol violations reported by "make symcheck" (diff)
downloadipxe-60b82eb5cdfeea33cddc7740a3eb30d41d4192a4.tar.gz
ipxe-60b82eb5cdfeea33cddc7740a3eb30d41d4192a4.tar.xz
ipxe-60b82eb5cdfeea33cddc7740a3eb30d41d4192a4.zip
Moved definition of __shared into compiler.h
Diffstat (limited to 'src/include/shared.h')
-rw-r--r--src/include/shared.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/include/shared.h b/src/include/shared.h
deleted file mode 100644
index 2cad391a6..000000000
--- a/src/include/shared.h
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef SHARED_H
-#define SHARED_H
-
-/*
- * To save space in the binary when multiple-driver images are
- * compiled, uninitialised data areas can be shared between drivers.
- * This will typically be used to share statically-allocated receive
- * and transmit buffers between drivers.
- *
- * Use as e.g.
- *
- * struct {
- * char rx_buf[NUM_RX_BUF][RX_BUF_SIZE];
- * char tx_buf[TX_BUF_SIZE];
- * } my_static_data __shared;
- *
- */
-
-#define __shared __asm__ ( "_shared_bss" );
-
-#endif /* SHARED_H */