citra-emu
/
citra-canary
Archived
1
0
Fork 0

fix comments alignment

This commit is contained in:
Lectem 2016-12-30 15:55:42 +01:00
parent f91c51467a
commit ee6e88fdb5
1 changed files with 22 additions and 22 deletions

View File

@ -62,19 +62,19 @@ union Header {
}; };
/** /**
* @brief Creates a command header to be used for IPC * @brief Creates a command header to be used for IPC
* @param command_id ID of the command to create a header for. * @param command_id ID of the command to create a header for.
* @param normal_params_size Size of the normal parameters in words. Up to 63. * @param normal_params_size Size of the normal parameters in words. Up to 63.
* @param translate_params_size Size of the translate parameters in words. Up to 63. * @param translate_params_size Size of the translate parameters in words. Up to 63.
* @return The created IPC header. * @return The created IPC header.
* *
* Normal parameters are sent directly to the process while the translate parameters might go * Normal parameters are sent directly to the process while the translate parameters might go
* through modifications and checks by the kernel. * through modifications and checks by the kernel.
* The translate parameters are described by headers generated with the IPC::*Desc functions. * The translate parameters are described by headers generated with the IPC::*Desc functions.
* *
* @note While #normal_params_size is equivalent to the number of normal parameters, * @note While #normal_params_size is equivalent to the number of normal parameters,
* #translate_params_size includes the size occupied by the translate parameters headers. * #translate_params_size includes the size occupied by the translate parameters headers.
*/ */
inline u32 MakeHeader(u16 command_id, unsigned int normal_params_size, inline u32 MakeHeader(u16 command_id, unsigned int normal_params_size,
unsigned int translate_params_size) { unsigned int translate_params_size) {
Header header; Header header;
@ -120,15 +120,15 @@ inline u32 StaticBufferDesc(u32 size, u8 buffer_id) {
} }
/** /**
* @brief Creates a header describing a buffer to be sent over PXI. * @brief Creates a header describing a buffer to be sent over PXI.
* @param size Size of the buffer. Max 0x00FFFFFF. * @param size Size of the buffer. Max 0x00FFFFFF.
* @param buffer_id The Id of the buffer. Max 0xF. * @param buffer_id The Id of the buffer. Max 0xF.
* @param is_read_only true if the buffer is read-only. If false, the buffer is considered to have * @param is_read_only true if the buffer is read-only. If false, the buffer is considered to have
* read-write access. * read-write access.
* @return The created PXI buffer header. * @return The created PXI buffer header.
* *
* The next value is a phys-address of a table located in the BASE memregion. * The next value is a phys-address of a table located in the BASE memregion.
*/ */
inline u32 PXIBufferDesc(u32 size, unsigned buffer_id, bool is_read_only) { inline u32 PXIBufferDesc(u32 size, unsigned buffer_id, bool is_read_only) {
u32 type = PXIBuffer; u32 type = PXIBuffer;
if (is_read_only) if (is_read_only)