Added QR code generator as system function 78
This commit is contained in:
@@ -284,7 +284,7 @@ MEM_AMOUNT = OS_BASE + 0x000FE8C
|
|||||||
SYS_SHUTDOWN = OS_BASE + 0x000FF00
|
SYS_SHUTDOWN = OS_BASE + 0x000FF00
|
||||||
|
|
||||||
|
|
||||||
TMP_STACK_TOP = 0x008CC00
|
TMP_STACK_TOP = 0x0096F00
|
||||||
|
|
||||||
sys_proc = OS_BASE + 0x008E000
|
sys_proc = OS_BASE + 0x008E000
|
||||||
|
|
||||||
|
@@ -175,7 +175,7 @@ iglobal
|
|||||||
dd sys_socket ; 75-reserved for new stack
|
dd sys_socket ; 75-reserved for new stack
|
||||||
dd sys_protocols ; 76-reserved for new stack
|
dd sys_protocols ; 76-reserved for new stack
|
||||||
dd sys_posix ; posix support
|
dd sys_posix ; posix support
|
||||||
dd undefined_syscall ; 78-free
|
dd syscall_qrcode ; 78-QR code
|
||||||
dd undefined_syscall ; 79-free
|
dd undefined_syscall ; 79-free
|
||||||
dd sys_fileSystemUnicode ; 80-File system interface for different encodings
|
dd sys_fileSystemUnicode ; 80-File system interface for different encodings
|
||||||
|
|
||||||
|
@@ -4430,6 +4430,8 @@ sys_apm:
|
|||||||
ret
|
ret
|
||||||
; -----------------------------------------
|
; -----------------------------------------
|
||||||
|
|
||||||
|
include 'qrcode.inc'
|
||||||
|
|
||||||
align 4
|
align 4
|
||||||
undefined_syscall: ; Undefined system call
|
undefined_syscall: ; Undefined system call
|
||||||
mov [esp + SYSCALL_STACK.eax], -1
|
mov [esp + SYSCALL_STACK.eax], -1
|
||||||
|
2153
kernel/trunk/qrcode.inc
Normal file
2153
kernel/trunk/qrcode.inc
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user