Subversion Repositories HelenOS

Rev

Rev 3929 | Rev 4018 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3929 Rev 3949
Line 46... Line 46...
46
{
46
{
47
}
47
}
48
 
48
 
49
static inline void pio_write_8(ioport8_t *port, uint8_t v)
49
static inline void pio_write_8(ioport8_t *port, uint8_t v)
50
{
50
{
-
 
51
    *port = v;
-
 
52
}
-
 
53
 
-
 
54
static inline void pio_write_16(ioport16_t *port, uint16_t v)
-
 
55
{
51
    /* XXX */
56
    *port = v;
-
 
57
}
-
 
58
 
-
 
59
static inline void pio_write_32(ioport32_t *port, uint32_t v)
-
 
60
{
-
 
61
    *port = v;
52
}
62
}
53
 
63
 
54
static inline uint8_t pio_read_8(ioport8_t *port)
64
static inline uint8_t pio_read_8(ioport8_t *port)
55
{
65
{
56
    return 0;   /* XXX */
66
    return *port;
-
 
67
}
-
 
68
 
-
 
69
static inline uint16_t pio_read_16(ioport16_t *port)
-
 
70
{
-
 
71
    return *port;
-
 
72
}
-
 
73
 
-
 
74
static inline uint32_t pio_read_32(ioport32_t *port)
-
 
75
{
-
 
76
    return *port;
57
}
77
}
58
 
78
 
59
/** Return base address of current stack.
79
/** Return base address of current stack.
60
 *
80
 *
61
 * Return the base address of the current stack.
81
 * Return the base address of the current stack.