diff options
| author | Xiaotian Wu | 2023-02-06 13:48:50 +0100 |
|---|---|---|
| committer | Michael Brown | 2023-02-06 22:14:17 +0100 |
| commit | 62a1d5c0f5bc52227ba43ccb7924694d661449a2 (patch) | |
| tree | 56b64c5a3faaf931c3876c158b791a872dce083e /src/arch/loong64/include/bits/tcpip.h | |
| parent | [test] Include build architecture in test suite banner (diff) | |
| download | ipxe-62a1d5c0f5bc52227ba43ccb7924694d661449a2.tar.gz ipxe-62a1d5c0f5bc52227ba43ccb7924694d661449a2.tar.xz ipxe-62a1d5c0f5bc52227ba43ccb7924694d661449a2.zip | |
[loong64] Add initial support for LoongArch64
Add support for building a LoongArch64 Linux userspace binary.
Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/loong64/include/bits/tcpip.h')
| -rw-r--r-- | src/arch/loong64/include/bits/tcpip.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/arch/loong64/include/bits/tcpip.h b/src/arch/loong64/include/bits/tcpip.h new file mode 100644 index 000000000..fc3c5b3ff --- /dev/null +++ b/src/arch/loong64/include/bits/tcpip.h @@ -0,0 +1,19 @@ +#ifndef _BITS_TCPIP_H +#define _BITS_TCPIP_H + +/** @file + * + * Transport-network layer interface + * + */ + +FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); + +static inline __attribute__ (( always_inline )) uint16_t +tcpip_continue_chksum ( uint16_t partial, const void *data, size_t len ) { + + /* Not yet optimised */ + return generic_tcpip_continue_chksum ( partial, data, len ); +} + +#endif /* _BITS_TCPIP_H */ |
