fs_translating_port_proxy.hh (9850:87d6b41749e9) | fs_translating_port_proxy.hh (10564:a8c16e2d466a) |
---|---|
1/* 2 * Copyright (c) 2011 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 75 unchanged lines hidden (view full) --- 84 virtual ~FSTranslatingPortProxy(); 85 86 /** Version of readblob that translates virt->phys and deals 87 * with page boundries. */ 88 virtual void readBlob(Addr addr, uint8_t *p, int size) const; 89 90 /** Version of writeBlob that translates virt->phys and deals 91 * with page boundries. */ | 1/* 2 * Copyright (c) 2011 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 75 unchanged lines hidden (view full) --- 84 virtual ~FSTranslatingPortProxy(); 85 86 /** Version of readblob that translates virt->phys and deals 87 * with page boundries. */ 88 virtual void readBlob(Addr addr, uint8_t *p, int size) const; 89 90 /** Version of writeBlob that translates virt->phys and deals 91 * with page boundries. */ |
92 virtual void writeBlob(Addr addr, uint8_t *p, int size) const; | 92 virtual void writeBlob(Addr addr, const uint8_t *p, int size) const; |
93 94 /** 95 * Fill size bytes starting at addr with byte value val. 96 */ 97 virtual void memsetBlob(Addr address, uint8_t v, int size) const; 98}; 99 100void CopyOut(ThreadContext *tc, void *dest, Addr src, size_t cplen); | 93 94 /** 95 * Fill size bytes starting at addr with byte value val. 96 */ 97 virtual void memsetBlob(Addr address, uint8_t v, int size) const; 98}; 99 100void CopyOut(ThreadContext *tc, void *dest, Addr src, size_t cplen); |
101void CopyIn(ThreadContext *tc, Addr dest, void *source, size_t cplen); | 101void CopyIn(ThreadContext *tc, Addr dest, const void *source, size_t cplen); |
102void CopyStringOut(ThreadContext *tc, char *dst, Addr vaddr, size_t maxlen); | 102void CopyStringOut(ThreadContext *tc, char *dst, Addr vaddr, size_t maxlen); |
103void CopyStringIn(ThreadContext *tc, char *src, Addr vaddr); | 103void CopyStringIn(ThreadContext *tc, const char *src, Addr vaddr); |
104 105#endif //__MEM_FS_PORT_PROXY_HH__ | 104 105#endif //__MEM_FS_PORT_PROXY_HH__ |