Changeset 850235d in mainline for uspace/lib/c/arch/ia32
- Timestamp:
- 2013-03-10T14:56:21Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 05bab88
- Parents:
- ea906c29 (diff), 2277e03 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/lib/c/arch/ia32
- Files:
-
- 3 edited
-
include/libarch/ddi.h (modified) (6 diffs)
-
src/stacktrace.c (modified) (1 diff)
-
src/tls.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/ia32/include/libarch/ddi.h
rea906c29 r850235d 39 39 #define IO_SPACE_BOUNDARY ((void *) (64 * 1024)) 40 40 41 static inline uint8_t pio_read_8(ioport8_t *port)41 static inline uint8_t arch_pio_read_8(const ioport8_t *port) 42 42 { 43 43 if (port < (ioport8_t *) IO_SPACE_BOUNDARY) { … … 55 55 } 56 56 57 static inline uint16_t pio_read_16(ioport16_t *port)57 static inline uint16_t arch_pio_read_16(const ioport16_t *port) 58 58 { 59 59 if (port < (ioport16_t *) IO_SPACE_BOUNDARY) { … … 71 71 } 72 72 73 static inline uint32_t pio_read_32(ioport32_t *port)73 static inline uint32_t arch_pio_read_32(const ioport32_t *port) 74 74 { 75 75 if (port < (ioport32_t *) IO_SPACE_BOUNDARY) { … … 87 87 } 88 88 89 static inline void pio_write_8(ioport8_t *port, uint8_t val)89 static inline void arch_pio_write_8(ioport8_t *port, uint8_t val) 90 90 { 91 91 if (port < (ioport8_t *) IO_SPACE_BOUNDARY) { … … 98 98 } 99 99 100 static inline void pio_write_16(ioport16_t *port, uint16_t val)100 static inline void arch_pio_write_16(ioport16_t *port, uint16_t val) 101 101 { 102 102 if (port < (ioport16_t *) IO_SPACE_BOUNDARY) { … … 109 109 } 110 110 111 static inline void pio_write_32(ioport32_t *port, uint32_t val)111 static inline void arch_pio_write_32(ioport32_t *port, uint32_t val) 112 112 { 113 113 if (port < (ioport32_t *) IO_SPACE_BOUNDARY) { -
uspace/lib/c/arch/ia32/src/stacktrace.c
rea906c29 r850235d 37 37 #include <libarch/config.h> 38 38 #include <sys/types.h> 39 #include < bool.h>39 #include <stdbool.h> 40 40 #include <stacktrace.h> 41 41 -
uspace/lib/c/arch/ia32/src/tls.c
rea906c29 r850235d 39 39 #include <align.h> 40 40 41 tcb_t * __alloc_tls(void **data, size_t size)41 tcb_t *tls_alloc_arch(void **data, size_t size) 42 42 { 43 43 return tls_alloc_variant_2(data, size); 44 44 } 45 45 46 void __free_tls_arch(tcb_t *tcb, size_t size)46 void tls_free_arch(tcb_t *tcb, size_t size) 47 47 { 48 48 tls_free_variant_2(tcb, size);
Note:
See TracChangeset
for help on using the changeset viewer.
